On Mon, Apr 5, 2010 at 1:54 PM, Wade Preston Shearer
<[email protected]> wrote:
> I'm sure the answer is no, but I thought I'd still ask. Is there any way to 
> switch to https via a relative URL? The problem is that relative URLs don't 
> contain the protocol.

Have you tried a 301 redirect?

(can't think of the syntax off the top of my head, but something along
the lines of:)

RewriteEngine On
RewriteCond %{HTTP_URL}   ^/foobar [NC]
RewriteRule ^/(.*)         https://domain.tld/$1 [L,R]


-- 
Christer Edwards

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to