Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CHEF
cookbooks
foswiki
Commits
841fb300
Commit
841fb300
authored
Nov 06, 2020
by
André Kerkhoff
Browse files
Redirect /foswiki/pub to /pub when using short URLs
parent
7d91f3c7
Changes
1
Show whitespace changes
Inline
Side-by-side
templates/web_app.conf.erb
View file @
841fb300
...
...
@@ -59,6 +59,7 @@
Redirect permanent /cgi-bin https://
<%=
@params
[
:server_name
]
%>
/bin
Redirect permanent /foswiki/bin https://
<%=
@params
[
:server_name
]
%>
/bin
Redirect permanent /foswiki/cgi-bin https://
<%=
@params
[
:server_name
]
%>
/bin
Redirect permanent /foswiki/pub https://
<%=
@params
[
:server_name
]
%>
/pub
# Shortest URLs block access to the Apache standard error documents. The following alias will
# restore access to these error messages. The actual location may vary by OS distribution.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment