[Xitami] CGI Environment Variable problem
R O
rolinger1 at hotmail.com
Wed Dec 5 00:29:16 CET 2007
Hey all. I am having a problem getting CGI environment variables to appear in my scripts. Is Xitami somehow stripping the referer query from the httpReferer environment variable? My Xitami Server is config'd as follows: Full Envionment = yesPass HTTP fields = yesPass form fields = yes Pass Query_String = yesMy weblogs show the full referer information: ie: http://www.google.com/search?ln=en&q=2002+honda+civic However, my perl cgi-bin scripts are only able to retrieve: http://www.google.com/search The cgi perl scripts, using two different methods: $httpReferer = $ENV{HTTP_REFERER} ;and$httpReferer = $query->referer() ; Return the same info: http://www.google.com/searchIn both cases, retrieving the Query_String (ie $ENV{QUERY_STRING} and $query->query_string() ), simply returns the string from my URL, not the referring URL. For whatever reason, I am not able to retrieve the full referring URL....only the partial...has anyone else seen this or know a work around?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xitami.org/pipermail/xitami/attachments/20071204/34bfc475/attachment.html
More information about the Xitami
mailing list