source: server/fedora/config/etc/httpd/conf.d/scripts-vhost.conf @ 391

Last change on this file since 391 was 330, checked in by andersk, 16 years ago
Modularize scripts.mit.edu main vhost, and fix favicon.ico and robots.txt 500 errors on other vhosts.
File size: 553 bytes
Line 
1DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home
2SuExecUserGroup scripts users
3UserDir web_scripts
4Alias /heartbeat /afs/athena.mit.edu/contrib/scripts/web_scripts/heartbeat
5Alias /src /afs/athena.mit.edu/contrib/scripts/src
6Redirect /sql https://scripts.mit.edu/~sql
7
8<Location ~ "/(robots\.txt|favicon\.ico)">
9    RewriteEngine On
10    RewriteBase /~scripts
11    RewriteCond %{REQUEST_FILENAME} !-f
12    RewriteRule .*(favicon\.ico) $1 [L,NS]
13    RewriteCond %{REQUEST_FILENAME} !-f
14    RewriteRule .*(robots\.txt) $1 [L,NS]
15</Location>
Note: See TracBrowser for help on using the repository browser.