You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ben Chabot <vo...@amninc.net> on 2004/05/16 02:27:36 UTC

[users@httpd] suexec w/ chroot + ssl

Hello,

I have a modified suexec that chroots users to their home directories.

I want to use shared ssl like this :

User puts the files he wants protected with ssl into
/www/u/s/userdomain.com/ssl

Then it can be accessed via : https://www.mydomain.com/userdomain.com/
<-- contents of $home/ssl directory.

Now, the only way I've seen to do this is via an aliasmatch directive.
The problem is, www.mydomain.com is chroot'ed as well.  So
/www/u/s/userdomain.com/ssl is not visible, so of course the alias
fails.

My question is, is there another way to do this?  If I have to turn off
the chroot for www.mydomain.com and allow them to put scripts in
$home/ssl, it really defeats the whole purpose of a chroot setup, as
their scripts will be running outside it!

Any pointers, tips, or comments would be greatly appreciated!
Thank you!
ben


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org