zoukankan      html  css  js  c++  java
  • CI当开启URL重写的时候,报错500 Internal Server Error

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator at admin@example.com to inform them of the time this error occurred, and the actions you performed just before this error.

    More information about this error may be available in the server error log.

    解决方法:

    apache服务器没有开启URL重写模块,将注释去掉

    在apache配置上,注意httpd.conf文件里:

    //开启rewrite

    LoadModule rewrite_module modules/mod_rewrite.so

    LINUX下的xampp中的apache配置文件目录地址:

    /opt/lampp/etc/httpd.conf Apache 配制文件。

  • 相关阅读:
    du
    date
    echo
    redis的多实例
    redis相关配置
    mariadb的安装与主从复制
    11.Flask-钩子函数
    Python之Linux下的virtualenv&&virtualenvwrapper
    Linux的防火墙概念
    安装ipython解释器
  • 原文地址:https://www.cnblogs.com/kenshinobiy/p/4277449.html
Copyright © 2011-2022 走看看