#1  
Old 18th February 2011, 00:07
tcn_dave tcn_dave is offline
Junior Member
 
Join Date: Feb 2011
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
 
Thumbs up SSL and SuPHP

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>

and

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.
Reply With Quote
The Following User Says Thank You to tcn_dave For This Useful Post:
falko (18th February 2011)
Sponsored Links
Reply

Bookmarks

Tags
suphp and ssl

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
suphp + ssl runs as www-data staatslot Installation/Configuration 6 22nd September 2010 14:47
chmod failure when switching from suPHP to fast-CGI Bookworm Installation/Configuration 4 18th August 2009 12:13
suPHP causing server 500 errors djh-compnet Installation/Configuration 7 11th July 2009 20:01
suPHP with SSL Norman General 2 17th June 2009 09:47
change ssl mode planet_fox Installation/Configuration 7 25th May 2007 14:14


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


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