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

Re: Subdomain with apache



i think that you have to have some more configuration directives for each
domain.

like :

<VirtualHost 192.114.206.209>
DirectoryIndex index.htm index.html
DocumentRoot /home/lizard/Monitor_prog/htdocs
ServerName msg2you.lizard.macam.ac.il
</VirtualHost>

Mike

---------------------------------------------------
Mofet Institute - Computer Dpt.
+972-3-6901415

~~~~~~~~~~~~~~~~~~~~~~~~~

----- Original Message -----
From: "Geva Guy" <guygeva@netvision.net.il>
To: <linux-il@linux.org.il>
Sent: Wednesday, July 12, 2000 5:35 PM
Subject: Subdomain with apache


> Hello,
>
> Can someone tell me whats wrong with this conf ?
>
> i put those lines in the bottom of httpd.conf.
>
> NameVirualHost 127.0.0.1
>
> <VirtualHost 127.0.0.1>
> ServerName localhost
> DocumentRoot /home/httpd/html
> </VirtualHost>
>
> <VirtualHost 127.0.0.1>
> ServerName xyz.localhost
> DocumentRoot /home/httpd/html1
> </VirtualHost>
>
> -- ITS NOT WORKING, Any suggestions ?
>
> Guy Geva
> guygeva@netvision.net.il
> 03-6313930
> 050-919906
>
> =================================================================
> To unsubscribe, send mail to linux-il-request@linux.org.il with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail linux-il-request@linux.org.il
>
>


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il