I use vhost_alias_module to set up subdomains for different users.
-- at my httpd.conf
VirtualDocumentRoot /home/%-4/web
And use Apache::Registry to run the *.cgi script.
I got problem with the following situation
Script 1: /home/user1/web/index.cgi
Address: http://user1.level3.level2.com
Script 2: /home/user2/web/index.cgi
Address: http://user2.level3.level2.com
Sometimes the scripts got mixed up. When accessing
http://user1.level3.level2.com, the server gives me the script
/home/user2/web/index.cgi instead.
Was my setting a problem? How can I have the script print out the
package's name in which it is running?
Thanks,
Bird.