Is there a sane way of accessing vhost (PerlSetVar) information from a CGI script?
Can’t find anything when I do a search.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could try duplicating all the
PerlSetVarsettings asPerlSetEnvsettings and then just pull them out of%ENVin the CGI scripts. Yes, this would be an ugly hack but an ugly hack that works is better than no solution at all (just be sure to have a shower after you do it).