Named Virtual Host Problem [OT]
Andy Pieters
mailings at vlaamse-kern.com
Sat Oct 15 19:33:24 UTC 2005
Hi List
Sorry for the offtopic question, I did google and followed the instructions
from Apache to the letter but alas! It still doesn't work.
Basically I want to serve
sandbox.vlaamse-kern.com from /wwwtest
and vlaamse-kern.com or www.vlaamse-kern.com from /wwwroot
I set-up the instructions in httpd.conf and restarted the server but still all
three addresses are served from /wwwroot
Here is an excerpt from httpd.conf
NameVirtualHost 81.220.168.250:80
<VirtualHost 81.220.168.250:80>
DocumentRoot /wwwroot
ServerAdmin andy at vlaamse-kern.com
ServerName www.vlaamse-kern.com
ServerAlias vlaamse-kern.com
#this is a hack suggested by secunia to prevent cross-site scripting
#applied by my system-administrator
#04 january 2005 20:25:52
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK|PROPFIND)
RewriteRule .* - [F]
#End secunia hack 20:27:37
ServerSignature email
DirectoryIndex index.php index.html index.htm index.shtml
</VirtualHost>
# Virtual host Virtual Host 0
<VirtualHost 81.220.168.250:80>
DocumentRoot /wwwtest
ServerAdmin andy at vlaamse-kern.com
ServerName sandbox.vlaamse-kern.com
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK|PROPFIND)
RewriteRule .* - [F]
</VirtualHost>
With kind regards
Andy
--
Registered Linux User Number 379093
Now listening to Radio Stream
amaroK::the Coolest Media Player in the known Universe!
Cockroaches and socialites are the only things that can
stay up all night and eat anything.
Herb Caen
--
-- --BEGIN GEEK CODE BLOCK-----
Version: 3.1
GAT/O/>E$ d-(---)>+ s:(+)>: a--(-)>? C++++$(+++) UL++++>++++$ P-(+)>++
L+++>++++$ E---(-)@ W+++>+++$ !N@ o? !K? W--(---) !O !M- V-- PS++(+++)
PE--(-) Y+ PGP++(+++) t+(++) 5-- X++ R*(+)@ !tv b-() DI(+) D+(+++) G(+)
e>++++$@ h++(*) r-->++ y--()>++++
-- ---END GEEK CODE BLOCK------
--
Check out these few php utilities that I released
under the GPL2 and that are meant for use with a
php cli binary:
http://www.vlaamse-kern.com/sas/
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20051015/b37f44ee/attachment-0001.sig>
More information about the fedora-list
mailing list