[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Re: Apache SuExec help



Richard Ibbotson wrote:
Jonathan


It's running under BSD, but I assumed this would be OS agnostic. The
Apache stuff is OK, but simply says "set it to the user directory you
specify" which isn't much help at all.


Oh.. sorry about that :)
Just in case anyone else comes across this, I finally found the answer.

SuEXEC requires a docroot. By default, it takes the apache docroot and everything to run under a user has to be under that docroot. So, if /home/blah/www/cgi-bin isn't under /usr/local/www/data (obviously it isn't...) you've had it.

The only solution is to set docroot to /home - if you want to use SuEXEC on the default website, there's no option but to set docroot to "/" - not the best way of doing things, but what can you do?!

- J

P.S. I'm starting to wonder if cgiwrap might really be the way to go - has anyone used both who might have an informed opinion? :)

___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

GNU the choice of a complete generation.