summaryrefslogtreecommitdiff
path: root/apache/access-nophp.conf
diff options
context:
space:
mode:
Diffstat (limited to 'apache/access-nophp.conf')
-rw-r--r--apache/access-nophp.conf79
1 files changed, 79 insertions, 0 deletions
diff --git a/apache/access-nophp.conf b/apache/access-nophp.conf
new file mode 100644
index 0000000..891315a
--- /dev/null
+++ b/apache/access-nophp.conf
@@ -0,0 +1,79 @@
+<Directory /var/www/VIRTUAL/*>
+ order deny,allow
+ deny from all
+ </Directory>
+<Directory /var/www/*/*/www>
+ AuthPAM_Enabled On
+# Options Indexes FollowSymLinks MultiViews ExecCGI
+ Options All -ExecCGI
+ AllowOverride All
+ order allow,deny
+ allow from all
+ </Directory>
+<Directory /var/www/COMMON/user-admin>
+ AuthPAM_Enabled On
+# Options Indexes FollowSymLinks MultiViews ExecCGI
+ Options All -ExecCGI
+ AllowOverride All
+ order allow,deny
+ allow from all
+ </Directory>
+<Directory /var/www/COMMON/ErrorDocument>
+ Options Indexes FollowSymLinks MultiViews Includes
+ AddType text/html .shtml
+ AddHandler server-parsed .shtml
+ AllowOverride All
+ order allow,deny
+ allow from all
+ </Directory>
+<Directory /usr/lib/cgi-bin>
+ AllowOverride None
+ Options ExecCGI FollowSymLinks
+ </Directory>
+<Directory /var/www/COMMON/cgi-common>
+ AllowOverride None
+ Options ExecCGI FollowSymLinks
+ </Directory>
+<Directory /var/www/*/*/www/cgi-local>
+ AllowOverride AuthConfig Limit
+ Options ExecCGI FollowSymLinks
+ </Directory>
+<Location /cgi-bin/phf*>
+ deny from all
+ ErrorDocument 403 http://phf.apache.org/phf_abuse_log.cgi
+ </Location>
+<Directory /usr/doc>
+ Options Indexes FollowSymLinks
+ AllowOverride None
+ order allow,deny
+ allow from all
+ </Directory>
+<Directory /usr/share/doc>
+ Options Indexes FollowSymLinks
+ AllowOverride None
+ order allow,deny
+ allow from all
+ </Directory>
+<Directory /var/lib/mailman/cgi-bin>
+ Options ExecCGI
+ </Directory>
+<DirectoryMatch ^/home/.*/public_html>
+# Options Indexes SymLinksIfOwnerMatch
+ Options Indexes SymLinksIfOwnerMatch MultiViews execCGI
+ AllowOverride AuthConfig Limit Options
+ </DirectoryMatch>
+<Files .htaccess>
+ order allow,deny
+ deny from all
+ </Files>
+<Files *.auth>
+ order allow,deny
+ deny from all
+ </Files>
+
+# Added for WEBCAL
+<Directory /usr/lib/cgi-bin>
+AuthPAM_Enabled off
+AllowOverride AuthConfig
+</Directory>
+# End WEBCAL Configuration Block