Commit 6c91b7d6 authored by André Kerkhoff's avatar André Kerkhoff
Browse files

When using short URLs redirect /foswiki/bin to /bin permanently

parent a8f66abe
......@@ -3,7 +3,7 @@ maintainer 'HPC'
maintainer_email ''
license 'All rights reserved'
description 'Installs/Configures Foswiki'
version '2.0.4'
version '2.0.5'
depends 'apache2', '< 6.0'
supports 'debian'
supports 'ubuntu'
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment