[SCM] Debian packaging of libhtml-mason-perl branch, master, updated. debian/1%1.46-1-9-g1be3c96
Florian Schlichting
fschlich at zedat.fu-berlin.de
Sun Nov 13 02:08:47 UTC 2011
The following commit has been merged in the master branch:
commit cda2e0d84c7942cf3186efc83850e6578323393c
Author: Florian Schlichting <fschlich at zedat.fu-berlin.de>
Date: Fri Nov 11 23:04:05 2011 +0000
remove apache1 config
diff --git a/debian/mason_example.conf b/debian/mason_example.conf
deleted file mode 100644
index 697b010..0000000
--- a/debian/mason_example.conf
+++ /dev/null
@@ -1,49 +0,0 @@
-# This -*- Apache -*- configuration enables the example Mason components in /var/www/mason_example
-
-<IfModule mod_perl.c>
-
- # We have mod_perl available
- PerlModule CGI
- PerlModule CGI::Cookie
- <Directory /var/www/mason_example>
- SetHandler perl-script
- PerlHandler HTML::Mason::ApacheHandler
- # We use the CGI args_method to stop this crashing if
- # libapache-request-perl is not installed
-
- PerlSetVar MasonArgsMethod CGI
- # If you have install libapache-request-perl, you can delete the above line.
- # You should also replace the above two "PerlModule CGI" lines with
- # PerlModule Apache::Request
- </Directory>
-
- # This chunk allows concurrent use with mod_perl *or* CGI:
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteRule ^/mason_example_cgi/$ /usr/lib/cgi-bin/mason_example.cgi [E=PATH_INFO:/mason_example/index.html,T=application/x-httpd-cgi]
- RewriteRule ^/mason_example_cgi/(.+)/$ /usr/lib/cgi-bin/mason_example.cgi [E=PATH_INFO:/mason_example/$1/index.html,T=application/x-httpd-cgi]
- RewriteRule ^/mason_example_cgi/(.+) /usr/lib/cgi-bin/mason_example.cgi [E=PATH_INFO:/mason_example/$1,T=application/x-httpd-cgi]
- </IfModule>
- # And so http://localhost/mason_example/ uses mod_perl, and
- # http://localhost/mason_example_cgi/ uses CGI
- # This is *not* the way you would normally use mason-with-cgi, see below for an easier way!
-</IfModule>
-
-<IfModule !mod_perl.c>
-
- # No mod_perl available, just use CGI
- # We need wither mod_actions or mod_rewrite enabled to do this. What
- # to do if the user has neither enabled?
- # (in any case, don't present the user with a broken config)
- <IfModule mod_actions.c>
- Action mason_example http://localhost/cgi-bin/mason_example.cgi
- <Directory /var/www/mason_example>
- SetHandler mason_example
- </Directory>
- </IfModule>
- # mod_actions.c
-
-</IfModule>
-# !mod_perl.c
-
-# 2004-03-04 araqnid
--
Debian packaging of libhtml-mason-perl
More information about the Pkg-perl-cvs-commits
mailing list