httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Swift" <steve.j.sw...@gmail.com>
Subject Re: [users@httpd] SCRIPT_URL not being set.
Date Sun, 24 Sep 2006 17:02:04 GMT
I've never come across SCRIPT_URL - were you thinking of SCRIPT_NAME ?

On 24/09/06, Karl Orbell <karlorbell@gmail.com> wrote:
>
> Hello, a server I'm working with is running:
>
> Apache/2.0.55
> PHP/5.1.2
>
> With a lot of RewriteRules working fine.
>
> However, sometimes I need to know what the request was before processing,
> so I always use SCRIPT_URL - but for some reason it doesn't appear to be
> set.  I know the Rewrites are working, but none of the environment variables
> set by mod_rewrite, accessed via $_SERVER or directly by getenv are there.
>
> Anyone else ever had this problem, or know what the cause might be?
>
> Regards,
>
>
>
> Karl.
>



-- 
Steve Swift
http://www.swiftys.org.uk

Mime
View raw message