----- Original Message ----- From: "Patrik Gustafsson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 18, 2001 5:20 AM Subject: [expert] Hi experts > Hi I have problems with Apache on 8.1 b3 > I want to use named virtual host and edited /etc/httpd/conf/httpd.conf > and uncommented the following line: > Include conf/vhosts/Vhosts.conf > And add this to /etc/httpd/conf/vhosts/Vhosts.conf: > NameVirtualHost 111.222.333.444 # My ip adress > <VirtualHost 111.222.333.444> # My ip adress again > ServerName mail.somewhere.net # my virtual mail address > ServerPath /mail # Think this is right /it should be path > to /var/www/httpd/mail > ErrorLog logs/mail.putte.net-Error_log > TransferLog logs/mail.putte.net-Access_log > DocumentRoot /var/www/html/mail #Document root > </VirtualHost> > And restarts apache but it wont work > plz help! > Best regards > Patrik NameVirtualHost 111.222.333.444 <VirtualHost 111.222.333.444> DocumentRoot 'where the html pages would be e.g. /home/user/html' ServerName 'the virtual adress e.g. www.mydomain.com' ErrorLog .... CustomLog... ScriptAlias 'if you have enable your cgi support e.g /cgi-bin/ /home/usr/cgi-bin/' </VirtualHost> then you should restart your apache server and everithing must work just fine
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
