httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matus UHLAR - fantomas <uh...@fantomas.sk>
Subject Re: [users@httpd] download php apache
Date Thu, 26 Feb 2009 11:56:24 GMT
On 26.02.09 11:50, Sam Wootton wrote:
> When i visit "www.example.com" my site works fine.  However, if i visit "
> http://example.com" it get a download dialog, asking me if i want to
> download this php, instead.
> 
> Obviously i don't want this - i just want the site to behave as it does when
> i use "www".

> *<VirtualHost 192.168.1.68:80>
>         ServerName www.example.com

> </VirtualHost>*

Try specifying "ServerAlias example.com" for the virtual host.

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
A day without sunshine is like, night.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message