On 10/18/06, Norman Khine <[EMAIL PROTECTED]> wrote:

The problem is that the if I add the:

  RewriteMap    hosts-deny  txt:/home/user/apache/hosts.deny
  RewriteCond   ${hosts-deny:%{REMOTE_HOST}|NOT-FOUND} !=NOT-FOUND [OR]
  RewriteCond   ${hosts-deny:%{REMOTE_ADDR}|NOT-FOUND} !=NOT-FOUND
  RewriteRule   ^/.*  -  [F]

to my httpd.conf the browser just hangs and there is no entry in the logs.

How can I have the RewriteRule check against the hosts.deny and if it is
not there to run the second RewriteRule?

If things are hanging, then that is a different story.  Are you using
the most recent version of apache?  You should identify the hanging
process and get a backtrace as described in
http://httpd.apache.org/dev/debugging.html#backtrace

Joshua.

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to