HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Smalltalk (
-   -   SSL and SuPHP (

tcn_dave 18th February 2011 01:07

Just an FYI for all those that may run into this situation :

We're not running anything fancy Apache 2.0.63 with SuPhp installed and working fine for a number of sites. I activated SSL for the first time on the server and none of the PHP pages would show up. Using a test index.html it worked fine but anything with PHP would not work. Logs showed the following error:

SoftException in Application.cpp:404: Mismatch between target UID (501) and UID (516) of file <filename>


terminate called after throwing an instance of [<date>] [error] [client ip] suPHP::LookupException

Lots of digging and lots of reading accomplished not very much other than narrowing it down to SuPhp issue. On a whim I added:

suPHP_Engine on
suPHP_UserGroup <user> <user>
suPHP_AddHandler x-httpd-suphp

to the ssl.conf file entry for that site and all is good. Not sure if AddHandler line is needed but everything seems to work fine now.

Just thought I'd pass along this little gem.

All times are GMT +2. The time now is 11:25.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.