Networking Forums

Networking Forums > Computer Networking > Linux Networking > httpd.conf, help please..

Reply
Thread Tools Display Modes

httpd.conf, help please..

 
 
Sitorus Wenny
Guest
Posts: n/a

 
      10-20-2003, 04:02 PM
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.-
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HTTPD : Speed from the 90s of the Web Henry16@2cuk.co.uk Linux Networking 3 10-25-2006 03:38 PM
Apache 302 error from httpd.conf file, Server Down danparker276@yahoo.com Linux Networking 1 07-27-2005 01:32 AM
dhcpd.conf, resolv.conf and the search directive Andy Richardson Linux Networking 4 07-13-2005 08:23 AM
Website subdirectories: httpd.conf or nameserver? Rich Grise Linux Networking 16 12-31-2004 11:18 PM
denying CONNECT() in httpd.conf jack wallen Linux Networking 1 07-03-2003 02:52 AM



1 2 3 4 5 6 7 8 9 10 11