httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martijn <users.apa...@mindcontrolled.nl>
Subject Re: [users@httpd] Trouble with regexp on <Directory>, using Apache 1.3.33
Date Wed, 24 Aug 2005 21:47:10 GMT
Hello Spike, thanks for your post.

That probably is a good approach, I could even symlink the second .htaccess 
to make sure both files are consistent.

Trouble is (and I forgot mention this in my first post, sorry about that), 
that I plan to use the same method (a regexp) for a few <Location> 
directives, where the locations are virtual (eg. server-status and 
throttle-status) and .htaccess can't be used.

Besides that, I'm also interested in why the regexp isn't working, just to 
know what went wrong.

Bottom line of my problem is I'm trying to make sure that every <Directory> 
(or virtual <Location>) is using the exact same list of restrictions.
I've tried solving this by doing something like

<Directory /foo>
include restrict.conf
</Directory>

where restrict.conf contains
---
order allow,deny
allow from foo
allow from bar
---
But Apache didn't like that.

Any other ideas to solve this are welcome as well.

Thanks,
Martijn.

At 14:20 24-8-2005 -0700, you wrote:
>Martijn,
>
>  Maybe I'm missing something, but in this case wouldn't using .htaccess 
> be a good approach?
>
>spike


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message