View Single Post
Old 27th May 2006, 11:40
Dutzzu Dutzzu is offline
Junior Member
Join Date: May 2006
Posts: 8
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via ICQ to Dutzzu Send a message via MSN to Dutzzu Send a message via Yahoo to Dutzzu Send a message via Skype™ to Dutzzu

hm...i have a question here ...

i found on net a similar code with the one gived by jojo

Listen 80
NameVirtualHost *

<VirtualHost *>
  DocumentRoot /home/httpd/htdocs/

<VirtualHost *>
  DocumentRoot /home/httpd/htdocs/subdomain/
and i'm sure that it's gonna work ...

but now a noomb question .... where do i paste this code in httpd.conf ?

The begining of my httpd.conf looks like this ( i won't paste all file it's to large ) :

Listen 80
ServerRoot "/www/Apache2"
DocumentRoot "/www/webroot"

ServerName localhost:80
ServerAdmin admin@localhost

ServerSignature On
ServerTokens Full

DefaultType text/plain
AddDefaultCharset ISO-8859-1
Can anybody show me how should i modify the file ?

That's all Thanq

ps : and another noomb question .... witch of this two codes is better ?
Reply With Quote