Hello, I trying to restrict access to certain directories with no luck. I getting 500'th server error, any ideas whats wrong which this code: <Directory ~ "^.(dira|dirb|dirc)$"> Order Deny,Allow Deny from All </Directory> Code (markup): Thanks.
50o-th error means internal server error - not access error. Typically this error occurs when server can't execute some script normally
Read your apache error logs. <Directory> directive is not allowed in htaccess context! http://httpd.apache.org/docs/2.2/mod/core.html#directory