Definitely looks like the code I'm after.

I guess what is unclear to me is how to implement it.

suburbanantihero states that the <Perl> sections are only configurable on load time. So I would need to bind it as a handler to the ssl virtualhost section. Is this correct?

I am not sure how this would then be invoked. Would it require further extension to my URI?

I appreciate the help.

Respectfully,


Gary



Geoffrey Young wrote:
http://domain.tld = DocumentRoot /home/domain.tld/htdocs

https://secure.provider.tld/secure/domain.tld/

URI is parsed for ^/secure/([.]*[\.]+[.]*)/(.*)

<Perl>
DocumentRoot is then dynamically replaced with $1
</Perl>

I was trying to use mod_rewrite and mod_vhost_alias to do this, but I
just could not get the environment variables into DocumentRoot.


see recipe 4.3 in the mod_perl developer's cookbook, which is available for
free from here

http://www.webreference.com/programming/perl/cookbook/chap4/2.html

and the code is here

http://www.modperlcookbook.org/code/ch04/Cookbook/Userdir.pm

but you'll also want to read up on translation handlers and the request
cycle in general

http://www.modperlcookbook.org/

HTH

--Geoff





-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to