Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I managed to configure Apache with php-cgi and userdir, I can access user home pages with domain.com/~userN/. But everything is run under www-data user. I would like to enable suexec to run .php and other CGI files.

My question is how to enable suexec to work with userdir module? What if user directories aren't under one path, for example /home/*/*/userN/public_html and /home/*/userN/public_html. Everything under public_html should be run as user which owns the directory. Apache docs aren't clear enough to me and I cannot make this work.

OS i Debian Jessie and installed package is apache2-suexec-custom.

Best Regards,
Kamil

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.