apache2 exited when accessing to type-map wrapped CGI

2022-09-29 Thread Shintaro Sakahara
Hi, I recently upgraded my server from Debian 10 to 11 and encountered a problem where apache2 crashed when a URL to type-map without ".var" suffix was getting accessed. I created a small example using Docker and put on GitHub so that everyone could easily reproduce this problem. https://github.c

Re: setting up Apache2 to execute cgi-bin perl scripts [SOLVED]

2020-07-31 Thread Gary Dale
On 2020-07-31 11:32, Henning Follmann wrote: On Fri, Jul 31, 2020 at 11:12:53AM -0400, Gary Dale wrote: My server is running Debian/Stable on an AMD64 system. I'm trying to set up its local Apache2 service to execute cgi-bin scripts but I'm having some problems getting it to work. I

Re: setting up Apache2 to execute cgi-bin perl scripts

2020-07-31 Thread Henning Follmann
On Fri, Jul 31, 2020 at 11:12:53AM -0400, Gary Dale wrote: > My server is running Debian/Stable on an AMD64 system. > > I'm trying to set up its local Apache2 service to execute cgi-bin scripts > but I'm having some problems getting it to work. > > I note that /etc/a

setting up Apache2 to execute cgi-bin perl scripts

2020-07-31 Thread Gary Dale
My server is running Debian/Stable on an AMD64 system. I'm trying to set up its local Apache2 service to execute cgi-bin scripts but I'm having some problems getting it to work. I note that /etc/apache2/conf-enabled contains a link to /etc/apache2/conf-available/serve-cgi-bin.c

Re: Programming pointer? -- options to run Python3 from web page (not via Flask/cgi/Django)

2019-07-26 Thread deb
On 7/25/19 11:27 PM, Carl Fink wrote: On 7/25/19 11:23 PM, deb wrote: On 7/25/19 6:45 PM, Carl Fink wrote: Is there any specific reason you don't just use mod_python, to remove the overhead of a CGI script? Lack of knowledge only. If I can use mod_python to get that one script t

Re: Programming pointer? -- options to run Python3 from web page (not via Flask/cgi/Django)

2019-07-25 Thread Carl Fink
On 7/25/19 11:23 PM, deb wrote: On 7/25/19 6:45 PM, Carl Fink wrote: Is there any specific reason you don't just use mod_python, to remove the overhead of a CGI script? Lack of knowledge only. If I can use mod_python to get that one script to run, I'd be mighty happy. I coul

Re: Programming pointer? -- options to run Python3 from web page (not via Flask/cgi/Django)

