diff options
Diffstat (limited to 'apache.example.conf')
-rw-r--r-- | apache.example.conf | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/apache.example.conf b/apache.example.conf new file mode 100644 index 000000000000..558889fd2ba4 --- /dev/null +++ b/apache.example.conf @@ -0,0 +1,29 @@ +# SAMPLE CONFIG FOR APACHE WEB SERVER +# +# This file contains entries that need to be incorporated into +# your Apache web server configuration file. +# +# Copy this file to /etc/httpd/conf/extra/tilecache.conf. +# Enable cgid_module in /etc/httpd/conf/httpd.conf, and include tilecache.conf. + +Alias /tilecache/cgi-bin "/usr/share/tilecache/sbin" + +<Directory "/usr/share/tilecache/sbin"> + #SSLRequireSSL + Options ExecCGI + AddHandler cgi-script .cgi + AllowOverride None + <IfVersion >= 2.3> + <RequireAll> + Require all granted + #Require host 127.0.0.1 + </RequireAll> + </IfVersion> + <IfVersion < 2.3> + Order allow,deny + Allow from all + #Order deny,allow + #Deny from all + #Allow from 127.0.0.1 + </IfVersion> +</Directory> |