Create an exception rule before your other rules that will match only what you want to ignore. Have it sub to - and make it a [L] rule. I think that'll take care of you.
Hi there folks,,, everybody cool!?

I am working on a redirection in my apache server for everything that came from port 80 (http://www.elderjmp.com.br <http://www.elderjmp.com.br/>) goes to port 443 (https://www.elderjmp.com.br <https://www.elderjmp.com.br/>).

That's the rule that I am working on:

RewriteEngine   On
RewriteCond     %{SERVER_PORT} ^80$
RewriteRule     ^(.*)$ https://%{SERVER_NAME}$1 [L,R]
RewriteLog      "/var/log/apache2/rewrite.log"
RewriteLogLevel 2

However, I need an exception for a certain address. When the user try to access the address http://www.elderjmp.com.br/pagamento/boleto the address must not be changed.

Are there any one who already did that and cna give me a help?

Thanks

--
Elder J Lehnsherr
LINUX USER #422378 [Debian GNU/Linux]
GoogleTalk - [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
ICQ - 304799257
MSN - [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>


--
Michael McGlothlin
Southwest Plumbing Supply

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to