On Apr 5, 2005 1:08 PM, Charles Li <cli168@xxxxxxxxx> wrote: > Thanks. > > This is what I have setup: > > <VirtualHost _default_:8000> > # deny any url that does not match "/AAA" > <LocationMatch "!^(/AAA)"> > Order Deny,Allow > Deny from all > </LocationMatch> > </VirtualHost> Your LocationMatch does not use proper regex syntax. You probably want something like <Location /> Order deny,allow Deny from all </Location> <Location /AAA> Order deny,allow Allow from all </Location> --------------------------------------------------------------------- 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