]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - config/httpd/vhosts.d/ipfire-interface-ssl.conf
Fix update acclerator file download at webif.
[people/pmueller/ipfire-2.x.git] / config / httpd / vhosts.d / ipfire-interface-ssl.conf
index 830d3125c836cef395ce7fe9113e875c0036b34f..08ba2b375bcbacf7434fc55da2596c00eb528894 100644 (file)
@@ -3,7 +3,7 @@
     RewriteEngine on
     RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK|OPTIONS)
     RewriteRule .* - [F]
-    DocumentRoot /home/httpd/html
+    DocumentRoot /srv/web/ipfire/html
     ServerAdmin root@localhost
     ErrorLog /var/log/httpd/error_log
     TransferLog /var/log/httpd/access_log
     SSLCipherSuite ALL:!ADH:!EXPORT56:!eNULL:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW:+EXP
     SSLCertificateFile /etc/httpd/server.crt
     SSLCertificateKeyFile /etc/httpd/server.key
-    <Directory /home/httpd/html>
+
+    <Directory /srv/web/ipfire/html>
         Options ExecCGI
         AllowOverride None
         Order allow,deny
         Allow from all
     </Directory>
-    <DirectoryMatch "/home/httpd/html/(graphs|sgraph)">
+    <DirectoryMatch "/srv/web/ipfire/html/(graphs|sgraph)">
         AuthName "IPFire - Restricted"
         AuthType Basic
         AuthUserFile /var/ipfire/auth/users
         Require user admin
     </DirectoryMatch>
-    ScriptAlias /cgi-bin/ /home/httpd/cgi-bin/
-    <Directory /home/httpd/cgi-bin>
+    ScriptAlias /cgi-bin/ /srv/web/ipfire/cgi-bin/
+    <Directory /srv/web/ipfire/cgi-bin>
         AllowOverride None
-        Options None
+        Options ExecCGI
         AuthName "IPFire - Restricted"
         AuthType Basic
         AuthUserFile /var/ipfire/auth/users
@@ -48,7 +49,7 @@
             Require user admin
         </Files>
     </Directory>
-    <Directory /home/httpd/cgi-bin/dial>
+    <Directory /srv/web/ipfire/cgi-bin/dial>
         AllowOverride None
         Options None
         AuthName "IPFire - Restricted"
@@ -59,7 +60,7 @@
     <Files ~ "\.(cgi|shtml?)$">
        SSLOptions +StdEnvVars
     </Files>
-    <Directory /home/httpd/cgi-bin>
+    <Directory /srv/web/ipfire/cgi-bin>
        SSLOptions +StdEnvVars
     </Directory>
     SetEnv HOME /home/nobody
        downgrade-1.0 force-response-1.0
     CustomLog /var/log/httpd/ssl_request_log \
        "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
+
+    Alias /updatecache/ /var/updatecache/
+       <Directory /var/updatecache>
+                Options ExecCGI
+                AllowOverride None
+                Order deny,allow
+                Allow from all
+       </Directory>
 </VirtualHost>