Re: Slash wrongly encoded as %2F in returning path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




jimmi61 wrote:
> 
> Gotcha! Are the rewrite rules I use to redirect from port 80 to 443:
> 
> <VirtualHost *:80>
> ServerName MYSITE
> 
> RewriteEngine   on
> RewriteCond     %{SERVER_PORT} ^80$
> RewriteRule     ^(.*)$ https://%{SERVER_NAME}$1 [L,R]
> RewriteLog      "/var/log/rewrite.log"
> RewriteLogLevel 2
> </VirtualHost>
> 
> If I eliminate them the problem stops. Unfortunately even here I've no
> clue of what could be wrong. Could you suggest something?
> 
> Thanks for everything :)
> Jimmi
> 

<VirtualHost *:80>
ServerName MYSITE
RedirectPermanent / https://MYSITE/
</VirtualHost>

Unless you have multiple ip addresses, you know all your https:// sites. If
you redirect to correct site name instead of {SERVER_NAME}, you won't get
errors on certificate mismatch.
-- 
View this message in context: http://www.nabble.com/Slash-wrongly-encoded-as--2F-in-returning-path-tp15779008p15881292.html
Sent from the squirrelmail-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux