Re: [users@httpd] mod_rewrite and Location(Match)?

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

 



Hi,

On Die 28.03.2006 09:17, Joshua Slive wrote:
On 3/28/06, Alexander Lazic <al-httpdusers@xxxxxxx> wrote:

But when i deaktivate the RewriteRule in the VirtualHost and aktivate
in the global Scope the apache make the request to the Appserver.

That's a confusing problem description, but I think what you want is
RewriteEngine On
RewriteOptions inherit
in the <VirtualHost> container.

After rereading you are right, sorry :-(

I try to make it cleaner.

With LocationMatch i can make a basic-auth area:

---
<LocationMatch "apps/test">
 AuthType Basic
 AuthName "Auth-Part"
 AuthUserFile /usr/local/apache/conf/.auth1htpasswd
 AuthGroupFile /usr/local/apache/conf/.auth1htgroup

 <Limit GET POST>
   require group authgr1
 </Limit>
</LocationMatch>
---

How can i make this similar for a part of query-string?

As the doc say it is impossible with LocationMatch:

--- http://httpd.apache.org/docs/2.0/mod/core.html.en#location
For all origin (non-proxy) requests, the URL to be matched is a URL-path
of the form /path/. No scheme, hostname, port, or query string may be
included. For proxy requests, the URL to be matched is of the form
scheme://servername/path, and you must include the prefix.
---

Regards

Alex

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