diff options
author | jerry73204 | 2018-08-26 05:20:30 +0800 |
---|---|---|
committer | jerry73204 | 2018-08-26 05:20:30 +0800 |
commit | cbe76cca920f72550978834f11af6815081be1d4 (patch) | |
tree | 2cc43c4a2be74daad36109a0bc432d0bf8c8b964 /apache.example.conf | |
download | aur-cbe76cca920f72550978834f11af6815081be1d4.tar.gz |
Upload version 2.11-1
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> |