Greetings suPHP Users,

I recently installed suPHP onto my VPS.  I've had a few issues after doing 
this, one dealing w/ the shared SSL certificate used by my clients.

Before installing suPHP, the user's could access secure pages by visiting a URL 
such as the following:

https://SERVER_NAME/~USERNAME/FILE

However, that is no longer working.  This process now generates a 500 - Server 
Configuration Error message.  Upon further research, I discovered that this is 
happening because the user ID attempting to access the file is not the same as 
the owner of that file.  Messages such as the following are being generated in 
the suPHP.log file:

 [DATE] [warn] Mismatch between target UID (32010) and UID (32015) of file 
"/home/<USERNAME>/public_html/index.php"

So, my question is how can I allow my clients to continue to use a shared SSL 
certificate?  Is there a way to allow a particular user full access to all 
files?

I did find this URL:

http://www.spareknet.org/howtos/suphp.php

Which says:

4. Apply suphp-0.6.1-userdir.patch
This patch allows you to execute PHP code using http://ip/~username/test.php. 
In this example, the PHP script will be executed as username. This means that 
users can access their website via IP (on a shared IP environment) and PHP will 
still execute as their username. This is also useful if you have a shared 
secure certificate set up on your server, since users can still access their 
account through the secure server and as their username.

But I'm still getting 500 errors when attempting to access a user's website in 
this fashion (secured or unsecured):

http://SERVER_IP/~USERNAME/FILE

Also, I'm running suPHP version 0.62.

Can anyone help?  Thanks in advance...

- Matthew
 
_______________________________________________
suPHP mailing list
[email protected]
http://lists.marsching.biz/mailman/listinfo/suphp

Reply via email to