Re: How to get my script run by the module instead of the execcgi

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

 



Joshua Slive wrote:
On Wed, Apr 23, 2008 at 4:09 PM, Neil S. Briscoe
<neil.briscoe@xxxxxxxxxxxxx> wrote:
Joshua Slive wrote:

If you show us the relevant part of your configuration, along with
more details on EXACTLY what you see when you request a php script, we
might be able to help.

What about the second part of what I asked for above? What exactly do
you see when you make a request? What is in the error and access logs?


Here is a tail from the error log file.

As you can see, it still thinks its running cgi - thats how I knew it was using that and not the module.

[Wed Apr 23 13:24:47 2008] [error] [client 217.146.111.17]
[Wed Apr 23 13:24:47 2008] [error] [client 217.146.111.17] <p>This PHP CGI binary was compiled with force-cgi-redirect enabled. This [Wed Apr 23 13:24:47 2008] [error] [client 217.146.111.17] means that a page will only be served up if the REDIRECT_STATUS CGI variable is [Wed Apr 23 13:24:47 2008] [error] [client 217.146.111.17] set, e.g. via an Apache Action directive.</p> [Wed Apr 23 13:24:47 2008] [error] [client 217.146.111.17] <p>For more information as to <i>why</i> this behaviour exists, see the <a href="http://php.net/security.cgi-bin";>manual page for CGI security</a>.</p> [Wed Apr 23 13:24:47 2008] [error] [client 217.146.111.17] <p>For more information about changing this behaviour or re-enabling this webserver, [Wed Apr 23 13:24:47 2008] [error] [client 217.146.111.17] consult the installation file that came with this distribution, or visit [Wed Apr 23 13:24:47 2008] [error] [client 217.146.111.17] <a href="http://php.net/install.windows";>the manual page</a>.</p> [Wed Apr 23 13:24:47 2008] [error] [client 217.146.111.17] Premature end of script headers: vpsinfo.php [Wed Apr 23 13:26:43 2008] [error] [client 217.146.111.17] client denied by server configuration: /var/www/vpsinfo/vpsinfo.php

Regards
Neil

------------------------------------------------------------------------------------
Scanned for viruses, spam and offensive content by CensorNet MailSafe

Professional Web & E-mail Filtering from www.censornet.com
Shortlisted for the BETT Awards 2008! www.bettawards.co.uk

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux