[Catalyst] URL and myapp_cgi or myapp_fastcgi mapping.

Dister Kemp dister.kemp at gmail.com
Fri May 4 16:25:11 GMT 2007


Hi there,

    I am just getting exposed to the various Catalyst modules and stuff.
I have finally succeeded in setting up my Apache server with FastCGI
support to talk to myapp_fastcgi.pl server. Though there is a slight
hitch, I dont know if I am missing something or totally in the wrong
direction. Please lend in your inputs.
This is what I am doing.

Apache directive in my httpd.conf as,
    Alias /myapp/ /tmp/myapp/root/
    FastCgiExternalServer /tmp/myapp/root/ -host 127.0.0.1:3000

I am able to view the root page of myapp from the browser like
http://127.0.0.1/myapp/

But what I would like to also do is that,
http://127.0.0.1/myapp/admin/login/
http://127.0.0.1/myapp/admin/logout/
http://127.0.0.1/myapp/generic/login/
http://127.0.0.1/myapp/generic/logout/
...

How to make myapp_fastcgi.pl server take URL's from the browser (via Apache!)

Also, forget fastcgi, how would this be possible under normal cgi.
Tried with myapp_cgi.pl, but it does not take any arguments.

All your pointers are welcome.


Many Thanks
Dister.



More information about the Catalyst mailing list