diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-08-06 11:41:53 +0100 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2014-08-06 11:41:53 +0100 |
commit | e95ea9ae3eecc129c2d6c2ed29b327aa28d26d88 (patch) | |
tree | 76c06929db4ce373c9b5ecc937374a644b3d19b4 | |
parent | a895f365a20119833378405fcce671f408f799a5 (diff) |
Use legacy document root
Too difficult to change to FSH standard at this point
-rw-r--r-- | config/httpd-vhost.conf-example | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/config/httpd-vhost.conf-example b/config/httpd-vhost.conf-example index bb0334f4a..9736cafff 100644 --- a/config/httpd-vhost.conf-example +++ b/config/httpd-vhost.conf-example @@ -10,7 +10,7 @@ <VirtualHost *:80> ServerName www.example.com ServerAdmin webmaster@example.com - DocumentRoot /srv/alaveteli/ + DocumentRoot /var/www/alaveteli/public # TODO: Remove this and use PassengerUser when supported # This is the user that runs the rails application processes @@ -44,7 +44,7 @@ </IfModule> # This is your Rails app's public directory - <Directory "/srv/alaveteli/"> + <Directory "/var/www/alaveteli/public"> Options +ExecCGI -MultiViews AllowOverride All </Directory> @@ -77,13 +77,13 @@ <IfModule mod_xsendfile.c> RequestHeader Set X-Sendfile-Type X-Sendfile XSendFile On - XSendFilePath /srv/alaveteli + XSendFilePath /var/www/alaveteli/public </IfModule> </Location> # Commonlib is typically found in alaveteli/commonlib - Alias /jslib/ "/srv/alaveteli/jslib" - <Directory "/srv/alaveteli/commonlib/jslib"> + Alias /jslib/ "/var/www/alaveteli/commonlib/jslib" + <Directory "/var/www/alaveteli/commonlib/jslib"> Options +ExecCGI AddHandler fastcgi-script .cgi </Directory> @@ -138,8 +138,8 @@ # as mod_alias doesn't work with Passenger. # <VirtualHost *:80> # ServerName files.example.com -# DocumentRoot /srv/alaveteli-files/files -# <Directory "/srv/alaveteli-files/files"> +# DocumentRoot /var/www/alaveteli/files +# <Directory "/var/www/alaveteli/files"> # Options +Indexes # </Directory> # </VirtualHost> |