Forums
New posts
New posts
Search forums
Market
Domains/Websites Wanted
.com Domain Market
gTLD Domain Market
ccTLD Domain Market
Web3 Domain Market
Third-Level Domain Market
Adult Domain Market
What's New
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Account Upgrade
Premium Members Directory
Log in
Register
What's New
calendar
Search
Search
Search titles only
By:
New posts
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Enjoy unlimited access to all forum features for FREE! Optional upgrade available for extra perks.
Forums
Diamond Forums
How to exclude a single page from htaccess rules?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="dario1977" data-source="post: 2262010" data-attributes="member: 13737"><p>Hi</p><p>I have 2 rules in my htaccess that</p><p>- force the use of www. in front of domain name</p><p>- redirect all urls from http to https</p><p> </p><p>RewriteEngine On</p><p>RewriteCond %{HTTP_HOST} ^terapiadicoppiabrescia.it [NC]</p><p>RewriteRule ^(.*)$ <a href="http://www.terapiadicoppiabrescia.it/$1" target="_blank">http://www.terapiadicoppiabrescia.it/$1</a> [L,R=301]</p><p>RewriteCond %{HTTPS} !=on</p><p>RewriteRule ^.*$ <a href="https://%{SERVER_NAME}%{REQUEST_URI}" target="_blank">https://%{SERVER_NAME}%{REQUEST_URI}</a> [R,L]</p><p> </p><p>My problem is that I have 1 page that must be opened in http only, and never in https</p><p></p><p>How could I get that?</p><p>Thank you</p></blockquote><p></p>
[QUOTE="dario1977, post: 2262010, member: 13737"] Hi I have 2 rules in my htaccess that - force the use of www. in front of domain name - redirect all urls from http to https RewriteEngine On RewriteCond %{HTTP_HOST} ^terapiadicoppiabrescia.it [NC] RewriteRule ^(.*)$ [URL]http://www.terapiadicoppiabrescia.it/$1[/URL] [L,R=301] RewriteCond %{HTTPS} !=on RewriteRule ^.*$ [URL]https://%{SERVER_NAME}%{REQUEST_URI}[/URL] [R,L] My problem is that I have 1 page that must be opened in http only, and never in https How could I get that? Thank you [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Diamond Forums
How to exclude a single page from htaccess rules?
Top
Bottom