Re: [users@httpd] Modifying mod_access

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

 



Joshua Slive wrote:

It's working perfectly....... Except....... .htaccess files no longer
work for anything that is rewritten to the sbox binary. So users can not
set up stuff like Basic Authentication on those scripts.
Hmmm... I haven't tried it, but I have a suspicion that you could fix
this problem by putting your RewriteRules inside a <Directory
/home/web> instead of in the main server context.  This will  require
some changes to pathnames in your RewriteRules and perhaps the
addition of a RewriteBase directive.
The question is when mod_rewrite works relative to other modules, and
by placing stuff in <Directory>, you should force mod_rewrite to act
in a later phase of processing.

Hmmm. This doesn't seem to have fixed it. The rewrite rules always seem to get processed before the .htaccess files.

Best wishes,
Mike

--
Digitial photo printing - http://www.fotoserve.com/

---------------------------------------------------------------------
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