Re: [cgiwrap-users] CGIWrap On Non-User Directories
Brought to you by:
nneul
From: Tim G. <tj...@so...> - 2008-04-11 15:14:20
|
Here's my configure script: ./configure --with-httpd-user=apache --with-perl=/usr/bin/perl --with-cgi-dir=.html --with-minimum-uid=1000 --with-minimum-gid=1 --with-logging-syslog=cgiwrap --with-php=/usr/bin/php-cgi --with-php-interpreter --with-install-dir=/var/www/cgi-bin/ --with-check-shell --with-rlimit-core=0 --with-rlimit-cpu=60 --without-redirect-stderr --without-logging-file --with-wall --with-local-contact-email=web...@so... --with-cgiwrapd --without-nph And here's the configuration I'm using: AddHandler cgi-wrapper .php AddHandler cgi-wrapper .cgi AddHandler cgi-wrapper .sh AddHandler cgi-wrapper .pl Action cgi-wrapper /cgi-bin/cgiwrap Tim Gustafson SOE Webmaster UC Santa Cruz tj...@so... (831) 459-5354 -----Original Message----- From: Tuc at T-B-O-H.NET [mailto:ml...@t-...] Sent: Thursday, April 10, 2008 3:22 PM To: Tim Gustafson Cc: cgi...@li... Subject: Re: [cgiwrap-users] CGIWrap On Non-User Directories > > Hello! > > I'd like to use CGIWrap to execute PHP scripts as different users. The PHP > scripts are not located in user's home folders. When I try to run such a > script, for example: > > http://www.foo.com/wiki/blah/index.php > > I get an error that says "Couldn't find user 'wiki'." > > Is there any way to make CGIWrap work in this manner? > How did you compile up cgiwrap, and whats the configuration in your webserver? Tuc |