WAMP 500 Internal Server Error .htaccess is a common problem who installed WAMP sever at first. Not only first, anyway we can solve this problem in 4 different ways.
You may get following error,
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
wamp 500 internal server error .htaccess
Run your wampserver…
In this method, We have to enable Headers Module and Rewrite Module. Wamp server gives Internal Server Error by this two modules.
First Run your WAMP server and click taskbar WAMP icon.
Apache -> Apache modules -> rewrite_module , enable it(by click).
Like same way enable headers_module ( Apache -> Apache modules -> headers_module).
Solution 2: Changes in httpd.conf
In second method, We can enable same Headers Module and Rewrite Module by code.
Open Apache’s httpd.conf file.(goto taskbar icon and select
You can find following lines,
#LoadModule rewrite_module modules/mod_rewrite.so
#LoadModule headers_module modules/mod_headers.so
# symbol from front of the 2 lines and save it. Restart your Apache Server.
Solution 3: File Permission
If you have this 500 Internal Server Error problem for any specific file(s), you can solve using this method.
Here you want to change the file permission from FTP(godaddy, cpanel,…) side. Select that specific file(s) and click right mouse button and select change permission link. There select read/write options to all. Cool!
Solution 4: In .htaccess file?
No need to do anything into .htaccess file. Above 3 methods can solve your problem.
Sill you want to do by .htaccess file, just ask me by comments. If you have any doubt ask me.