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
6c91b7d6
Commit
6c91b7d6
authored
Aug 26, 2020
by
André Kerkhoff
Browse files
When using short URLs redirect /foswiki/bin to /bin permanently
parent
a8f66abe
Changes
2
Hide whitespace changes
Inline
Side-by-side
metadata.rb
View file @
6c91b7d6
...
...
@@ -3,7 +3,7 @@ maintainer 'HPC'
maintainer_email
'hpc@gsi.de'
license
'All rights reserved'
description
'Installs/Configures Foswiki'
version
'2.0.
4
'
version
'2.0.
5
'
depends
'apache2'
,
'< 6.0'
supports
'debian'
supports
'ubuntu'
templates/web_app.conf.erb
View file @
6c91b7d6
...
...
@@ -56,6 +56,8 @@
RewriteEngine on
<%
if
@params
[
:use_short_urls
]
-%>
Redirect permanent /foswiki/bin https://
<%=
@params
[
:server_name
]
%>
/bin
# 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.
# This may need to be tailored depending upon location of the Apache error documents. Below
...
...
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