[Catalyst] fastcgi script returns 404
John Karr
brainbuz at brainbuz.org
Thu Sep 22 21:48:28 GMT 2011
I recommend Starman over fastcgi. I never had an easy time with fastcgi, an=
d when I finally gave starman a shot it was surprisingly painless, it was p=
retty easy to make an upstart job out of, and I can ditch mod_perl. I have =
no experience with lighthttpd, but with Apache a simple ProxyPass or ReWrit=
eRule[P] is the only non-boilerplate directive needed.
From: Robert Dormer [mailto:rdormer at myartplot.com]
Sent: Thursday, September 22, 2011 4:51 PM
To: catalyst at lists.scsys.co.uk
Subject: [Catalyst] fastcgi script returns 404
Hello all,
I have a catalyst installation that I'm bringing up from scratch in a new e=
nvironment. I've decided to go with lighttpd / fastcgi as the web server. =
When running the server script (the project is named map, so it's the map_=
server.pl<http://map_server.pl> script), pages seem to come up just fine. =
However, when I start lighttpd, and run the map_fastcgi.pl<http://map_fastc=
gi.pl> script with the following command line:
./script/map_fastcgi.pl<http://map_fastcgi.pl> --listen 127.0.0.1:9000<http=
://127.0.0.1:9000> --nproc 5 --keeperr 2
It seems that only the index page of the site is served properly - any othe=
r link that I click on just results in a 404. So it seems that I am doing =
something wrong with fastcgi. Can anyone recommend what I need to do diffe=
rently?
For informational purposes - I run lighttpd with the following configuratio=
n file:
server.document-root =3D "/home/mapper/artplot/root/"
server.modules +=3D ( "mod_fastcgi" )
server.port =3D 80
server.username =3D "mapper"
server.groupname =3D "mapper"
mimetype.assign =3D (
".htm" =3D> "text/html",
".html" =3D> "text/html",
".txt" =3D> "text/plain",
".jpg" =3D> "image/jpeg",
".png" =3D> "image/png"
)
static-file.exclude-extensions =3D ( ".pm", ".pl", ".conf" )
fastcgi.server =3D ("" =3D>
((
"host" =3D> "127.0.0.1",
"port" =3D> 9000,
))
)
--
--
Main Number - (617) 752-1714
http://www.MyArtPlot.com
All-in-one empowerment platform for the art industry and profession - compl=
ete with social, professional, and commercial power.
MyArtPlot, LLC
Attn: General Mail
P.O. Box 960812
Boston, MA 02196
Please note that this e-mail contains information that may be confidential =
and proprietary. It is to be read and used solely by the intended recipient=
(s). MyArtPlot, LLC and its affiliates retain all proprietary rights that t=
hey may have in the information. If you are not an intended recipient, plea=
se notify us immediately by reply e-mail and please delete this e-mail (inc=
luding any attachments hereto) immediately without reading, disseminating, =
distributing or copying. Cheers & Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20110922/c9479=
884/attachment.htm
More information about the Catalyst
mailing list