Re: Help w/ Rewrite

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

 



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 AllowOverride All, do I have to say RewriteEngine On again in the
.htaccess file?

Thanks again for the help! -- BTR

On 12/16/07, Vincent Bray <noodlet@xxxxxxxxx> wrote:
> On 16/12/2007, Bryan Richardson <btricha@xxxxxxxxx> 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 meaning, and in
> htaccess there's no leading slash). Try these wiki pages:
>
> http://wiki.apache.org/httpd/RewriteHtaccessIgnored
> http://wiki.apache.org/httpd/RewriteContext
> http://wiki.apache.org/httpd/RewriteHTTPToHTTPS
>
> --
> noodl
>
> ---------------------------------------------------------------------
> 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