Settings file for the LDPDB.

This commit is contained in:
david 2002-09-05 10:51:19 +00:00
parent 21f9a73bb3
commit 4206c1b1dc
1 changed files with 73 additions and 0 deletions

View File

@ -0,0 +1,73 @@
#
# This is a sample httpd.conf
#
# This is the configuration being used for LDP testing at
# db.tldp.org.
#
<VirtualHost *>
ServerName ldpdb.lupercalia.net
ServerAlias db.tldp.org
UseCanonicalName Off
AddDefaultCharset UTF-8
AddCharset UTF-8 .html
DocumentRoot /home/david/ldp/cvs/LDP/lampadas/pylib
<Directory /home/david/ldp/cvs/LDP/lampadas/pylib>
AllowOverride None
SetHandler python-program
PythonHandler ModPython
PythonAutoReload On
PythonDebug On
Order allow,deny
Allow from all
RewriteEngine on
RewriteRule ^$ /index.html [R]
RewriteRule ^/$ /index.html [R]
</Directory>
Alias /data /home/david/ldp/cvs/LDP/lampadas/pylib/data
<Location /data>
AllowOverride None
PythonPath "['/home/david/ldp/cvs/LDP/lampadas/pylib'] + ['/home/david/ldp/cvs/LDP/lampadas/pylib/data'] + sys.path"
SetHandler python-program
PythonHandler mod_python.publisher
PythonDebug On
Order allow,deny
Allow from all
</Location>
Alias /doc /var/cache/lampadas/www/doc
<Location /doc>
AllowOverride None
Options Indexes
Order allow,deny
Allow from all
DirectoryIndex index.html
</Location>
Alias /docdownloads /var/cache/lampadas/www/doc
<Location /docdownloads>
DirectoryIndex foo.html
Options Indexes Multiviews
AllowOverride None
Order allow,deny
Allow from all
RemoveType .html
ForceType text/plain
</Location>
Alias /images /home/david/ldp/cvs/LDP/lampadas/www/images
<Location /images>
AllowOverride None
Order allow,deny
Allow from all
</Location>
Alias /css /home/david/ldp/cvs/LDP/lampadas/www/css
<Location /css>
AllowOverride None
Order allow,deny
Allow from all
</Location>
</VirtualHost>