Re: Apache, CGI, and LXR troubles

2001-04-30 Thread Viktor Rosenfeld
Hi, the Debian community is the Greatest! I thought, I was alone with my troubles, but you hit it directly on the spot! will trillich wrote: > wild stab -- you do have execute permissions set, right? > > chmod +x fileone anotherfile yet/more/files/here This one was okay (of course :).

Re: Apache, CGI, and LXR troubles

2001-04-30 Thread will trillich
On Sat, Apr 28, 2001 at 02:06:31PM +0200, Viktor Rosenfeld wrote: > I recently asked about a source code cross reference programm and > decided to give LXR (http://lxr.linux.no/) a try. Well, it uses some > CGI scripts which are located in /usr/local/lxr/http. I have symlinked > this directory to

Apache, CGI, and LXR troubles

2001-04-28 Thread Viktor Rosenfeld
Hello folks, I recently asked about a source code cross reference programm and decided to give LXR (http://lxr.linux.no/) a try. Well, it uses some CGI scripts which are located in /usr/local/lxr/http. I have symlinked this directory to /var/www/lxr, so it is in Apache's document tree. In the I

Re: apache+cgi+php+ssi

2001-04-07 Thread will trillich
On Tue, Apr 03, 2001 at 09:33:14PM -0700, Nicole Zimmerman wrote: > HTML (.shtml) sites say: > [an error occurred while processing this directive] > > The apache logs say: > [Tue Apr 3 21:15:40 2001] [error] [client 1.2.3.4] Premature end > of script headers: /directory/cgi-bin/file.cgi this is u

Re: apache+cgi+php+ssi

2001-04-05 Thread Rogelio E. Castillo Haro
Hi, We have a problem with ftp transfers, when I try to upload or download information to a web site a lot of information the transfer breakdown just say connection closed. I'm use wu_ftp as my ftp server on my linux box and as client I try with gftp and ncftp and nothing. I'm trying to upload a lo

apache+cgi+php+ssi

2001-04-03 Thread Nicole Zimmerman
I have a website that includes a "virtual" SSI directive for site statistics. This worked for a long time, and it still *sort of* works, but within the last week I have had some strange problems. Things work within the local network, as far as I can tell (I have checked on my computer and my husb

Re: Apache/CGI new error?

2000-12-10 Thread Eirik Dentz
Hmm, I'm not completely sure about this, since I'm relatively inexperienced with apache, but I think that part of your problem with suexec, might be that it was compiled with /var/www as its document root. (I thought that you had found some way to change the layout for Apache and suexec by recompi

Re: Apache/CGI new error?

2000-12-10 Thread Eirik Dentz
I don't know if you've seen this article or not, but along with the suexec documentation at apache.org, I found it to be very helpful while I was setting up apache with suexec for a RedHat system at work. http://www.linuxplanet.com/linuxplanet/tutorials/1445/1/ I've been trying to set up apache

Re: Apache/CGI new error?

2000-12-10 Thread Nate Amsden
Eireann Lewy wrote: > > Okay... well, I changed the script somewhat and it should have worked > but didn't. When I looked in suexec.log, I found this: i always found suexec to be more of a pain then its worth..i always turn it off on my boxes. try it, the script will probably work then :) nate

Apache/CGI new error?

2000-12-10 Thread Eireann Lewy
Okay... well, I changed the script somewhat and it should have worked but didn't. When I looked in suexec.log, I found this: [2000-12-10 12:36:36]: uid: (max/max) gid: (max/max) cmd: finger.cgi [2000-12-10 12:36:36]: cannot get docroot information (/home/max) This is the guy who has the script I

Re: Apache- CGI

2000-10-13 Thread staf wagemakers
On Fri, Oct 13, 2000 at 01:44:28PM -0400, Eileen Orbell wrote: > I installed the apache module yesterday using apt-get. > I have just changed to debian as RH was getting me down. Anyway's I edited > the httpd.conf file and see no mention of "CGI" at all. In RH The lines > were already in the co

Re: Apache- CGI

2000-10-13 Thread Gary Hennigan
Eileen Orbell <[EMAIL PROTECTED]> writes: > I installed the apache module yesterday using apt-get. > I have just changed to debian as RH was getting me down. Anyway's I > edited the httpd.conf file and see no mention of "CGI" at all. In RH > The lines were already in the conf file I just needed t

Apache- CGI

2000-10-13 Thread Eileen Orbell
Hi, I installed the apache module yesterday using apt-get. I have just changed to debian as RH was getting me down. Anyway's I edited the httpd.conf file and see no mention of "CGI" at all. In RH The lines were already in the conf file I just needed to edit them to my needs. Also 1 more deb

Apache - CGI

2000-08-17 Thread Gregor Mocnik
How do I enable CGI execution in directories other than ScriptAlias? I have Debian Slink, apache 1.3.9, and kernel 2.2.3. In ScriptAlias directory it works just fine! In srm.conf I do this: AddHandler cgi-script .cgi In access.conf I add this: Let's I want to enable it in all users home directo

Re: apache + cgi

1999-10-19 Thread aphro
usually i just kill apache, set the ulimit (ulimit -u 40) and restart apache. you could prob do this in the rc script too. i'll check out the rlimit directives, but that sounds like an apache thing. i feel safer with a system level limiter. and kernel patches i have applied ensure they are enfo

Re: apache + cgi

1999-10-19 Thread Pere Camps
Aphro, > i have found that ulimit works very well with apache. i have my default > ulimit set to a max of 12 processes per user, but with apache i gotta > increase it to 40-50 before i start it or it may puke with cannot spawn > child process on some cgis. How do you ulimit apache? Editi

Re: apache + cgi

1999-10-19 Thread aphro
i have found that ulimit works very well with apache. i have my default ulimit set to a max of 12 processes per user, but with apache i gotta increase it to 40-50 before i start it or it may puke with cannot spawn child process on some cgis. nate [mailto:[

Re: Limiting cgi resource usage (was Re: apache + cgi)

1999-10-19 Thread Pere Camps
Joe, > Use cgiwrap. You can configure exactly how much cpu they get to use. > I used it on a solaris machine that we were teaching a course on digital > media on, and magically the load problems disappeared. There's a deb package for it too. The problem is that it has a not standard log

Limiting cgi resource usage (was Re: apache + cgi)

1999-10-19 Thread Joe Block
On Tue, Oct 19, 1999 at 02:08:02AM +0200, Pere Camps wrote: > Nathan, > > If you want to limit by actual clock time, you could use alarm and catch > > the signal (I know how to do it in Perl; I'd have to stumble a bit to do > > the same thing in C :) This unfortunately relies on good coding practi

Re: apache + cgi

1999-10-19 Thread Mojahedul Hoque Abul Hasanat
On Tue, Oct 19, 1999 at 12:42:10AM +0200, Pere Camps wrote: > Hi! > > Is there any way to limit the execution time/child processes > of an CGI executed by apache? Use the directives RLimitCPU, RLimitNPROC, RLimitMEM, etc in the apache config file. See the docs for details. Alternatively you cou

Re: apache + cgi

1999-10-19 Thread Pere Camps
Brian, > Perhaps you can set the ulimit manually (don't ask me how to do > this from C...). And make Apache use those values for every son with user www-data that it breeds? ... too much work. :-/ > This is only read (AFAIK) by /bin/login. It doesn't even work for ssh > logins (I could b

Re: apache + cgi

1999-10-19 Thread Pere Camps
Nathan, > :Apache United Enterprise? ;) > Advanced Programming in the UNIX Environment. Don't have that one. Myself: K&R C 2nd edition, man pages and looking at tons of .c files. > I'm very interested in your problem since I see that to some degree I > have the same problem :)

Re: apache + cgi

1999-10-19 Thread Nathan E Norman
On Tue, 19 Oct 1999, Pere Camps wrote: : Nathan, [ snip ] : > For further ideas I'd have to grab my APUE by Stevens (an excellent : > book!) : : Apache United Enterprise? ;) Advanced Programming in the UNIX Environment. I'm very interested in your problem since I see that to some de

Re: apache + cgi

1999-10-19 Thread Pere Camps
Nathan, > If you want to limit by actual clock time, you could use alarm and catch > the signal (I know how to do it in Perl; I'd have to stumble a bit to do > the same thing in C :) The problem is that I have an 'untrusted' user base I everything has to be implemented by the parent proce

Re: apache + cgi

1999-10-18 Thread Nathan E Norman
On Tue, 19 Oct 1999, Pere Camps wrote: : Hi! : : Is there any way to limit the execution time/child processes of an : CGI executed by apache? : : I want apache to be able to run the following... : : void main(void) : { : while (1) { : fork() : } : } : :

Re: apache + cgi

1999-10-18 Thread Brian May
In article <[EMAIL PROTECTED]> you write: > Is there any way to limit the execution time/child processes of an >CGI executed by apache? > > I want apache to be able to run the following... > >void main(void) >{ >while (1) { > fork() > } >} Perhaps you can set the ulimit ma

apache + cgi

1999-10-18 Thread Pere Camps
Hi! Is there any way to limit the execution time/child processes of an CGI executed by apache? I want apache to be able to run the following... void main(void) { while (1) { fork() } } And after too much time of CPU usage and/or child processes,

Re: Apache, cgi, and users...

1999-09-25 Thread Ron Farrer
Wim Kerkhoff ([EMAIL PROTECTED]) wrote: > I put this in httpd.conf, to allow .cgi and .pl files to run. I believe I > found this somewhere in the online manual at apache.org. > > > Options ExecCGI Includes > > Hello, thanks for replying! I added this to access.conf (I'm running the stock sl

RE: Apache, cgi, and users...

1999-09-24 Thread Wim Kerkhoff
On 24-Sep-99 Ron Farrer wrote: > Hello all; > > How can I setup apache to allow cgi (.cgi, .pl, C/C++, etc) to run in users > 'public_html' dirs? I've looked for this in > various HOWTO's and the apache manuals, but I don't see this anywhere. If > I've missed this in a doc, PLEASE tell where to >

Apache, cgi, and users...

1999-09-24 Thread Ron Farrer
Hello all; How can I setup apache to allow cgi (.cgi, .pl, C/C++, etc) to run in users 'public_html' dirs? I've looked for this in various HOWTO's and the apache manuals, but I don't see this anywhere. If I've missed this in a doc, PLEASE tell where to find it! Please CC me as I am a digest sub

Re: Apache + CGI

1997-07-28 Thread Jakob Borg
-BEGIN PGP SIGNED MESSAGE- On Fri, 25 Jul 1997, Glynn Clements wrote: > Date: Fri, 25 Jul 1997 14:26:23 +0100 > From: Glynn Clements <[EMAIL PROTECTED]> > To: Jakob Borg <[EMAIL PROTECTED]> > Cc: "" <[EMAIL PROTECTED]> > Subject: Re: Apache +

Re: Apache + CGI

1997-07-28 Thread Glynn Clements
Jakob Borg wrote: > I got the impression that IncludesNOEXEC was the feature I needed and > solved my problem. I (my users) can still use the #include virtual="" to > user "legitimate" CGIs. Is that not so? The mod_include documentation says this: include This command inserts the t

Re: Apache + CGI

1997-07-24 Thread Leigh Koven
On Wed, 23 Jul 1997, Jakob Borg wrote: > Hi. > > I want to enable the users of my webserver to use certain CGI-scripts > (provided by me) by using mod_include. > To do that, one would use the tag , > but one could also use the . > That last possiblity is what I want to eliminate. One way would be

Re: Apache + CGI

1997-07-23 Thread Karl Ferguson
At 11:41 AM 23/07/97 +0001, Jakob Borg wrote: >I want to enable the users of my webserver to use certain CGI-scripts >(provided by me) by using mod_include. >To do that, one would use the tag , >but one could also use the . >That last possiblity is what I want to eliminate. One way would be to >rem

Apache + CGI

1997-07-23 Thread Jakob Borg
-BEGIN PGP SIGNED MESSAGE- Hi. I want to enable the users of my webserver to use certain CGI-scripts (provided by me) by using mod_include. To do that, one would use the tag , but one could also use the . That last possiblity is what I want to eliminate. One way would be to remove /bin/sh