RE: [EMAIL PROTECTED] Rewrite HTTP to HTTPS.

2007-01-13 Thread Gary W. Smith
* RewriteEngine on RewriteRule ^.*$ https://www.yourname.com/horde/imp [R,L] /virtualhost Hope that helps. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Vinicius Sent: Saturday, January 13, 2007 9:24 AM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] Rewrite HTTP

RE: [EMAIL PROTECTED] Rewrite http to https

2006-09-21 Thread Huesser Peter
If you are looking for particular url, this should work: RewriteEngine on RewriteRule ^(.*/somepath/securefile.*) https://%{SERVER_NAME}$1 [R,L] This does not work on my server. I put this in the htaccess-file of the DocumentRoot of the virtual server and it had no effect. Pedro

RE: [EMAIL PROTECTED] Rewrite http to https

2006-09-21 Thread Huesser Peter
On the port 80 virtual host, I have: RewriteCond %{HTTP_HOST} !^$ RewriteRule ^/(.*) https://I_USE_A_HARDCODED_HOSTNAME/$1 [L,R] Put this in the htaccess file. Did not work. Pedro - The official User-To-User support

RE: [EMAIL PROTECTED] Rewrite http to https

2006-09-21 Thread Huesser Peter
I want to rewrite all request to http:virtual.server.domain/path/file.html to https://virtual.server.domain/path/file.html;. One of the solutions I found is: The simplest solution to this is as follows. If you have both an http and https server, then you should have a VirtualHost block

[EMAIL PROTECTED] Rewrite http to https

2006-09-20 Thread Huesser Peter
Hello This question was often asked before but I did not get any solution to work: I want to rewrite all request to http:virtual.server.domain/path/file.html to https://virtual.server.domain/path/file.html. One of the solutions I found is: RewriteEngine On RewriteCond %{HTTPS}

Re: [EMAIL PROTECTED] Rewrite http to https

2006-09-20 Thread Joshua Slive
On 9/20/06, Huesser Peter [EMAIL PROTECTED] wrote: This question was often asked before but I did not get any solution to work: I want to rewrite all request to http:virtual.server.domain/path/file.html to https://virtual.server.domain/path/file.html;. One of the solutions I found is: The

Re: [EMAIL PROTECTED] Rewrite http to https

2006-09-20 Thread Ricardo Stella
Huesser Peter wrote: Hello This question was often asked before but I did not get any solution to work: I want to rewrite all request to “http:virtual.server.domain/path/file.html” to “https://virtual.server.domain/path/file.html”. One of the solutions I found is: RewriteEngine On

Re: [EMAIL PROTECTED] Rewrite http to https

2006-09-20 Thread Darek Czarkowski
On Wed, 2006-09-20 at 17:03 -0400, Ricardo Stella wrote: Huesser Peter wrote: Hello This question was often asked before but I did not get any solution to work: I want to rewrite all request to “http:virtual.server.domain/path/file.html” to