2019-07-25 Thread deb
On 7/25/19 6:45 PM, Carl Fink wrote: On 7/25/19 5:06 PM, Joel Roth wrote: On Wed, Jul 24, 2019 at 02:16:09PM -0400, deb wrote: I have a large static html/AJAX .js apache2 site. If I want to have a server-side script just to handle a contact and push mail out; is there a non-(Django/cgi

Re: Programming pointer? -- options to run Python3 from web page (not via Flask/cgi/Django)

2019-07-25 Thread Carl Fink
On 7/25/19 5:06 PM, Joel Roth wrote: On Wed, Jul 24, 2019 at 02:16:09PM -0400, deb wrote: I have a large static html/AJAX .js apache2 site. If I want to have a server-side script just to handle a contact and push mail out; is there a non-(Django/cgi**/Flask) way to run a small Python3 script

Re: Programming pointer? -- options to run Python3 from web page (not via Flask/cgi/Django)

2019-07-25 Thread Joel Roth
On Wed, Jul 24, 2019 at 02:16:09PM -0400, deb wrote: > > I have a large static html/AJAX .js apache2 site. > > If I want to have a server-side script just to > handle a contact and push mail out; > is there a non-(Django/cgi**/Flask) way to > run a small Python3 script to d

Programming pointer? -- options to run Python3 from web page (not via Flask/cgi/Django)

2019-07-24 Thread deb
I have a large static html/AJAX .js apache2 site. If I want to have a server-side script just to handle a contact and push mail out; is there a non-(Django/cgi**/Flask) way to run a small Python3 script to do this? The python3 mail script already works standalone (tests out fine from CLI

Re: cgi and bash

2017-09-07 Thread Darac Marjal
On Thu, Sep 07, 2017 at 01:46:50PM +0200, Pol Hallen wrote: Hello all I try to formatting out put cat command cat /usr/lib/cgi-bin/test00.cgi #!/bin/bash echo "Content-type: text/html" cat /tmp/file results is: one two three four How format output like a bash script (with newl

Re: cgi and bash

2017-09-07 Thread Nicolas George
Le primidi 21 fructidor, an CCXXV, Max a écrit : > cat /tmp/file > > one > two > three > four This is not HTML, yet you pretend it is. Make it consistent. It has nothing to do with Bash nor CGI. Regards, -- Nicolas George signature.asc Description: Digital signature

Re: cgi and bash

2017-09-07 Thread Max
I need use html Pol On 09/07/2017 02:05 PM, Dominique Dumont wrote: On Thursday, 7 September 2017 13:46:50 CEST Pol Hallen wrote: How format output like a bash script (with newline)? You can try to set your cgi script to use text/plain content type instead of text/html HTH -- Max

Re: cgi and bash

2017-09-07 Thread Dominique Dumont
On Thursday, 7 September 2017 14:09:19 CEST Max wrote: > I need use html Then have your script output HTML with tags like ... HTH -- https://github.com/dod38fr/ -o- http://search.cpan.org/~ddumont/ http://ddumont.wordpress.com/ -o- irc: dod at irc.debian.org

Re: cgi and bash

2017-09-07 Thread Max
cat /tmp/file one two three four Pol cat /tmp/file Could we perhaps see the contents of this file? Regards, -- Max

Re: cgi and bash

2017-09-07 Thread Dominique Dumont
On Thursday, 7 September 2017 13:46:50 CEST Pol Hallen wrote: > How format output like a bash script (with newline)? You can try to set your cgi script to use text/plain content type instead of text/html HTH -- https://github.com/dod38fr/ -o- http://search.cpan.org/~ddumont/ h

Re: cgi and bash

2017-09-07 Thread Nicolas George
Le primidi 21 fructidor, an CCXXV, Pol Hallen a écrit : > cat /tmp/file Could we perhaps see the contents of this file? Regards, -- Nicolas George signature.asc Description: Digital signature

cgi and bash

2017-09-07 Thread Pol Hallen
Hello all I try to formatting out put cat command cat /usr/lib/cgi-bin/test00.cgi #!/bin/bash echo "Content-type: text/html" cat /tmp/file results is: one two three four How format output like a bash script (with newline)? one two three four thanks for help! :) Pol

Re: compiled php 5.5.20 throws error [RewriteRule directive is forbidden: /usr/lib/cgi-bin/php55-cgi]

2015-01-04 Thread Jochen Spieker
Bob: > > [Thu Jan 01 09:03:22 2015] [error] [client 192.168.1.116] Options > FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule > directive is forbidden: /usr/lib/cgi-bin/php55-cgi AFAICT, this error is completely unrelated to PHP. My guess would be

compiled php 5.5.20 throws error [RewriteRule directive is forbidden: /usr/lib/cgi-bin/php55-cgi]

2015-01-04 Thread Bob
Dear list, I am already messed-up compiling php 5.5.20 as cgi module and seeking your kind guidance to put the things back on track. I have compiled php 5.5.20 on debian (wheezy) 7.7 The objective is to allow some websites run with php 5.5.x as cgi module The source code is located at /usr

Re: alsa-utils save / restore not working http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768665

2014-11-09 Thread Joel Roth
Karl E. Jorgensen wrote: > > Where are the state of the sound card(s) saved / restored? > > I don't use alsa-utils, but based on my understanding of the FHS, I'd > expect somewhere under /var/lib/alsa-utils. > > But from reading the bug report, I'm led to believe it is > /var/lib/alsa/asound.stat

SOLVED - Re: alsa-utils save / restore not working http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768665

2014-11-09 Thread Arthur Marsh
Karl E. Jorgensen wrote on 09/11/14 20:04: Hi On Sun, Nov 09, 2014 at 06:12:32PM +1030, Arthur Marsh wrote: Pardon me, but I'm a bit frustrated on how to debug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768665 does /var/run get saved across reboots? I would not expect so.

Re: alsa-utils save / restore not working http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768665

2014-11-09 Thread Karl E. Jorgensen
Hi On Sun, Nov 09, 2014 at 06:12:32PM +1030, Arthur Marsh wrote: > Pardon me, but I'm a bit frustrated on how to debug > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768665 > > does /var/run get saved across reboots? I would not expect so. http://www.pathname.com/fhs/

alsa-utils save / restore not working http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768665

2014-11-08 Thread Arthur Marsh
Pardon me, but I'm a bit frustrated on how to debug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768665 does /var/run get saved across reboots? Where are the state of the sound card(s) saved / restored? How can one increase debugging to see whether it is happening or not? What deter

Re: Having trouble allowing cgi script on jessie

2014-08-31 Thread Chris
On 08/26/2014 01:42 AM, Harry Putnam wrote: > Can anyone coach me toward running a really small web service on my > home lan that allows cgi in any directory? You could enable debug logging and post log entries. Is mod-cgi enabled? -- Christian -- To UNSUBSCRIBE, email to debian-use

Re: Having trouble allowing cgi script on jessie

2014-08-25 Thread John Bleichert
On 08/25/2014 07:42 PM, Harry Putnam wrote: Running jessie with apache2-2.4.10-1 < major snip > I've been running apache/cgi on wheezy for quite a while (apache 2.2) and FreeBSD before that. I tried mod_perl with apache 2.4 and could not get it to work. As far as I can tell th

Having trouble allowing cgi script on jessie

2014-08-25 Thread Harry Putnam
Running jessie with apache2-2.4.10-1 Haven't run a web server on my home lan for a while so trying to get that working. Starting with the default installed setup: I can hit the default home page and my *html stuff just fine. However it seems *.cgi scripts are not allowed to fire.

Re: Bug#736258: acpid won't stop, won't upgrade (systemd) - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736258

2014-08-10 Thread Henrique de Moraes Holschuh
On Sun, 10 Aug 2014, Russ Allbery wrote: > To take a step back, I think this is a fair summary of the discussion. > Please let me know if you disagree: ... I agree to all points. It is a fair summary. > I think you've convinced me that the approach of stopping a socket by the > same name when s

Re: Bug#736258: acpid won't stop, won't upgrade (systemd) - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736258

2014-08-10 Thread Russ Allbery
Sorry about the delay in responding. Henrique de Moraes Holschuh writes: > Large time outs can cause bad side-efects on surprising ways. If the > socket is down, you get an immediate connection refused reply, which > short-circuits the time out. > As this is a generic feature, we could be talk

Re: Bug#736258: acpid won't stop, won't upgrade (systemd) - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736258

2014-08-03 Thread Tom H
On Sat, Aug 2, 2014 at 8:53 PM, Chris Bannister wrote: > > [snip] > > Is there a reason debian-user is subscribed to this bug report? Please don't top-post. Probably because it's a debian-user@ thread that resulted in the the bug report and we were added to the cc as a (thoughtful) courtesy. -

Re: Bug#736258: acpid won't stop, won't upgrade (systemd) - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736258

2014-08-02 Thread Chris Bannister
Is there a reason debian-user is subscribed to this bug report? On Sat, Aug 02, 2014 at 10:42:38AM -0700, Russ Allbery wrote: > Jonathan de Boyne Pollard > writes: [snip] -- "If you're not careful, the newspapers will have you hating the people who are being oppressed, and loving the people w

Re: Bug#736258: acpid won't stop, won't upgrade (systemd) - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736258

2014-08-02 Thread Henrique de Moraes Holschuh
On Sat, 02 Aug 2014, Russ Allbery wrote: > Henrique de Moraes Holschuh writes: > > Services being subject to a package update can be down for extended > > amounts of time (think package update that requires manual intervention, > > or even a full manual reconfiguration, etc), or may actually invol

Re: Bug#736258: acpid won't stop, won't upgrade (systemd) - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736258

2014-08-02 Thread Russ Allbery
Henrique de Moraes Holschuh writes: > Services being subject to a package update can be down for extended > amounts of time (think package update that requires manual intervention, > or even a full manual reconfiguration, etc), or may actually involve an > ABI break. In both cases, you want that

Re: Bug#736258: acpid won't stop, won't upgrade (systemd) - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736258

2014-08-02 Thread Henrique de Moraes Holschuh
On Sat, 02 Aug 2014, Russ Allbery wrote: > Jonathan de Boyne Pollard > writes: > > And bugs #734766 and #734848 tell one the answer, which is that in order > > to preserve its existing conceptual model that there is just the one > > thing (named simply "acpid") invoke-rc.d should pull out the "soc

Re: Bug#736258: acpid won't stop, won't upgrade (systemd) - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736258

2014-08-02 Thread Russ Allbery
Jonathan de Boyne Pollard writes: > And bugs #734766 and #734848 tell one the answer, which is that in order > to preserve its existing conceptual model that there is just the one > thing (named simply "acpid") invoke-rc.d should pull out the "socket" > from the "service" by looking for a "Trigge

Re: acpid won't stop, won't upgrade (systemd) - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736258

2014-07-28 Thread Jonathan de Boyne Pollard
ZH> $ sudo systemctl stop acpid ZH> Job for acpid.service canceled. ... because, as noted, it's a socket-activated service, which actually makes it two separately startable and stoppable things ("acpid.service" and "acpid.socket") in the world of systemd, only one of which is being stopped when yo

Re: acpid won't stop, won't upgrade (systemd) - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736258

2014-07-26 Thread Henrique de Moraes Holschuh
Bug #736258 reopened, set to severity grave, and reassigned to systemd for further processing and action. Full explanation added to the bug report and CC'd to the bug report and to the systemd maintainers. -- "One disk to rule them all, One disk to find them. One disk to bring them all and i

Re: acpid won't stop, won't upgrade (systemd) - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736258

2014-07-26 Thread Michael Biebl
el [1] http://sources.debian.net/src/sysvinit/2.88dsf-53.2/debian/service/service#L191 [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751741 -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? signature.asc Description: OpenPGP digital signature

Re: acpid won't stop, won't upgrade (systemd) - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736258

2014-07-26 Thread Henrique de Moraes Holschuh
On Sat, 26 Jul 2014, Zenaan Harkness wrote: > Interrelated problem A: > $ ps aux|egrep -i acpid > root 318 0.0 0.0 0 0 ?S< 12:40 0:00 [ktpacpid] > root 19855 0.0 0.0 4372 972 ?Ss 17:45 0:00 > /usr/sbin/acpid > $ sudo systemctl stop acpid > Job for

acpid won't stop, won't upgrade (systemd) - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736258

2014-07-26 Thread Zenaan Harkness
script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/acpid_1%3a2.0.22-3_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Possibly the bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736258 Been happening the past week or so (

Re: Apache 2.4 and Icinga CGI scripts download instead of executing.

2013-09-09 Thread Jim Barber
Well it's always after you give up and and ask for help that you find the answer. A browser restart resulted in it no longer trying to download the CGI files. Also the change I made to the icinga.conf file was wrong since having 'Request all granted' means the 'Require vali

Apache 2.4 and Icinga CGI scripts download instead of executing.

2013-09-09 Thread Jim Barber
an hosts and managed to get their web sites running okay. After doing the above the Munin web site works okay and so does the Icinga-Web PHP based site. But the Icinga Classic UI that uses CGI is not working. When I go to any page there, my web browser wants to download the cgi script inste

Re: no cgi-bin program

2012-12-07 Thread Chris Bannister
On Fri, Dec 07, 2012 at 10:28:08AM +0100, abdelkader belahcene wrote: > *Hi, > I installed the apache2 from the wheezy distro, > apache2, php5 mysql everything ran correctly but cgi failed. http://www.catb.org/~esr/faqs/smart-questions.html > The module is loaded I mean the

[OT] Re: CGI Scripts

2012-07-02 Thread Camaleón
On Sun, 01 Jul 2012 17:05:51 -0400, Ethan Rosenberg wrote: > 1] Where should I put the CGI scripts that I write Inside a directory with the right perms and accessable by your web server. > 2] Where should the Scriptalias be located and what should be its > structure. That's

Re: CGI Scripts

2012-07-01 Thread David Christensen
On 07/01/12 14:05, Ethan Rosenberg wrote: 1] Where should I put the CGI scripts that I write 2] Where should the Scriptalias be located and what should be its structure. 3] How should I run my CGI scripts. Assuming you have installed the "apache2" package, the configuration files

