apache - Location and Directory cause 500 error -
i have .htacces file , trying open access file , folder within protected folder.
the file index.php following:
<files index.php> order allow,deny allow satisfy </files> this works , give me access file. file requires assets assets/ directory. try open directory doing following:
<directory "/assets"> order allow,deny allow satisfy </directory> but giving me 500 error. not sure why.
you can't use <directory> container inside htaccess file (which <directory> container itself). if want allow access assets, create htaccess file inassets just:
order allow,deny allow
Comments
Post a Comment