Named Virtual Host Problem [OT]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
        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@xxxxxxxxxxxxxxxx
        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/

--

Attachment: pgpkYowk36X7C.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux