Commit 149c9a04 authored by André Kerkhoff's avatar André Kerkhoff
Browse files

Redirect /cgi-bin in apache when using short URLs

parent ffb9fcd6
......@@ -3,7 +3,7 @@ maintainer 'HPC'
maintainer_email 'hpc@gsi.de'
license 'All rights reserved'
description 'Installs/Configures Foswiki'
version '2.2.0'
version '2.2.1'
depends 'apache2', '< 6.0'
supports 'debian'
supports 'ubuntu'
......@@ -56,7 +56,9 @@
RewriteEngine on
<% if @params[:use_short_urls] -%>
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
# 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.
......
Supports Markdown
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