[Catalyst] Catalyst-Apache on windows
Andy Grundman
andy at hybridized.org
Mon Sep 19 22:18:53 CEST 2005
Danh Nguyen wrote:
>
> Thanks Andy,
> Thanks for your instruction. But still, I could not get it work. I am
> hitting my head against the brick wall.
>
> I tried download the mod_perl and istall it. It failed. Then I use the
> ppm to install the mod_perl. This is the result that I got.
> ----------------------------------------
> mod_perl.so has been successfully installed to
> C:/PROGRA~1/APACHE~1/Apache2/modu
> les.
> To enable mod_perl, put in the directives
> LoadFile "C:/Path/to/Perl/bin/perl58.dll"
> LoadModule perl_module modules/mod_perl.so
> in httpd.conf. For more information, visit
> http://perl.apache.org/
> and especially see
> http://perl.apache.org/docs/2.0/rename.html
>
> Successfully installed mod_perl version 2.0.1 in ActivePerl 5.8.7.813.
> ----------------------------------------
>
> I then added this line:
> LoadModule perl_module modules/mod_perl.so
> in the httpd.conf file as:
> ----------
> #LoadModule vhost_alias_module modules/mod_vhost_alias.so
> #LoadModule ssl_module modules/mod_ssl.so
> LoadModule perl_module modules/mod_perl.so
> ---------------
> then I restart Apache. It could not start. I exit the server, then start
> it from Start Menu. It started and a DOS prompt screen popup, looks like
> the http built-in server starts when we type myapp_server.pl. But right
> before the lat line ...you can loginyour localhost:3000 .... it stops
> and a windows error message says:
> -----------
>
> *Apache HTTP Server has encountered a problem and needs to close. We are
> sorry for the inconvenience.*
>
> *-------------*
>
> *and this is the log file: *
>
> Apache.exe: could not open document config file C:/Program Files/Apache
> Group/Apache2/conf/Cataculous.conf
>
> This is the path to my Cataculous.conf file:
>
> C:\Program Files\Apache Group\Apache2\conf\Cataculous.conf
Try replacing any backslashes with forward slashes. You could just put
the contents of Cataculous.conf inside httpd.conf if all else fails.
I noticed you didn't add the "Perl58.dll" line to your config. You
should do this.
-Andy
More information about the Catalyst
mailing list