Java Mailing List Archive

http://www.apache-httpd.com/

Home » users.httpd »

[users@httpd] .htaccess deny question

Industrial Blue

2010-06-23

Replies: Find Java Web Hosting

Author LoginPost Reply
I'm having a heck of a time trying to get this to work. I have a .htaccess file which is working fine. I now have a requirement to restrict/deny any server ending with the letter 'n' from example.com

For example, I want to deny the server 123n.example.com but still allow all other servers (not ending in 'n') from example.com

I have tried everything like:

deny from *n\.example\.com
deny from .*n\.example\.com
deny from ^*n\.example\.com

Is what I am trying to do outside the scope of allow/deny? Thanks much.



   


---------------------------------------------------------------------
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@(protected)
 "  from the digest: users-digest-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.