Re: download php apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <uhlar@xxxxxxxxxxx>
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@xxxxxxxxxxx ; 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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux