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, uh...@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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to