apache and mod_rewrite

Mark Musone mmusone at shatterit.com
Mon Oct 28 09:40:23 EST 2002


It seems like you might be trying to solve the wrong problem...i'd focus
on solving the
Problem of the invalid redirect, not solving the symptom of rewritting
invalid URL's..

What software are you using? Cant you just change the logout url in the
code??

-Mark


-----Original Message-----
From: owner-nflug at nflug.org [mailto:owner-nflug at nflug.org] On Behalf Of
Darin Perusich
Sent: Monday, October 28, 2002 9:07 AM
To: nflug at nflug.org
Subject: apache and mod_rewrite


hello,

i'm trying to write a mod_rewrite rule to fix problem that i'm running 
into with an app on an ssl site. this app, a web calendar client is 
working fine under ssl, when you logout it kick's you out to a user 
defined page. during the logout process it tries to push you to a page 
with the following url: http://calendar.domain.com:443/logout.html, this

produces a 400 Bad Request error from apache. the entire error is:

Bad Request
Your browser sent a request that this server could not understand.

Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.
Hint: https://calendar.cognigencorp.com:443/

the rule i'm trying to write should take http://%{SERVER_NAME}:443 and 
write to https://%{SERVER_NAME}:443, so far i'm not having any luck.

anyone have experience writting these rules?

-- 
Darin Perusich
Unix Systems Administrator
Cognigen Corp.
darinper at cognigencorp.com






More information about the nflug mailing list