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

Last change on this file since 2258 was 2066, checked in by achernya, 13 years ago
Merge branches/fc15-dev to trunk
File size: 1016 bytes
RevLine 
[330]1DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home
2SuExecUserGroup scripts users
[2066]3UserDir enabled
[330]4UserDir web_scripts
[417]5# Comment the following line out to take the machine out of the LVS pool
[454]6# You'll also need to prevent it from listening on 443 or 444
[330]7Alias /heartbeat /afs/athena.mit.edu/contrib/scripts/web_scripts/heartbeat
8Alias /src /afs/athena.mit.edu/contrib/scripts/src
9Redirect /sql https://scripts.mit.edu/~sql
10
[811]11<IfModule mod_status.c>
12    <Location "/server-status">
13        AuthType Basic
14        AuthName "scripts status"
15        AuthBasicProvider file
16        AuthUserFile /etc/munin/apache-htpasswd
17        Require valid-user
18        SetHandler server-status
19        PermitStatusHandler on
20    </Location>
21</IfModule>
22
[330]23<Location ~ "/(robots\.txt|favicon\.ico)">
24    RewriteEngine On
25    RewriteBase /~scripts
26    RewriteCond %{REQUEST_FILENAME} !-f
27    RewriteRule .*(favicon\.ico) $1 [L,NS]
28    RewriteCond %{REQUEST_FILENAME} !-f
29    RewriteRule .*(robots\.txt) $1 [L,NS]
30</Location>
Note: See TracBrowser for help on using the repository browser.