D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Apache security flaw - my website cracked

 

On Wed, Jul 19, 2006 at 04:44:35PM +0100, Ben Goodger wrote:
> PHP4 will be updated to latest version of 4 - Shaun has some stuff being
> written that he doesn't wish to port for some time.
> Apache will also be updated, as will Wordpress.

It's possible to set the handler for .php files on a per-directory
basis, so you can have PHP4 and PHP5 running simultaneously.

Something like:

<Directory /foo/bar>
        AddHandler php-script .php
        Action php-script /cgi-bin/php{4,5}
</Directory>

Anything else gets the system default.

    bma

-- 
Benjamin A'Lee - <http://bmalee.eu/~bma/>
Secretary, TermiSoc - <http://termisoc.org/>
We could all use some food for thought.  But some of us have less to feed than
others.

Attachment: signature.asc
Description: Digital signature

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html