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

Re: WTF is up with apache?!



> Your cgi script is not in the doc root that
> suexec was compiled with...

Yep, but why did it work before. I suspect that the previous admin hacked
suexec.c So here I go :-) again.
 
> On Sat, 11 Dec 1999, Technical Support wrote:
> 
> > Well it deapens. I actually moved the entire cgi-bin dir into www for this
> > domain. removed the script alias line and replaced it with 
> > 
> > XBitHack On
> > 
> > Same thing. This gets old.
> > 
> > On Sat, 11 Dec 1999, Technical Support wrote:
> > 
> > > So I get the suexec to the point where apache actually sees it and now it
> > > is chocking on all the scriptaliases in the confiles. Here is an example:
> > > 
> > > # www.decorwholesale.com
> > > <VirtualHost 209.113.139.223>
> > > User omeganet                
> > > Group email
> > > ServerAdmin admin@acornworld.net
> > > DocumentRoot /home/decorwholesale.com/www
> > > ServerName www.decorwholesale.com
> > > ErrorLog /home/decorwholesale.com/log/error.log
> > > TransferLog /home/decorwholesale.com/log/access.log
> > > ScriptAlias /cgi-bin/ /home/decorwholesale.com/cgi-bin/
> > > </VirtualHost>                  
> > > 
> > > This is directly from the file. THIS WORKED FINE until the last update.
> > > With this set up I get the following (tabs added for clarity):
> > > 
> > > ==> /var/log/apache/suexec.log <==
> > > [1999-12-11 13:33:01]: uid: (omeganet/omeganet) gid: (email/email) cmd:
> > > 	test.pl
> > > [1999-12-11 13:33:01]: command not in docroot
> > > 	(/home/decorwholesale.com/cgi-bin/secure/test.pl)
> > > 
> > > ==> /home/decorwholesale.com/log/access.log <==
> > > 209.105.152.7 - - [11/Dec/1999:13:33:01 -0500] "GET
> > > 	/cgi-bin/secure/test.pl HTTP/1.0" 500 528
> > > 
> > > ==> /home/decorwholesale.com/log/error.log <==
> > > [Sat Dec 11 13:33:01 1999] [error] [client 209.105.152.7] Premature end of
> > > 	script headers: /home/decorwholesale.com/cgi-bin/secure/test.pl
> > > 
> > > Here is test.pl:
> > > 
> > > www:/home/decorwholesale.com/cgi-bin# ls -l secure/test.pl 
> > > -rwxr-xr-x    1 omeganet email         342 Dec 11 12:36 secure/test.pl
> > > www:/home/decorwholesale.com/cgi-bin# cat secure/test.pl 
> > > #!/usr/bin/perl
> > > print "Content-type: text/html\n\n";
> > > 
> > > print <<HTMLF;
> > > <HTML>
> > > <HEAD>
> > > <TITLE></TITLE>
> > > <META name="description" content="">
> > > <META name="keywords" content="">
> > > <META name="generator" content="CuteHTML">
> > > </HEAD>
> > > <BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#800080">
> > > Test Function
> > > </BODY>
> > > </HTML>
> > > HTMLF
> > > 
> > > Again a perfectly working cgi until the update. 
> > > 
> > > Can any one see anything that I am missing or miss understanding?
> > > 
> > > TIA
> > > -----------------------------------------------------
> > > Jaysen O'Dell 
> > > 
> > >    Oatka Data Solutions
> > >         Technical Support -- <tech@oatka.net>
> > > 
> > >    AcornWorld Internet Services 
> > >         System Administrator <sysadmin@acornworld.net>
> > > 
> > > 
> > > 
> > > --  
> > > To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
> > > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> > > 
> > > 
> > 
> > -----------------------------------------------------
> > Jaysen O'Dell 
> > 
> >    Oatka Data Solutions
> >         Technical Support -- <tech@oatka.net>
> > 
> >    AcornWorld Internet Services 
> >         System Administrator <sysadmin@acornworld.net>
> > 
> > 
> > 
> > --  
> > To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> > 
> > 
> 

-----------------------------------------------------
Jaysen O'Dell 

   Oatka Data Solutions
        Technical Support -- <tech@oatka.net>

   AcornWorld Internet Services 
        System Administrator <sysadmin@acornworld.net>



Reply to: