开发者

How do you read Apache vhost information (PerlSetVar) in CGI scripts?

Is there a sane way of accessing vhost (Pe开发者_JAVA百科rlSetVar) information from a CGI script?

Can't find anything when I do a search.


You could try duplicating all the PerlSetVar settings as PerlSetEnv settings and then just pull them out of %ENV in 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).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