This is a discussion on httpd.conf, help please.. within the Linux Networking forums, part of the Linux Forums category; Dear all.. please help, why it doesnt work. # name virtual host # NameVirtualHost 133.21.xxx.xxx <VirtualHost 133.22....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Dear all.. please help, why it doesnt work.
# name virtual host # NameVirtualHost 133.21.xxx.xxx <VirtualHost 133.22.xxx.xxx> DocumentRoot /var/www/html ServerName www.orig.dinamik.net RewriteEngine On RewriteRule ^/.* /var/www/html/index.html </VirtualHost> <VirtualHost 133.22.xxx.xxx> DocumentRoot /var/www/html/test ServerName www.ti2003.dinamik.net ServerPath /test/ RewriteEngine On RewriteRule ^(/test/.*) /var/www/html$1 </VirtualHost> Why a request to http://www.ti2003.dinamik.net/ be served in the same way with a request to http://www.orig.dinamik.net/ and it doesn't go to the directory /var/www/html/test and execute the index.php put in there? Thanks. ss.wenny.- |