On Fri, Feb 24, 2012 at 10:16 AM, Morse, Richard E.MGH
<[email protected]> wrote:
> Hi! I'm trying to get a PSGI app running under Apache. Because I don't 
> actually manage the box it's running on, it is complicated for me to get an 
> additional service set up to start when the machine starts, so (unless there 
> is some way to trigger it via Apache), I can't use the reverse proxy 
> mechanism.
>
> I have discovered that there is mod_fcgid 2.2 available (it's a CentOS 5 box, 
> so there doesn't appear to be a 2.3 version available), but I'm confused by 
> the almost non-existant documentation that is provided.

I'd be lying if I said that moving to 2.3.x would magically solve all
your problems, but it is better documented and various folks that hang
out on this list are familiar with it.

http://httpd.apache.org/mod_fcgid/
http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html

>
> What I would like is to set fcgid up so that any request made to
>
>        /provider/
>
> (ie, /provider/foo, /provider/, /provider/images/foo.jpg, etc.) will get 
> passed to the file "app.psgi" located in a particular directory.

Untested, but try this type of configuration:

<Location /myapp/>
SetHandler prettify
Action prettify /tools/prettify.pl
</Location>

<Directory /www/tools/>
Options +ExecCGI
SetHandler fcgid-script
</Directory>
>
> Does anyone know how I can get this configured? I've tried playing around 
> with FCGIWrapper, but I can't figure out what I'm missing...
>
> Thanks,
> Ricky
>
>
> The information in this e-mail is intended only for the person to whom it is
> addressed. If you believe this e-mail was sent to you in error and the e-mail
> contains patient information, please contact the Partners Compliance HelpLine 
> at
> http://www.partners.org/complianceline . If the e-mail was sent to you in 
> error
> but does not contain patient information, please contact the sender and 
> properly
> dispose of the e-mail.
>
>
> ---------------------------------------------------------------------
> 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: [email protected]
>   "   from the digest: [email protected]
> For additional commands, e-mail: [email protected]
>



-- 
Born in Roswell... married an alien...

---------------------------------------------------------------------
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: [email protected]
   "   from the digest: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to