Apache rules and SSL
Apache rules and SSL
- Subject: Apache rules and SSL
- From: Jesse Tayler via Webobjects-dev <email@hidden>
- Date: Thu, 27 Aug 2020 17:40:49 -0400
I use AWS+Route53 for SSL and I really just want to force all requests to HTTPS
and I’m having trouble
I have a few common WO rewrites to shorten URLs
RewriteRule ^/signup /apps/WebObjects/MyAppName.woa/wa/signup
[last,passthrough]
RewriteRule ^/default /apps/WebObjects/MyAppName.woa/wa/default
[last,passthrough]
RewriteRule ^/myappname(.*)$ /apps/WebObjects/MyAppName.woa$1 [PT,L]
And I seem to have these SSL related:
RewriteCond %{HTTPS} on
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
And no matter how I try to program this, I get too many redirects because
apparently my rules run a loop or something?
Basic redirects are not unique to WebObjects!
How are you guys programming apache to shorten URLs and also bounce to SSL if
it is not already?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden