httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nguyen, Bao L" <>
Subject RE: [users@httpd] MIME types not delivering
Date Thu, 25 Oct 2012 23:57:47 GMT

When our users hit the url I would like to write a rewrite
rule to check for the existence of a SSO cookie called MYSAPSSO2.  Basically, if the MYSAPSSO2
cookie is not there then it should redirect users to a logon page.

I added the below into httpd.conf:

	RewriteEngine on
	RewriteCond %{REQUEST_URI} ^/app/?$
	RewriteCond %{HTTP_COOKIE} !MYSAPSSO2=true
	RewriteRule /app
However, Apache always do a  redirect does not matter if the MYSAPSSO2 exists or not.  It
is probably because of my syntax in the " RewriteCond %{HTTP_COOKIE} !MYSAPSSO2=true" statement.
 Could somebody please help with the syntax?

Thank you very much in advance!


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message