Re: debugging fastcgi/ACTION directive in Apache Config

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

 



On Sat, Aug 30, 2008 at 3:12 PM, Jay Sprenkle <jsprenkl@xxxxxxxxxxx> wrote:
> <location /Debug>
> SetHandler fastcgi-script
> </location>

Inherits Options +ExecCGI from somewhere?

> Action fastcgi-test /Debug/pluwt.exe
> AddHandler fastcgi-test .fcgi


> If I then try
> http://localhost:8080/test.fcgi
> The log tells me apache can't find "test.fcgi" in my root directory.

It does have to be in your docroot in this example --  Is it there?

> The various bits of documentation are contradictory about needing to use a
> mime type instead of a user created handler with the action directive.
> I tried that as well with no success.

I had a config laying around using the "invent a pseudo mime-type
form" with AddType  I was able to change it to the handler-style
instead and it worked just fine.

It looks just the same as yours, I'm requesting /foo/index.php which
is found via an Alias directive and passed to the thing living in the
fastcgi-script location.


# shell script wrapper around php
FastCGIServer /stuff/cgi-bin/php-fastcgi -processes 4 -flush

# where the actual fastcgi, the php interpreter, lives
ScriptAlias /fcgi-bin  /stuff/cgi-bin
<Location /fcgi-bin>
  Options ExecCGi
  SetHandler fastcgi-script
</Location>

Action my-fastcgi /fcgi-bin/php-fastcgi
AddHandler my-fastcgi .php

Alias /foo /usr/local/foo



-- 
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
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