[Nottingham] Two simple Apache 2questions

Jason Irwin jasonirwin73 at gmail.com
Thu Apr 25 11:42:22 UTC 2013


On 25/04/13 12:23, Jason Irwin wrote:
> 1) How do I ensure that Apache is parsing .htaccess filea?  I am aware
> that .htaccess usage is discouraged, but it is what I have to work with.
>  A PHP checker-tool is warning me it might be getting ignored.

That was easy.  Put "AllowOverride All" into the correct config file.
That's what I get for trying to be clever.

2) How do I stop Apache running as root?  From what I understand there
will always be one root process and the rest spun out under "www-data".
 Problem I'm having is that a wee the PHP checker-tool is claiming it is
running as UID 0.  Which is root.  Which is not good.  And also might
explain a few odd glitches I'm seeing.

Checked all the apache2 processes and only the rist one is running as
root, the rest as www-data (which is what I'd expect).  So I'm stumped
why PHP claims to be root.

-- 
╔═════════════╦══════════════════════════════════════════╗
║ Jason Irwin ║ OpenPGP (GPG/PGP) Public Key: 0xD0C592B1 ║
║             ║ Import from hkp://subkeys.pgp.net        ║
╚═════════════╩══════════════════════════════════════════╝



More information about the Nottingham mailing list