Re: CGI Scripts

2012-07-01 Thread Joe
On Sun, 01 Jul 2012 17:05:51 -0400 Ethan Rosenberg wrote: > Dear List - > > 1] Where should I put the CGI scripts that I write > 2] Where should the Scriptalias be located and what should be its > structure. 3] How should I run my CGI scripts. > > I have searched on Goog

CGI Scripts

2012-07-01 Thread Ethan Rosenberg
Dear List - 1] Where should I put the CGI scripts that I write 2] Where should the Scriptalias be located and what should be its structure. 3] How should I run my CGI scripts. I have searched on Google and cannot find an [understandable] answer. Thanks. Ethan Rosennberg -- To UNSUBSCRIBE

Re: [1/8OT] How to open .cgi

2012-03-11 Thread Mark Neidorff
On Saturday 10 March 2012 10:50:14 pm David Christensen wrote: > On 03/10/2012 05:03 PM, Mark Neidorff wrote: > > You misunderstand CGI. It is a way that a script that generates a web > > page can have that page displayed in a browser window. CGI is internal > > to the we

Re: [1/8OT] How to open .cgi

2012-03-10 Thread David Christensen
On 03/10/2012 05:03 PM, Mark Neidorff wrote: You misunderstand CGI. It is a way that a script that generates a web page can have that page displayed in a browser window. CGI is internal to the web browser. You use a language like perl or whatever to generate the script that the web server

