Redirect Apache default page to Compadd demo page

This commit is contained in:
Weidong Shao 2014-01-09 19:01:51 +00:00
parent cf67d3ad47
commit 8dd3cbf3a6

View File

@ -8,11 +8,12 @@
RewriteRule ^/$ /ods/ods.html [R=301,L] RewriteRule ^/$ /ods/ods.html [R=301,L]
WSGIScriptAlias /api /var/www/compass/compass.wsgi WSGIScriptAlias /api /var/www/compass/compass.wsgi
<Directory "/var/www/compass_web"> RewriteEngine on
RewriteRule ^/$ /ods/ods.html [R]
<Directory "/var/www/compass_web">
Options Indexes FollowSymLinks Options Indexes FollowSymLinks
Order allow,deny Order allow,deny
Allow from all Allow from all
</Directory> </Directory>
</VirtualHost> </VirtualHost>