zoukankan      html  css  js  c++  java
  • 500 Internal Error Wamp 服务器错误处理

    [Thu Jul 25 16:52:38 2013] [alert] [client 127.0.0.1] C:/wamp/www/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration

    本地的wamp是非常强大的服务器测试环境,同时也能为网站开发者提供学习服务器的平台。本文为大家介绍如何开启wamp的重写功能,让wamp支持.htaccess。

    1、开启rewrite_module:鼠标左键点击右下角wamp运行图标,在选项中Apache->Apache模块中找到rewrite_module,点击即开启本模块。wamp会自动重启服务。

    2、修改httpd.conf文件:同样,在Apache->找到httpd.conf,点击即可打开httpd.conf文件。找到:

    AllowOverride None

    修改为:

    AllowOverride All

    然后重启wamp的所有服务。

    3、这时已经支持.htaccess文件来重写了,写自己的.htaccess放到目录下测试吧。

    以解决了

  • 相关阅读:
    【HDOJ】3660 Alice and Bob's Trip
    【HDOJ】3652 B-number
    【HDOJ】4057 Rescue the Rabbit
    【HDOJ】2155 小黑的镇魂曲
    【HDOJ】2828 Lamp
    【HDOJ】3275 Light
    【HDOJ】2430 Beans
    【POJ】2823 Sliding Window
    CE下可用的3G
    RIL开发过程
  • 原文地址:https://www.cnblogs.com/java20130725/p/3215899.html
Copyright © 2011-2022 走看看