apache and mod_rewrite

Darin Perusich darinper at cognigencorp.com
Mon Oct 28 09:06:30 EST 2002


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