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

Re: apache2 and php4: apache does not execute php script



On Sun, 13 Mar 2005 23:42:31 +0100, Hannes Mayer wrote:
> On Sun, 13 Mar 2005 21:45:20 +0100, Hannes Mayer wrote:
> > Hi all!
> >
> > I just installed apache2 (2.0.53-5) and php4 (4.3.10-8) (apt-get from
> > testing) on a sarge machine.
> > apache2 works, serving normal html pages, but it only serves php pages
> > as source code (download "save as" appears in browser).
> 
> Just discovered that only index.php files are offered as download, all
> other php files are executed (also works when giving no filename i.e.
> domain.com/script/ )

Well, it seems that it is totally random which script is executed or
offered as download (either /script/ or /script/index.php).
One thing which always works is adding a "?" (/script/index.php?) or a
POST request.

Thanks & best regards,
Hannes.



Reply to: