ich habe folgendes Problem:
Ich betreibe einen kleinen eisfair-Server und habe einen Apache darauf installiert. Danach 3 vHost angelegt, einen für alle Anfragen, für die es keine URL gibt und dann jeweils einen für die Domain "buehrmann.ch.vu" und "agat.de.vu".
Bei der ch.vu/de.vu Vergabestelle kann man eine "Ziel-Adresse" angeben, also habe ich da die URL meines DynDNS-Accounts eingetragen.
Soweit, sogut - die Adressen werden beide an meinen Apache weitergegeben. Dummerweise landen alle im übergeordneten Verzeichnis und nicht in den speziell zugewiesenen.
Vielleicht kann mir einer von euch einen Tipp geben? Ich bin langsam am verzweifeln, auch die Suchfunktion hat mir keine brauchbaren Ergebnisse geliefert.
PS: Vielleicht nochmal zur Verdeutlichung die Struktur der Webseiten:
buehrmann.ch.vu -> muenchfeld.dyndns.org -> eisfair (mit Apache) -> über vHost ins Verzeichnis "buehrmann.ch.vu"
agat.de.vu -> muenchfeld.dyndns.org -> eisfair (mit Apache) -> über vHost ins Verzeichnis "agat.de.vu"
Verzeichnisse sind natürlich alle vorhanden, wenn ich beispielsweise den ersten virtuellen Host entferne (der alle Anfragen, für die es keine URL gibt, ins Verzeichnis /var/www/htdocs/ leitet entferne, dann bekomme ich immer den Inhalt des Ornders "buehrmann.ch.vu" angezeigt).
Vielen Dank schonmal für eure Hilfe!
Nils
Hier meine config samt vHost (leider kann man die beim eisfair-Server nicht in eine separate Datei eintragen)
- Code: Select all
#-------------------------------------------------------------------------------
# Apache configuration file generated by /var/install/config.d/apache2.sh
#
# Do not edit this file, edit /etc/config.d/apache2 or /var/install/config.d/apache2.sh
# Creation date: 2007-02-20 13:29:31
#-------------------------------------------------------------------------------
ServerRoot "/usr/local/apache2"
PidFile /var/run/httpd.pid
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 150
MaxRequestsPerChild 0
Include conf/AddModules.inc
User wwwrun
Group nogroup
ServerAdmin n.buehrmann@gmx.de
ServerName eisweb.elitegroup.home:80
DocumentRoot "/var/www/"
DavLockDB /usr/local/apache2/var/DavLock
Listen *:80
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options FollowSymLinks MultiViews
AllowOverride All
Order Deny,Allow
Deny from all
Allow from all
</Directory>
<Directory /home/*/public_html>
Options FollowSymLinks MultiViews
AllowOverride All
Order Deny,Allow
Deny from all
Allow from all
</Directory>
UserDir public_html
DirectoryIndex index.html index.htm
AccessFileName .htaccess
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
UseCanonicalName Off
TypesConfig /usr/local/apache2/conf/mime.types
DefaultType text/plain
MIMEMagicFile /usr/local/apache2/conf/magic
HostnameLookups On
ErrorLog /var/www/log/error_log
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
CustomLog /var/www/log/access_log combined
ServerTokens Full
ServerSignature On
Alias /icons/ "/usr/local/apache2/icons/"
<Directory "/usr/local/apache2/icons/">
Options FollowSymLinks MultiViews
AllowOverride All
Order Deny,Allow
Deny from all
Allow from all
</Directory>
ScriptAlias /cgi-bin/ /var/www/cgi-bin/
<Directory /var/www/cgi-bin/>
AllowOverride All
Options None
Order Deny,Allow
Deny from all
Allow from all
</Directory>
Include conf/AddIcons.inc
Include conf/AddLanguages.inc
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0
BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
NameVirtualHost *:80
<VirtualHost *:80>
ServerName muenchfeld.dyndns.org:80
ServerAlias www.muenchfeld.dyndns.org
ServerAdmin n.buehrmann@gmx.de
DocumentRoot /var/www/htdocs/
ScriptAlias /cgi-bin/ /var/www/cgi-bin/
<Directory /var/www/cgi-bin/>
AllowOverride All
Options None
Order Deny,Allow
Deny from all
Allow from all
</Directory>
<Directory /var/www/htdocs/>
AllowOverride All
Options FollowSymLinks MultiViews
Order Deny,Allow
Deny from all
Allow from all
</Directory>
ErrorLog /var/www/log/error_log
CustomLog /var/www/log/access_log combined
</VirtualHost>
<VirtualHost *:80>
ServerName buehrmann.ch.vu:80
ServerAlias www.buehrmann.ch.vu
ServerAdmin n.buehrmann@gmx.de
DocumentRoot /var/www/buehrmann.ch.vu/htdocs/
ScriptAlias /cgi-bin/ /var/www/buehrmann.ch.vu/cgi-bin/
<Directory /var/www/buehrmann.ch.vu/cgi-bin/>
AllowOverride All
Options None
Order Deny,Allow
Deny from all
Allow from all
</Directory>
<Directory /var/www/buehrmann.ch.vu/htdocs/>
AllowOverride All
Options FollowSymLinks MultiViews
Order Deny,Allow
Deny from all
Allow from all
</Directory>
ErrorLog /var/www/buehrmann.ch.vu/log/error_log
CustomLog /var/www/buehrmann.ch.vu/log/access_log combined
</VirtualHost>
<VirtualHost *:80>
ServerName agat.de.vu:80
ServerAlias www.agat.de.vu
ServerAdmin n.buehrmann@gmx.de
DocumentRoot /var/www/agat.de.vu/htdocs/
ScriptAlias /cgi-bin/ /var/www/agat.de.vu/cgi-bin/
<Directory /var/www/agat.de.vu/cgi-bin/>
AllowOverride All
Options None
Order Deny,Allow
Deny from all
Allow from all
</Directory>
<Directory /var/www/agat.de.vu/htdocs/>
AllowOverride All
Options FollowSymLinks MultiViews
Order Deny,Allow
Deny from all
Allow from all
</Directory>
ErrorLog /var/www/agat.de.vu/log/error_log
CustomLog /var/www/agat.de.vu/log/access_log combined
</VirtualHost>
Include conf/AddParams.conf
# apache2_php5 --------------------------------------------------------
LoadModule php5_module modules/libphp5.so
DirectoryIndex index.php index.php3 index.php4 index.php5
AddType application/x-httpd-php .php .php3 .php4 .php5
AddType application/x-httpd-php-source .phps
# ---------------------------------------------------------------------