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放到目录下测试吧。

    以解决了

  • 相关阅读:
    application , application pool., W3wp ,httpapplication, domain
    HDFS
    spark
    Hive
    container docker
    Azure&& hdinsight
    Native Code
    拥抱重构
    六个重构方法可帮你提升80%的代码质量
    重构 小步进行曲
  • 原文地址:https://www.cnblogs.com/java20130725/p/3215899.html
Copyright © 2011-2022 走看看