[Catalyst] Catalyst with apache, how to auto restart like run myapp_server.pl -r?

Cookie xiaoquqi at gmail.com
Tue May 22 02:21:09 GMT 2007


I configurate my apache httpd.conf like this:

LoadModule perl_module modules/mod_perl.so
PerlSwitches -I/var/www/html/lj/catalyst/lib
PerlModule Add
<Location /catalyst>
        SetHandler          modperl
        PerlResponseHandler Add
</Location>
And I can visit my site using:
http://localhost/catalyst

But I don't think when I modify my lib files,the modification seems not any
effect.And I must restart my apache to make it available.
My question is:
Is there any way to configurate my apache configuration files to be
available that I don't need to restart my apache server?(Like I run
myapp_server.pl -r)

My Second question is:
When I visit my web site,the link in http://loalhost/catalyst becomes
http://localhost/item,but the real link is http://localhost/catalyst/item.
How can I solve this bug?
My template like this:
<a href=3D/item><h1>[% item %]</h1></a>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20070522/fe38b=
8d5/attachment-0001.htm


More information about the Catalyst mailing list