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      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to