|
| 1 | +SetEnv PYTHON_EGG_CACHE /tmp/.python-eggs |
| 2 | +#Listen 8000 |
| 3 | +#NameVirtualHost 10.91.34.42:8000 |
| 4 | +<VirtualHost 156.154.19.184:80> |
| 5 | + ServerName ietfdev.neustarlab.biz |
| 6 | + ServerAlias ietfdev.neustarlab.biz |
| 7 | + |
| 8 | + |
| 9 | +#ServerName datatracker.ietf.org |
| 10 | + DocumentRoot "/var/www/django_ietf/web/static/" |
| 11 | +ErrorLog /var/log/ietf/tracker-error_log |
| 12 | +TransferLog /var/log/ietf/tracker-access_log |
| 13 | + |
| 14 | + <Location "/"> |
| 15 | + PythonPath "['/var/www/django_ietf/web'] + sys.path" |
| 16 | + SetHandler python-program |
| 17 | + PythonHandler django.core.handlers.modpython |
| 18 | + SetEnv DJANGO_SETTINGS_MODULE ietf.settings |
| 19 | + PythonDebug On |
| 20 | + </Location> |
| 21 | + |
| 22 | +<LocationMatch "/(robots.txt|favicon.ico|images|css|js|media)"> |
| 23 | + SetHandler None |
| 24 | +</LocationMatch> |
| 25 | + |
| 26 | + |
| 27 | +<Location "/cgi-bin"> |
| 28 | + SetHandler cgi-script |
| 29 | +</Location> |
| 30 | + |
| 31 | +<Location "/documents"> |
| 32 | + SetHandler None |
| 33 | +</Location> |
| 34 | + |
| 35 | +Alias /documents/ "/home/datatracker/htdocs-datatracker/documents/" |
| 36 | + |
| 37 | +<Location "/proceedings"> |
| 38 | + SetHandler None |
| 39 | +</Location> |
| 40 | + |
| 41 | +Alias /proceedings/ "/home/datatracker/htdocs-datatracker/proceedings/" |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | +ScriptAlias /idst/ "/home/mlee/IETF/idst/" |
| 46 | +ScriptAlias /idst-pub/ "/home/mlee/IETF/idst-pub/" |
| 47 | + |
| 48 | +<Location "/idst"> |
| 49 | + SetHandler cgi-script |
| 50 | +</Location> |
| 51 | + |
| 52 | +<Location "/idst-pub"> |
| 53 | + SetHandler cgi-script |
| 54 | +</Location> |
| 55 | + |
| 56 | + |
| 57 | +#RedirectMatch ^/$ http://datatracker.ietf.org/idtracker/ |
| 58 | + |
| 59 | +ScriptAlias "/cgi-bin/" "/home/datatracker/cgi-bin-datatracker/" |
| 60 | +ScriptAlias "/private/" "/home/datatracker/cgi-bin-datatracker/" |
| 61 | + |
| 62 | +<Directory "/home/datatracker/cgi-bin-datatracker"> |
| 63 | + AllowOverride All |
| 64 | + Options None |
| 65 | + Order allow,deny |
| 66 | + Allow from all |
| 67 | +</Directory> |
| 68 | +ScriptAlias "/devel/" "/home/datatracker/cgi-bin-datatracker/devel/" |
| 69 | +<Directory "/home/datatracker/cgi-bin-datatracker/devel"> |
| 70 | + AllowOverride All |
| 71 | + Options None |
| 72 | + Order allow,deny |
| 73 | + Allow from all |
| 74 | +</Directory> |
| 75 | + |
| 76 | +ScriptAlias /public/ "/home/datatracker/cgi-bin-datatracker-pub/" |
| 77 | +<Directory "/home/datatracker/cgi-bin-datatracker-pub"> |
| 78 | + AllowOverride All |
| 79 | + Options None |
| 80 | + Order allow,deny |
| 81 | + Allow from all |
| 82 | +</Directory> |
| 83 | + |
| 84 | +#ScriptAlias /idst/ "/home/mlee/IETF/idst/" |
| 85 | +#ScriptAlias /idst-pub/ "/home/mlee/IETF/idst-pub/" |
| 86 | + |
| 87 | +<Location "/idst"> |
| 88 | + SetHandler cgi-script |
| 89 | +</Location> |
| 90 | + |
| 91 | +<Location "/idst-pub"> |
| 92 | + SetHandler cgi-script |
| 93 | +</Location> |
| 94 | + |
| 95 | +Redirect permanent /public/idst/upload.cgi https://datatracker.ietf.org/idst/upload.cgi |
| 96 | +Redirect permanent /public/idst/status.cgi https://datatracker.ietf.org/idst/status.cgi |
| 97 | +Redirect permanent /public/request_password.cgi https://datatracker.ietf.org/idst-pub/request_password.cgi |
| 98 | +Redirect permanent /public/reset_password.cgi https://datatracker.ietf.org/idst-pub/reset_password.cgi |
| 99 | +Redirect permanent /public/auto_post.cgi https://datatracker.ietf.org/idst-pub/auto_post.cgi |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | + |
| 104 | +</VirtualHost> |
0 commit comments