[Nottingham] (no subject)

Michael Simms michael at tuxgames.com
Thu Jun 19 22:35:32 BST 2008


Im pretty sure that execcgi doesnt affect PHP

IIRC, What you're looking for is you must have Includes and must NOT
have includesNoExec in the Options line

On Thu, 2008-06-19 at 20:49 +0100, godfrey wrote:
> Hi,
> 
> There are two parts to configuring scripts to run in Apache - one is to define 
> what files are scripts (endings such as '.pl' and '.php); the other limits 
> the directories where scripts reside. It seems that you are missing this 
> second point. Normally you would have to define each directory that you want 
> to handle script files with the OPTIONS command, and in particular the 
> ExecCGI parameter.
> 
> Hope that helps
> 
> Godfrey
> 
> On Thursday 19 June 2008 11:10 am, The Last Hobbit wrote:
> > Morning Everyone
> >
> > A bit of a sticky one here. Hopefully some genius may have come across this
> > before. I'm Running Ubuntu Gusty 7.1 and for some reason any php file that
> > is located outside a certain directory won't run. Instead the browser says
> > it wants to download the file.
> >
> > The correct php modules are loaded.
> >
> > I've looked at config files to see if there is a reference to only run php
> > from a certain directory and can't find any.
> >
> >
> >
> > any ideas
> >
> > regards
> >
> > Dean Asher
> >
> >
> > ''Blessd are the cracked, for they shall let in the light''
> 
> _______________________________________________
> Nottingham mailing list
> Nottingham at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/nottingham
-- 
Michael Simms, CEO - Tux Games
http://www.tuxgames.com



More information about the Nottingham mailing list