wamp server 500 internal server error

a 夏天 提交于 2019-12-05 19:52:45

You should activate the rewrite module in the file httpd.conf.

Change this line :

#LoadModule rewrite_module modules/mod_rewrite.so

to :

LoadModule rewrite_module modules/mod_rewrite.so

remove (or move) .htaccess file from your www wamp folder...

Re: 500 Internal Server Error

Check that you have the the apache rewrite module loaded.

go to wamp_manager -> apache -> modules and look for rewrite_module in the list.

If it does not have a TICK beside it click it. Apache will be bounced ( stop, start ). Try again.

The rewite engine will not work without the required module loaded.

Is quite common to use the deflate tag invoking some filters. Like this:

<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/x-javascript application/javascript image/svg+xml
</IfModule>

If the Deflate Module is enabled, but not Filter Module, you will also get the error 500.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!