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=/item><h1>[% item %]</h1></a>
_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to