Re: [1/8OT] How to open .cgi

2012-03-10 Thread Mark Neidorff
On Wednesday 07 March 2012 11:53:02 pm lina wrote: > Hi, > > I don't know how to run .cgi in debian (or iceweasle) > > I put it in > > :/var/www/try$ ls -l > > total 4 > -rwxr-xr-x 1 root root 212 Mar 8 12:29 hello.cgi > > Thanks for any suggestions,

Re: [1/8OT] How to open .cgi

2012-03-09 Thread David Christensen
On 03/07/2012 11:47 PM, lina wrote: Do you use podwebserver? I use Apache: 2012-03-09 21:53:39 dpchrist@p43400e ~ $ sudo apache2 -v Server version: Apache/2.2.16 (Debian) Server built: Feb 5 2012 21:02:00 David -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian

Re: [1/8OT] How to open .cgi

2012-03-09 Thread David Christensen
On 03/07/2012 09:58 PM, lina wrote: # df -h /usr/lib/cgi-bin/ Filesystem Size Used Avail Use% Mounted on /dev/sda915G 7.2G 7.0G 51% /usr is the /usr/lib/cgi-bin/ big enough if keep those scripts there, or better use some links? 7.0 GB = 7.5 billion bytes (7.5E+09), which is

Re: [1/8OT] How to open .cgi

