php - How to write .htaccess for my website directory
how to write .htaccess file for my website directory.
i dont get any errors when i run it locally on my PC.
but when i open it live on browser, it shows an error.
My website directory :-
This is aa glimpse of the error.log file
I understand that in your local Apache installation the .htaccess works fine while when you upload the files to another server it stops working, is that correct? In this case you might want to check the remote server's error_log, in which you can find the detailed error, it might be you are using some directives you are not allowed to (see "AllowOverride" in apache docs)