Hello *, I have a very huge VServer with 4 domains with more then 2000 VHosts (Sub-Domains).
Normaly my /home_www/APACHE_enabled/00_default links to the VServer name
where I can configure any VHosts and more...
Also ANY VHosts pointing to /home_www/htdocs/ and it is the job of the
PHP5 scripts to get the date of the right VHost. Up to here it s working
perfectly.
But now after a new installation I have a problem with the following
config:
----[ '/etc/apache2/apache2.conf' ]-------------------------------------
<snip>
include /home_www/APACHE_enabled/
------------------------------------------------------------------------
----[ '/etc/apache2/conf.d/NameVirtualHost' ]---------------------------
NameVirtualHost 192.168.0.66:80
NameVirtualHost 192.168.0.69:80
NameVirtualHost 88.168.69.36:80
------------------------------------------------------------------------
----[ '/etc/apache2/conf.d/ports.conf' ]--------------------------------
Listen 80
Listen 443
Listen 8888
------------------------------------------------------------------------
----[ '/home_www/APACHE_enabled/00_default' ]---------------------------
<VirtualHost 88.168.69.36:80>
ServerAdmin [email protected]
ServerName vserver1.tamay-dogan.net
DocumentRoot /home_www/htdocs/
<Directory />
Options FollowSymLinks Indexes
AllowOverride None
</Directory>
# debug, info, notice, warn, error, crit, alert, emerg.
LogLevel warn
ErrorLog
/home_www/CONFIG_vserver1.tamay-dogan.net/log/apache/error.log
LogFormat "[%V] %p %h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\"" vhost
CustomLog
/home_www/CONFIG_vserver1.tamay-dogan.net/log/apache/access.log vhost
ServerSignature On
</VirtualHost>
------------------------------------------------------------------------
----[ '/home_www/APACHE_enabled/webmail.tamay-dogan.net' ]--------------
<VirtualHost 88.168.69.36:80>
ServerAdmin [email protected]
ServerName webmail.tamay-dogan.net
DocumentRoot /home_www/CONFIG_webmail.tamay-dogan.net/htdocs
Alias /squirrelmail /home_www/CONFIG_webmail.tamay-dogan.net/htdocs
<Directory /home_www/CONFIG_webmail.tamay-dogan.net/htdocs>
Options Indexes FollowSymLinks
<IfModule mod_php5.c>
php_flag register_globals off
</IfModule>
<IfModule mod_dir.c>
DirectoryIndex index.php
</IfModule>
# access to configtest is limited by default to prevent information leak
<Files configtest.php>
order deny,allow
deny from all
allow from 127.0.0.1
</Files>
</Directory>
# debug, info, notice, warn, error, crit, alert, emerg.
LogLevel warn
ErrorLog
/home_www/CONFIG_webmail.tamay-dogan.net/log/apache/error.log
LogFormat "[%V] %p %h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\"" vhost
CustomLog
/home_www/CONFIG_webmail.tamay-dogan.net/log/apache/access.log vhost
ServerSignature On
</VirtualHost>
------------------------------------------------------------------------
So, WHY is DocumentRoot IGNORED?
If I change the port from the <webmail> to 18888 then I get the error
message:
[Mon Jun 07 21:44:43 2010] [error] [client 192.168.0.65] File does not exist:
/htdocs
but /htdocs is nowhere defined! I use aways fullpath.
What can this be?
Thanks, Greetings and nice Day/Evening
Michelle Konzack
--
##################### Debian GNU/Linux Consultant ######################
Development of Intranet and Embedded Systems with Debian GNU/Linux
itsyst...@tdnet France EURL itsyst...@tdnet UG (limited liability)
Owner Michelle Konzack Owner Michelle Konzack
Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France 77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix
<http://www.itsystems.tamay-dogan.net/> <http://www.flexray4linux.org/>
<http://www.debian.tamay-dogan.net/> <http://www.can4linux.org/>
Jabber [email protected]
ICQ #328449886
Linux-User #280138 with the Linux Counter, http://counter.li.org/
signature.pgp
Description: Digital signature