2012-03-07 Thread lina
On Thu, Mar 8, 2012 at 1:13 PM, David Christensen wrote: > On 03/07/2012 08:53 PM, lina wrote: >> >> I don't know how to run .cgi in debian (or iceweasle) > > > Start here: > >    http://wiki.debian.org/Apache > > > To install Apache, run the following

Re: [1/8OT] How to open .cgi

2012-03-07 Thread David Christensen
On 03/07/2012 08:53 PM, lina wrote: I don't know how to run .cgi in debian (or iceweasle) Start here: http://wiki.debian.org/Apache To install Apache, run the following command (as root): # apt-get install apache2 The file system location for CGI scripts is set in the A

Re: [1/8OT] How to open .cgi

2012-03-07 Thread Kelly Clowers
On Wed, Mar 7, 2012 at 20:53, lina wrote: > Hi, > > I don't know how to run .cgi in debian (or iceweasle) > > I put it in > > :/var/www/try$ ls -l > total 4 > -rwxr-xr-x 1 root root 212 Mar  8 12:29 hello.cgi > Do you have a web server with a cgi interf

[1/8OT] How to open .cgi

2012-03-07 Thread lina
Hi, I don't know how to run .cgi in debian (or iceweasle) I put it in :/var/www/try$ ls -l total 4 -rwxr-xr-x 1 root root 212 Mar 8 12:29 hello.cgi Thanks for any suggestions, Best regards, -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "u

Re: Is there any helper module to boost cgi performance ?

2011-12-24 Thread Bob Proulx
J. Bakshi wrote: > Something different !!! > You are right, the cgi is not the all_in_all culprit. > > I have done further investigation and found dedicated mysql server > introduces latency when remote mysql user connect with it. Hence > added > > skip-name-resolve unde

Re: Is there any helper module to boost cgi performance ?

2011-12-23 Thread J. Bakshi
On Fri, 23 Dec 2011 14:38:33 -0700 Bob Proulx wrote: > J. Bakshi wrote: > > But I need to continue with cgi as svn is based on web interface and > > also viewvc is there too. > > Note that viewvc can also be integrated using mod-python too. It > doesn't

Re: Is there any helper module to boost cgi performance ?

2011-12-23 Thread Bob Proulx
J. Bakshi wrote: > But I need to continue with cgi as svn is based on web interface and > also viewvc is there too. Note that viewvc can also be integrated using mod-python too. It doesn't require CGI. > Regarding performance... my bad... a simple php sites takes 30 sec > to

Re: Is there any helper module to boost cgi performance ?

2011-12-22 Thread J. Bakshi
On Thu, 22 Dec 2011 22:13:45 -0700 Bob Proulx wrote: > J. Bakshi wrote: > > The cgi in debian squeez terribly slow down apache. Is there any > > apache module which can speed up the cgi ? > > I know you are already aware of FastCGI. A lot of large high > performance

Re: Is there any helper module to boost cgi performance ?

2011-12-22 Thread Bob Proulx
J. Bakshi wrote: > The cgi in debian squeez terribly slow down apache. Is there any > apache module which can speed up the cgi ? I know you are already aware of FastCGI. A lot of large high performance sites use FastCGI and it should be as fast as anything. I tend to think of CGI as a qui

Is there any helper module to boost cgi performance ?

2011-12-22 Thread J. Bakshi
Dear list, The cgi in debian squeez terribly slow down apache. Is there any apache module which can speed up the cgi ? The modules already activated here are actions alias auth_basic auth_digest authn_alias authn_file authz_default authz_groupfile authz_host authz_owner authz_user autoindex

Re: php 5.2 as cgi automatically changes protocol !!!

