RE: Redirect HTTPS --> HTTP

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

 



No, just abbreviating things to specify the virtual host port
assignments.

Matt

-----Original Message-----
From: Krist van Besien [mailto:krist.vanbesien@xxxxxxxxx] 
Sent: Friday, November 30, 2007 11:42 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  Redirect HTTPS --> HTTP

On Nov 28, 2007 9:10 PM, Matt Bullock <mbullock@xxxxxxxxx> wrote:
>
> Here are the rules I am using:
>
>
>
> <vhost:80>
>
>
>
> RewriteCond {SERVER_PORT} !=81
>
> RewriteCond %{REQUEST_URI} ^/scripts/vendor/new_package\.php$
>
> RewriteRule ^.*$ https://www.domain.com%{REQUEST_URI} [R=301,L]
>
>
>
> </vhost>

Just one question. Is this literally what you have in your httpd.conf?
 <vhost> is not a valid apache directive.

Krist


-- 
krist.vanbesien@xxxxxxxxx
krist@xxxxxxxxxxxxx
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux