← Back to team overview

sslug-teknik team mailing list archive

Re: Suse pro. 9.2 webserve problem med vhostr

 

On Sun, 20 Feb 2005 14:09:04 +0100, Jan Larsen wrote:

> 
> <VirtualHost *:80>
>     ServerAdmin jan@xxxxxxxxxxxxx
> #    DocumentRoot /www/docs/dummy-host.example.com
>     ServerName www.quicklink.dk
>     ServerAlias www.quicklink.dk
>     ProxyRequests off
>     ProxyPass / http://192.168.35.7/
>     ProxyPassReverse / http://192.168.35.7/
> #    ErrorLog logs/error_log
> #    CustomLog logs/access_log_kviklink common
> </VirtualHost>
Dit problem er, at du kun kan have en *:80 - det fanger alle requests:-)
Husk også på at VirtualHost kun kan tage IP som input.
http://httpd.apache.org/docs/mod/core.html#virtualhost
http://www.cfdev.com/apache/virtualhosts.cfm

I stedet for
<VirtualHost IP>
</VirtualHost IP>
http://www.siliconvalleyccie.com/linux-hn/apachebasic.htm#_Toc92809464

-- 
Hilsen/Regards
Michael Rasmussen
http://keyserver.veridis.com:11371/pks/lookup?op=get&search=0xE3E80917



Follow ups

References