2011-12-19 Thread Bob Proulx
J. Bakshi wrote: > > SSLOptions +StdEnvVars > > > SSLOptions +StdEnvVars > Pretty normal there. That is just telling apache to pass information through as environment variables. That isn't doing any redirects. > ScriptAlias /php5-cgi /usr/li

Re: php 5.2 as cgi automatically changes protocol !!!

2011-12-18 Thread J. Bakshi
On Fri, 16 Dec 2011 13:03:01 -0700 Bob Proulx wrote: > J. Bakshi wrote: > > Whenever I set any site to work with 5.2 cgi, the http:// protocol > > automatically changes to https:// and the link becomes as > > ... > > any clue is very much appreciated. > > You

Re: php 5.2 as cgi automatically changes protocol !!!

2011-12-16 Thread Bob Proulx
J. Bakshi wrote: > Whenever I set any site to work with 5.2 cgi, the http:// protocol > automatically changes to https:// and the link becomes as > ... > any clue is very much appreciated. You have something installed that is configured to require https and is generating an http redir

php 5.2 as cgi automatically changes protocol !!!

2011-12-15 Thread J. Bakshi
Dear list, I ma facing a strange problem in my debian squeeze box having apache and both php 5.3 as module + php 5.2 as cgi. Whenever I set any site to work with 5.2 cgi, the http:// protocol automatically changes to https:// and the link becomes as https://192.168.1.1/php5-cgi

Re: php 5.2 as cgi not working in debian 6.0

2011-11-04 Thread Camaleón
i.e. > > www-data:www-data > > still no luck yet !!! According to the guide you have provided, you need to check the permisions and ownership of: /usr/local/bin/php5.2/ /php5-cgi/ /php5-cgi/php52.fcgi And of course, your Apache2 setup has to be properly configured and the site(s)

Re: php 5.2 as cgi not working in debian 6.0

2011-11-04 Thread J. Bakshi
> >> And look if the filename extesion (.fgci) is a must for this setup, > >> maybe the web server is expecting such mimetype to be properly > >> processed :-? > >> > >> (...) > >> > > Ok.. then let me change it > > > > /us

Re: php 5.2 as cgi not working in debian 6.0

2011-11-03 Thread Camaleón
erly >> processed :-? >> >> (...) >> > Ok.. then let me change it > > /usr/lib/cgi-bin/php52/php5.fcgi > > and the /etc/apache2/php52.conf looks like > > ScriptAlias /cgi-bin /usr/lib/cgi-bin/php52/php5-cgi/ > Action application/x-httpd-php5 /cgi

Re: php 5.2 as cgi not working in debian 6.0

2011-11-03 Thread J. Bakshi
^^^ > > Is that path/file right? :-? urghh... sorry for the typo mistake. It should be /etc/apache2/php52.conf and it is already there at /etc/apache2/apache2.conf file as per the right path. > > > ScriptAlias /php5-cgi /usr/lib/cgi-bin/php52/php5-cgi >

Re: php 5.2 as cgi not working in debian 6.0

2011-11-02 Thread Camaleón
On Wed, 02 Nov 2011 17:24:53 +0530, J. Bakshi wrote: > I am now confused and need some enlightenment. I am trying to have php > 5.2.7 as cgi module so that when require.. I can also use php 5.2 with > some old php sites on this debian 6.0 server. Okay, I won't ask you why ar

php 5.2 as cgi not working in debian 6.0

2011-11-02 Thread J. Bakshi
Dear list, I am now confused and need some enlightenment. I am trying to have php 5.2.7 as cgi module so that when require.. I can also use php 5.2 with some old php sites on this debian 6.0 server. I am following http://blog.davejamesmiller.com/2011/03/how-to-install-php-5-2-fastcgi-on

Re: lighttpd - fastcgi-php - php5-cgi

2011-01-05 Thread Informatik.hu
It is working well! :) I was trying to make apache2 fcgid/fascgi with suexec or suphp working for two days.. :| With lighttpd + fastcgi_php + php5-cgi it is much more easy and fast! thanx! On 2011.01.05. 21:33, Bob Proulx wrote: Informatik.hu wrote: I would like use lighttpd with fastcgi

Re: lighttpd - fastcgi-php - php5-cgi

2011-01-05 Thread Bob Proulx
Informatik.hu wrote: > I would like use lighttpd with fastcgi-php. Fastcgi-php connects to > php5-cgi on 127.0.0.1:521. > I can start "php5-cgi -b 127.0.0.1:521" with root, but i would like > to run in with another user, like www-data. Ports below 1024 are available only

lighttpd - fastcgi-php - php5-cgi

