Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide the asset part of the URL #4

Open
onierstrasz opened this issue Jul 28, 2022 · 1 comment
Open

Hide the asset part of the URL #4

onierstrasz opened this issue Jul 28, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@onierstrasz
Copy link
Collaborator

No description provided.

@onierstrasz onierstrasz added the enhancement New feature or request label Jul 28, 2022
@onierstrasz onierstrasz moved this to Todo in scgweb Jul 28, 2022
@onierstrasz
Copy link
Collaborator Author

... Is it possible to hide the asset part of urls?
Tried with apache rewrites, but not working.

		RewriteRule ^/assets/scgbib(.*) /scgbib$1 [R=permanent]
		RewriteRule ^/assets/archive(.*) /assets/archive$1 [R=permanent]
		RewriteRule ^/assets/download(.*) /assets/download$1 [R=permanent]
		RewriteRule ^/assets/files(.*) /assets/files$1 [R=permanent]

		RewriteRule ^/scgbib(.*) /assets/scgbib$1 [proxy,last]
		RewriteRule ^/archive(.*) /assets/archive$1 [proxy,last]
		RewriteRule ^/download(.*) /assets/download$1 [proxy,last]
		RewriteRule ^/files(.*) /assets/files$1 [proxy,last]

Ask PB ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant