黄叶 wrote:
but, if i had a project, i want put the all thing a directory. Can i do like that? if I don't use the ModPerl::Registry or edit the ModPerl::Registry, that is correct? or there are the other way? thanks.
it works on my side: # for ModPerl::Registry scripts Alias /perl/ "C:/Apache2/perl/" # see http://localhost/printenv <Location /perl> SetHandler perl-script PerlResponseHandler ModPerl::Registry Options +ExecCGI PerlOptions +ParseHeaders PerlOptions +SetupEnv </Location> <Location /perl/img> SetHandler default-handler </Location> I can visit http://localhost/perl/img/1.jpg