2011-01-05 Thread Informatik.hu
Hi! I would like use lighttpd with fastcgi-php. Fastcgi-php connects to php5-cgi on 127.0.0.1:521. I can start "php5-cgi -b 127.0.0.1:521" with root, but i would like to run in with another user, like www-data. Exactly i want to run multiple php5-cgi with multiple user (different

Re: cgi-bin works with IP but not domain name

2010-11-11 Thread Zachary Uram
Ah I see. Thanks Jesús I have it working now :) Zach <>< http://www.fidei.org ><>

Re: cgi-bin works with IP but not domain name

2010-11-11 Thread Zachary Uram
Thanks for the idea Camaleón. Zach <>< http://www.fidei.org ><>

Re: cgi-bin works with IP but not domain name

2010-11-08 Thread Jesús M. Navarro
Hi, Zachary: On Monday 08 November 2010 11:54:17 Zachary Uram wrote: > I have various name based virtual hosts setup. They all work fine. > However if I try to run a script in /usr/lib/cgi-bin it fails when I > specify the domain name, but works if I specify my IP name (this is a >

Re: cgi-bin works with IP but not domain name

2010-11-08 Thread Camaleón
On Mon, 08 Nov 2010 06:13:26 -0500, Zachary Uram wrote: > Some more info. I looked at my access.log for oggthebase.org. > > When I went to http://www.oggthebase.org/cgi-bin/awstats.pl it > generated: > > [Mon Nov 08 10:56:52 2010] [error] [client 72.0.209.165] File does not

Re: cgi-bin works with IP but not domain name

2010-11-08 Thread Camaleón
On Mon, 08 Nov 2010 05:54:17 -0500, Zachary Uram wrote: > I have various name based virtual hosts setup. They all work fine. > However if I try to run a script in /usr/lib/cgi-bin it fails when I > specify the domain name, but works if I specify my IP name (this i

Re: cgi-bin works with IP but not domain name

2010-11-08 Thread Zachary Uram
Some more info. I looked at my access.log for oggthebase.org. When I went to http://www.oggthebase.org/cgi-bin/awstats.pl it generated: [Mon Nov 08 10:56:52 2010] [error] [client 72.0.209.165] File does not exist: /var/www/oggthebase.org/cgi-bin So it is going to /var/www/oggthebase.org/cgi-bin

cgi-bin works with IP but not domain name

2010-11-08 Thread Zachary Uram
I have various name based virtual hosts setup. They all work fine. However if I try to run a script in /usr/lib/cgi-bin it fails when I specify the domain name, but works if I specify my IP name (this is a VPS)! So this, http://97.107.134.151/cgi-bin/awstats.pl, works But this, http

Re: thttpd CGI pattern specified in thttpd.conf fails to match

2010-06-25 Thread Steve Kemp
On Thu Jun 24, 2010 at 00:43:34 -1000, Joel Roth wrote: > Spending an inordinate amount of time, I find > no setting for the cgi-pat variable in thttpd.conf > including the default would allow CGI script to > execute. > For reference, the full command line I used is: > > t

thttpd CGI pattern specified in thttpd.conf fails to match

2010-06-24 Thread Joel Roth
I'm running thttpd 2.25b-11 in unstable. Spending an inordinate amount of time, I find no setting for the cgi-pat variable in thttpd.conf including the default would allow CGI script to execute. I found a workaround is to start thttpd from the command line, specifying cgi-pat with the -c

Re: php cgi

2009-10-16 Thread Umarzuki Mochlis
2009/10/11 Tzafrir Cohen > On Sun, Oct 11, 2009 at 01:36:43PM +0800, Umarzuki Mochlis wrote: > > I want to know how to set up a debian server capable of running php cgi > > script and how to create and run cgi script. Where can I find articles on > > that? > > I had

Re: php cgi

2009-10-16 Thread Todd A. Jacobs
On Sun, Oct 11, 2009 at 11:42:41AM +0530, Didar Hossain wrote: > *There is something called `webmin' though I would not recommend it to > most people. It is a Perl application. I don't really like webmin, and a lot of the modules (especially the ssh module) seem out of date, but it seems like the

Re: php cgi

2009-10-11 Thread Tzafrir Cohen
On Sun, Oct 11, 2009 at 01:36:43PM +0800, Umarzuki Mochlis wrote: > I want to know how to set up a debian server capable of running php cgi > script and how to create and run cgi script. Where can I find articles on > that? > I had search for a few hours but still could not find a go

Re: php cgi

2009-10-10 Thread Didar Hossain
On Sun, Oct 11, 2009 at 11:26 AM, Umarzuki Mochlis wrote: > > > 2009/10/11 Thierry Chatelet >> >> On Sunday 11 October 2009 07:36:43 Umarzuki Mochlis wrote: >> > I want to know how to set up a debian server capable of running php cgi >> > script and how to

Re: php cgi

2009-10-10 Thread Umarzuki Mochlis
2009/10/11 Thierry Chatelet > On Sunday 11 October 2009 07:36:43 Umarzuki Mochlis wrote: > > I want to know how to set up a debian server capable of running php cgi > > script and how to create and run cgi script. Where can I find articles on > > that? > > I had searc

Re: php cgi

2009-10-10 Thread Thierry Chatelet
On Sunday 11 October 2009 07:36:43 Umarzuki Mochlis wrote: > I want to know how to set up a debian server capable of running php cgi > script and how to create and run cgi script. Where can I find articles on > that? > I had search for a few hours but still could not find a good one.

php cgi

2009-10-10 Thread Umarzuki Mochlis
I want to know how to set up a debian server capable of running php cgi script and how to create and run cgi script. Where can I find articles on that? I had search for a few hours but still could not find a good one. -- Regards, Umarzuki Mochlis http://gameornot.net

Re: Getting a lot of HTTP 502 from php-cgi +/- since last upgrade.

2009-09-08 Thread Nuno Magalhães
After a dist-upgrade both php5 and php5-cgi got to 5.2.10-2.2 with Suhosin-Patch 0.9.7, whereas php5-cgi was faling behind. I don't see the same issue occur and maybe i'll try commenting suhosin.session.encrypt = off in its ini again. HTH the next guy -- () ascii-rubanda kampajno

Getting a lot of HTTP 502 from php-cgi +/- since last upgrade.

2009-09-06 Thread Nuno Magalhães
ou get the idea. I don't think it's the webserver (and i've been pestering the mailing list) as the issue deals with php. I'm using FastCGI which comes, i think, with the php5-cgi package. I know this is a long shot, but was there any relevant change in the default configura

php-cgi segfault problem

2009-02-19 Thread bugs
Hello, I recently upgraded a debian etch box to lenny. Since then php-cgi keeps segfault-ing from time to time. It doesn't happen on every http request, many requests are served ok. Any ideas concerning the solution of this problem ? [137316.466578] php-cgi[7348]: segfault at 7f49ccafee

Re: [EMAIL PROTECTED] Re: cgi-bin stopped working in apache ?! please help SOLVED

2008-09-12 Thread Zach Uram
On Thu, Sep 11, 2008 at 5:19 AM, André Warnier <[EMAIL PROTECTED]> wrote: [...] > > I just felt like telling you the above because I have the impression that a > misunderstanding of the above is the source of 90% of the problems > encountered by people unfamiliar with Virtual Hosting in general. I

Re: [EMAIL PROTECTED] Re: cgi-bin stopped working in apache ?! please help SOLVED

2008-09-11 Thread Rob Starling
On Thu, Sep 11, 2008 at 11:19:34AM +0200, André Warnier wrote: > Apart from the related tip from Kris about the various virtual server > config files in /etc/apache2/sites-available and > /etc/apache2/sites-enabled, here is what I do to insure that virtual > servers are "included" in the corr

Re: [EMAIL PROTECTED] Re: cgi-bin stopped working in apache ?! please help SOLVED

2008-09-11 Thread André Warnier
Zach Uram wrote: On Tue, Sep 9, 2008 at 3:54 PM, André Warnier <[EMAIL PROTECTED]> wrote: Just a guess : 1) the new entry you have added to /etc/apache2/sites-available (and sites-enabled) is called e.g. "darcs", which for some reason precedes "default" in the directory. 2) in the apache.conf,

Re: cgi-bin stopped working in apache ?! please help SOLVED

2008-09-09 Thread Zach Uram
On Tue, Sep 9, 2008 at 3:54 PM, André Warnier <[EMAIL PROTECTED]> wrote: > > Just a guess : > > 1) the new entry you have added to /etc/apache2/sites-available (and > sites-enabled) is called e.g. "darcs", which for some reason precedes > "default" in the directory. > 2) in the apache.conf, there i

Re: cgi-bin stopped working in apache ?! please help

2008-09-09 Thread gary turner
Zach Uram wrote: This is really baffling because CGI was working last week and now when I try it again and it is not working. I reread your post and my reply, and want to say it was was not clear that your url was complete. If I merely duplicated what you've been doing, I apol

Re: cgi-bin stopped working in apache ?! please help

2008-09-09 Thread gary turner
Zach Uram wrote: This is really baffling because CGI was working last week and now when I try it again and it is not working. All I did was add a name based virtual host in /etc/apache2/sites-enabled/ and /etc/apache2/sites-available/ I am running apache2-mpm-prefork version 2.2.9-7 on Debian

  1   2   3   4   5   6   >