Hy
I have a problem with my apache in wamp it dosen't recognize my htaccess file and I have searched everywhare to find a solution to the problem.
Fot starters I want just to show my 404 custom page but my code is not working.
`<Files ~ "^\.(htaccess|htpasswd)$">
deny from all
</Files>
Options Indexes
ErrorDocument 404 404.html
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www\.localhost/magiclight)(:80)? [NC]
RewriteRule ^(.*) http://localhost/magiclight/$1 [R=301,L]
DirectoryIndex index.php
order deny,allow`
This is all my code can anyone show me who to make this work and even give usefull advice for the future because I like good security and flexebility in my apps.
Thank you