Hi,

 

I have implemented a re-write rule that captures the incoming requests,
checks for a cookie and then directs the user to another system to
authenticate and get a cookie before being allowed to access pages under
the webserver. E.g:

 

RewriteCond %{HTTP_HOST}   !=""

RewriteCond %{REQUEST_URI}  !=/server-status

RewriteCond %{REQUEST_URI}  !=/server-status?auto

RewriteCond %{REQUEST_URI}  !=/heartbeat/heartbeat.htm

RewriteCond %{HTTP_COOKIE} !.*iiswlssignonuser*

RewriteRule .*$
http://www.steve.co.uk/Identification/WLSLogon.asp\?URL=http://%{HTTP_HO
ST}%{REQUEST_URI}&path=%{REQUEST_URI}&domain=.steve.co.uk&name=mwar

e [L]

 

Functionaly this works perfectly but in the access logs I am getting the
Query string of the re-direct URL being shown against the initial
request. E.g

 I am accessing http://internal.steve.co.uk/TestWebApp/index.html

 

2008-07-10 10:53:02 10.101.X.X internal.steve.co.uk GET
/TestWebApp/index.html HTTP/1.1 302 367 2025
?URL=http://internal.steve.co.uk/TestWebApp/index.html&path=/TestWebApp/
index.html&domain=.steve.co.uk&name=mware Mozilla/4.0 (compatible; MSIE
6.0; Windows NT 5.1; SV1; InfoPath.1) - -

2008-07-10 10:53:05 10.101.X.X internal.steve.co.uk GET
/TestWebApp/index.html HTTP/1.1 200 396 60460  Mozilla/4.0 (compatible;
MSIE 6.0; Windows NT 5.1; SV1; InfoPath.1) - -

 

Any thoughts?? Like I say its working fine, just logging wrongly.

 

Cheers

 

Steve


Capgemini is a trading name used by the Capgemini Group of companies which 
includes Capgemini UK plc, a company registered in England and Wales (number 
943935) whose registered office is at No. 1 Forge End, Woking, Surrey, GU21 6DB.
This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient, you are not authorized 
to read, print, retain, copy, disseminate, distribute, or use this message or 
any part thereof. If you receive this message in error, please notify the 
sender immediately and delete all copies of this message.

Reply via email to