Re: [cgiwrap-users] CGIWrap On Non-User Directories
Brought to you by:
nneul
From: Tuc at T-B-O-H.N. <ml...@t-...> - 2008-04-11 23:51:09
|
Hi, Still not sure how your environment is set up. Are you talking "~" based users, or Virtual Hosts for each user, or just "/directorypath/"? Are these scripts in a "centralized" directory? I'm not following how the script, if it isn't in the users home directory, is supposed to know what user to run as... Thanks, Tuc > > 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 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > cgiwrap-users mailing list > cgi...@li... > https://lists.sourceforge.net/lists/listinfo/cgiwrap-users > |