Apache2 开启重写模式

版权声明:本文为博主原创文章,网络媒体转载请注明出处,否则属于侵权行为 https://blog.csdn.net/github_38336924/article/details/82461995

Apache2 开启重写模式

  • /etc/apache2/apache2.conf文件中,找到AllowOverride None
    这里写图片描述

  • 改为AllowOverride All保存并退出
    这里写图片描述

  • 重启Apache

service apache2 restart

猜你喜欢

转载自blog.csdn.net/github_38336924/article/details/82461995