santellij has asked for the wisdom of the Perl Monks concerning the following question:
in the startup.pl I have added:RewriteRule ^/Something(.*) /path/to/the/main/code.pl <Directory /path/to/the/main/> SetHandler perl-script PerlHandler Apache::Registry Options ExecCGI PerlRequire /path/to/the/main/startup.pl
It looks like not all of the requests are getting prefixed with the virtual host name. I'm having a hard time debugging this but when I force an error (stack trace) I see that some things are listed with the virtual host:$Apache::Registry::NameWithVirtualHost = 1;
yet others are not:Apache::ROOThost_2ename_2ecom::My::Package::_31_2e0::method::handler
I can take off all of the virtual hosts from the module names by turning this off:My::OtherPackage::MyMethod
Any help with this would be great.$Apache::Registry::NameWithVirtualHost = 0;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Multiple virtual hosts under mod_perl
by Fletch (Bishop) on Dec 21, 2004 at 16:19 UTC |