<VirtualHost *:80>
ServerAdmin postmaster@example.com
DocumentRoot /var/www/html
ServerName wiki.example.com
Alias /wiki/ "/usr/share/moin/htdocs/"
# Rewrite urls
RewriteEngine On
RewriteLogLevel 0
# map /wiki static files to Moin htdocs
RewriteRule ^/wiki/(.*)$ /usr/share/moin/htdocs/$1 [last]
# map everything else to server script
RewriteRule ^(.*)$ /var/www/moin/mywiki/moinmodpy.py$1
<Directory "/var/www/moin/testwiki">
# Modpy stuff
AddHandler python-program .py
# Add the path to the wiki directory, where
# moinmodpy.py and wikiconfig.py are located.
PythonPath "['/var/www/moin/mywiki'] + sys.path"
PythonHandler moinmodpy
</Directory>
</VirtualHost>
mobbing-gegner:/var/www# nslookup mobbing-gegner.de Server: 213.146.173.17 Address: 213.146.173.17#53 Non-authoritative answer: Name: mobbing-gegner.de Address: 69.64.49.231 Name: mobbing-gegner.de Address: 81.3.43.252 Name: mobbing-gegner.de Address: 209.61.186.84
http://www.rootforum.de/forum//viewtopic.php?p=226512 http://www.linuxforen.de/forums/archive/index.php/t-149039.html http://www.rootforum.de/forum//viewforum.php?f=15 NameVirtualHost xxx.xxx.xxx.xxx
http://www.linuxforen.de/forums/archive/index.php/t-121638.html
http://www.debianforum.net/forum/viewtopic.php?t=39506&start=0&postdays=0&postorder=asc&highlight=
http://www.debianforum.net/forum/viewtopic.php?t=39506&start=0&postdays=0&postorder=asc&highlight=
http://lists.suse.com/archive/suse-linux/2004-Jun/0835.html http://httpd.apache.org/docs/2.0/mod/core.html#serveralias _default_ VirtualHost overlap on port 80, the first has precedence
http://www.linuxforen.de/forums/archive/index.php/t-49770.html
RE: libapache-mod-ssl und mehrere VirtualHosts
meinst du SSI oder SSL. Namebased virtual hosts mit SSL würde mich sehr wundern, da der http header zum Identifizieren des namebased hosts erst nach dem entschlüsseln zur Verfügung steht.
Dominik http://rootiewiki.de/
Tags: linux | gnu | unix | howto | apache | webdserver | php | mysql | python | www | web | virtualhost
Linux/Apache/VirtualHost (last edited 2008-11-17 15:55:31 by )