Freek Dijkstra wrote:
Curious,
is never matched
is matched.
Logically, I would have expected both regexps to yield the same result.
I did some more testing, and it just seems that the the end of line
anchor is just never matched. I can easily reproduce it with only a few
configuration
[My apologies for the many posts; I just notices that my mailer removed
the tags thinking it was HTML]
Freek Dijkstra wrote:
Curious,
Directory ~ ^/var/www/projects/.*$ is never matched
Directory ~ ^/var/www/projects/.* is matched.
Logically, I would have expected both regexps to yield the
On Mon, Aug 23, 2010 at 3:51 PM, Freek Dijkstra pub...@macfreek.nl wrote:
[My apologies for the many posts; I just notices that my mailer removed
the tags thinking it was HTML]
Freek Dijkstra wrote:
Curious,
Directory ~ ^/var/www/projects/.*$ is never matched
Directory ~
On Mon, Aug 23, 2010 at 7:21 AM, Freek Dijkstra pub...@macfreek.nl wrote:
[My apologies for the many posts; I just notices that my mailer removed
the tags thinking it was HTML]
Freek Dijkstra wrote:
Curious,
Directory ~ ^/var/www/projects/.*$ is never matched
Confirmed in the source that $
On Mon, Aug 23, 2010 at 8:32 AM, Eric Covener cove...@gmail.com wrote:
On Mon, Aug 23, 2010 at 7:21 AM, Freek Dijkstra pub...@macfreek.nl wrote:
[My apologies for the many posts; I just notices that my mailer removed
the tags thinking it was HTML]
Freek Dijkstra wrote:
Curious,
Directory ~
Eric Covener wrote:
https://issues.apache.org/bugzilla/show_bug.cgi?id=49809
I had looked into this august 2009 and couldn't figure out any good
reason why it should be matched as a literal.
Eric,
Thanks for looking into this. It is highly appreciated.
Is there anything I can do to help?
I
On Mon, Aug 23, 2010 at 2:24 PM, Freek Dijkstra pub...@macfreek.nl wrote:
Eric Covener wrote:
https://issues.apache.org/bugzilla/show_bug.cgi?id=49809
I had looked into this august 2009 and couldn't figure out any good
reason why it should be matched as a literal.
Eric,
Thanks for
Eric Covener wrote:
The patch is very easy, but I am afraid it might not be suitable to
backport to 2.2.x.
I struggled with finding some fancy PCRE feature that would make this
work as most people expect it to -- \Z or negative lookahead, but
AFAICT they all fail to simulate the $ due to
Freek Dijkstra wrote:
Steps to reproduce
1. Add the following configuration to httpd.conf:
Alias /test/ /var/www/test/
Directory /var/www/test/projects
Options Indexes
Order deny,allow
Deny from all
/Directory
Directory ~ /var/www/test/projects/$
Allow from all
On Mon, Aug 23, 2010 at 4:55 PM, Freek Dijkstra pub...@macfreek.nl wrote:
Eric Covener wrote:
The patch is very easy, but I am afraid it might not be suitable to
backport to 2.2.x.
I struggled with finding some fancy PCRE feature that would make this
work as most people expect it to -- \Z
Eric Covener wrote:
I didn't realize that was an option, or that it would help matters.
I am not sure if it does helps; Frankly, this is the first time I look
at the Apache code. I still don't understand how things relate, so the
above contains a few assumptions. Take it as a suggestion how I
I can't figure out how to accomplish the following access permissions.
- https://www.example.org/projects/ maps to /var/www/projects/
- The projects folder has access restrictions, only valid-users may view
/projects or subdirectories
- All valid-users may view (the autoindex of) /projects
-
Directory ~ ^/var/www/projects/$
Allow from all
/Directory
satisfy any?
--
Eric Covener
cove...@gmail.com
-
The official User-To-User support forum of the Apache HTTP Server Project.
See
Eric Covener wrote:
Directory ~ ^/var/www/projects/$
Allow from all
/Directory
satisfy any?
Sorry, no change.
Requesting /projects/ still gives a 403 Forbidden.
Also, If I understand correctly, what I want is satisfy all;
(thus both require valid-user and allow all should be satisfied.)
Freek Dijkstra wrote:
It seems that Directory ~ ^/var/www/projects/$ is just not matched
for some reason.
Curious,
Directory ~ ^/var/www/projects/.*$ is not matched either
However,
Directory ~ ^/var/www/projects/.* is matched.
Logically, I would have expected both regexps to yield the same
15 matches
Mail list logo