Hi,

Many thanks for the help.

I tried that, and i still got the same problem.

However, it could be being cached i guess.

Is what you suggested a sure fire way to fix my problem? If so, i'll wait
until i am home to test it properly.

Regards, Sam

2009/2/26 Matus UHLAR - fantomas <[email protected]>

> 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, [email protected] ; 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: [email protected]
>   "   from the digest: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to