LPM: mod_perl and virtual hosts on Apache

Gregg Casillo gcasillo at ket.org
Tue Apr 10 11:55:51 CDT 2001


I have an installation of Apache and mod_perl running two virtual hosts 
for two domains. Let's call them foo.com and bar.com. I write and 
configure a script that I want to print something out for the location 
"/test." I want this script to run only for "foo.com/test" and not 
"bar.com/test". Currently, both virtual hosts can run the script. Is 
there a way to restrict a mod_perl script from running on all my virtual 
hosts, and if so how?


Gregg Casillo




More information about the Lexington-pm mailing list