Re: [cgiwrap-users] Argh.... File not found!
Brought to you by:
nneul
From: Tuc <tt...@tt...> - 2000-08-23 18:07:02
|
> > Huh. Where'd you get the idea that ScriptAlias is useless when you're using > cgiwrap? That's the standard way of installing and using cgiwrap. There is > nothing preventing you from using additional scriptalias configs in addition > to cgiwrap. > As long as it doesn't pertain to something CGIwrapped. Try this... 1) Create a directory called /home/euser/lcgi-bin 2) Create a VH configured something like : <VirtualHost www.example.com> ServerAdmin web...@tt... DocumentRoot /home/euser ServerName www.example.com UserDir disabled ErrorLog "|/usr/local/bin/cronolog /usr/local/logs/%Y%m%d/example-error_log" TransferLog "|/usr/local/bin/cronolog /usr/local/logs/%Y%m%d/example-access_log" HostnameLookups off IdentityCheck off <Location /lcgi-bin> Action cgi-wrapper /cgi-bin/cgiwrap/euser SetHandler cgi-wrapper </Location> ScriptAlias /dlcgi-bin/ /disk/lemail/lcgi-bin/ <Location /dlcgi-bin> Action cgi-wrapper /cgi-bin/cgiwrapd/euser SetHandler cgi-wrapper </VirtualHost> If I do http://www.example.com/dlcgi-bin/monitor.pl (Small program to echo DOCUMENT ROOT) I get : 404 Not Found Not Found The requested URL /cgi-bin/cgiwrapd/euser/dlcgi-bin/monitor.pl was not found on this server. It appears that the server abided by the /dlcgi-bin/, granted, but when cgiwrap got a hold of it, it didn't do the ScriptAlias. If I create a dlcgi-bin directory, and put it in there, THEN it works, but then the ScriptAlias is unnecessary. Tuc/TTSG > -- Nathan > > > -----Original Message----- > > From: Tuc [mailto:tt...@tt...] > > Sent: Wednesday, August 23, 2000 12:39 PM > > To: ra...@mi... > > Cc: cg...@ro... > > Subject: Re: [cgiwrap-users] Argh.... File not found! > > > > > > > > > > Hey, > > > > > > I'm having some trouble using CGIWrap on my Cobalt RaQ2 > > unit. I have a > > > global cgi-bin set up with the following directive in > > > /etc/httpd/conf/httpd.conf: > > > > > > ScriptAlias /cgiGlobal/ /home/sites/cgi-global > > > > > > I placed a script called "test.cgi" in > > /home/sites/cgi-global and tried to > > > execute it through the web browser but I always get a "File > > Not Found" error. > > > > > > I have tried changing the owner and group to both root and > > the user name, > > > admin. The directory is chmod 755 as is the script. > > > > > > I have also used: > > > > > > ScriptAlias /cgiGlobal/ /home/sites/cgi-global/ > > > > > > to get a "CGIwrap Error: script dir not found" error. > > > > > > Can anybody offer any suggestions? Pretty please? :-) > > > > > Funny you mention this. I was just talking to someone about it. > > > > ScriptAlias seems to be useless if your using cgiwrap. > > > > Tuc/TTSG > > > > _______________________________________________ > > cgiwrap-users mailing list > > cgi...@li... > > http://lists.sourceforge.net/mailman/listinfo/cgiwrap-users > > > > _______________________________________________ > cgiwrap-users mailing list > cgi...@li... > http://lists.sourceforge.net/mailman/listinfo/cgiwrap-users > |