On Dec 2, 2007 11:36 AM, Matt Bullock <[EMAIL PROTECTED]> wrote:
> I need to test more but, on the http vhost if you don't specify the
> SERVER_PORT !=81, then it wont work.
You realise what you are doing, do you?
RewriteCond %{SERVER_PORT} !=81 is a condition that will always be
true, as %{SERVER
On Nov 30, 2007 9:13 PM, Matt Bullock <[EMAIL PROTECTED]> wrote:
> No, just abbreviating things to specify the virtual host port
> assignments.
Please don't do that. Give us _actual_ fragments from your config.
Krist
--
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Bremgarten b. Bern, Switzerland
--
A:
L]
Thanks,
Matt
-Original Message-
From: Krist van Besien [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 01, 2007 2:23 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Redirect HTTPS --> HTTP
On Nov 30, 2007 9:27 PM, Matt Bullock <[EMAIL PROTECTED]> wrote:
>
On Nov 30, 2007 9:27 PM, Matt Bullock <[EMAIL PROTECTED]> wrote:
> I see the issue with server_port =81 not being matched, but I have tried
> removing that directive, as well as changing it to !=81. I don't really
> have any leads as to what to try next.
You are testing wether or not the server
leads as to what to try next.
Thanks for your help,
Matt
-Original Message-
From: Krist van Besien [mailto:[EMAIL PROTECTED]
Sent: Friday, November 30, 2007 11:44 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Redirect HTTPS --> HTTP
On Nov 30, 2007 7:51 PM, Matt Bullo
No, just abbreviating things to specify the virtual host port
assignments.
Matt
-Original Message-
From: Krist van Besien [mailto:[EMAIL PROTECTED]
Sent: Friday, November 30, 2007 11:42 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Redirect HTTPS --> HTTP
On Nov 28, 2
On Nov 30, 2007 7:51 PM, Matt Bullock <[EMAIL PROTECTED]> wrote:
> Are there any clues as to why this wont work? Is there anything else I
> can check, raise the log level?
Raise loglevel. You'll see what gets matched and what not.
Krist
--
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Bremgarten b. Be
On Nov 28, 2007 9:10 PM, Matt Bullock <[EMAIL PROTECTED]> wrote:
>
> Here are the rules I am using:
>
>
>
>
>
>
>
> RewriteCond {SERVER_PORT} !=81
>
> RewriteCond %{REQUEST_URI} ^/scripts/vendor/new_package\.php$
>
> RewriteRule ^.*$ https://www.domain.com%{REQUEST_URI} [R=301,L]
>
>
>
>
Just on
Message-
From: Krist van Besien [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 28, 2007 2:46 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Redirect HTTPS --> HTTP
On Nov 28, 2007 9:10 PM, Matt Bullock <[EMAIL PROTECTED]> wrote:
> I can't seem to get the r
On Nov 28, 2007 9:10 PM, Matt Bullock <[EMAIL PROTECTED]> wrote:
> I can't seem to get the rule to change the request back to http though… any
> ideas?
First of all, you don't need the "RewriteCond {SERVER_PORT} !=80 " and
similar conditions, as your virtual host allready takes care of
shielding
Thanks everyone for helping me with my redirect problems using a
hardware load balancer. I have redirects from http to https working
perfectly, but now I can't seem to get the https back to http working.
Here are the rules I am using:
RewriteCond {SERVER_PORT} !=81
RewriteCond %{REQU
On 5/29/07, Peter Gordon <[EMAIL PROTECTED]> wrote:
I replaced the rules above with the following rules, which are meant to redirect
https->http.
It does not work. No redirect takes place and nothing is logged in the rewrite
log file. When I use an https:/ url
it continues as an https url.
Server version: Apache/2.2.4 (Unix)
Server built: Apr 22 2007 15:51:28
I have the following rule in httpd.conf. It forces redirection from http ->
https and works correctly.
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [L,R]
RewriteLogLevel 9
Rewrite
13 matches
Mail list logo