Re: [EMAIL PROTECTED] Help w/ Rewrite

2007-12-17 Thread Vincent Bray
On 16/12/2007, Bryan Richardson <[EMAIL PROTECTED]> wrote: > Thanks. I took a look at the Wiki links you provided, and I think I'll > try using Redirect instead. Any hints as to how I would use Redirect > in this situation? Redirect is a simpler solution but will only work in the main server confi

Re: [EMAIL PROTECTED] Help w/ Rewrite

2007-12-16 Thread Bryan Richardson
Thanks. I took a look at the Wiki links you provided, and I think I'll try using Redirect instead. Any hints as to how I would use Redirect in this situation? Another question: is the RewriteEngine directive site-wide or per directory? Also, if I say RewriteEngine On in a directory that I also say

Re: [EMAIL PROTECTED] Help w/ Rewrite

2007-12-16 Thread Vincent Bray
On 16/12/2007, Bryan Richardson <[EMAIL PROTECTED]> wrote: [snip] > root directory. I've tried both ^(.*)$ and /^(.*)$ for the rewrite rule. > Any suggestions? Thanks! -- BTR The first of those should work but the second not (it's not really a valid regex as ^ mid-string doesn't have a special m

[EMAIL PROTECTED] Help w/ Rewrite

2007-12-16 Thread Bryan Richardson
Hello all, I have a directory on my webserver (say http://localhost/foo/) who's subdirectories (say bar/ and cha/) I want to only be available via SSL ( https://localhost/foo/bar/ % https://localhost/foo/cha/). I have the following .htaccess in my foo/ directory, but it's not working. I assume t