Re: Getting DocRoot of currently requested VirtualHost

2011-10-20 Thread Jordan Michaels
Well, as what usually happens when you post to a mailing list and publicly ask for help, I figured it out. I am humiliated to admit that my problem was an apache configuration, so the DocRoot for the VirtualHost was resolving to the first VirtualHost's DocRoot instead of the proper VirtualHost'

Getting DocRoot of currently requested VirtualHost

2011-10-20 Thread Jordan Michaels
Hey Folks, I'm pretty new to mod_perl but not new to programming in general. I'm working on a mod_perl Apache module and I'm trying to find the way to get the Document Root of the Currently requested VirtualHost. I can get the currently requested domain name easily enough with: my $servernam