Quantcast
Viewing all articles
Browse latest Browse all 9

ubuntu+apache2环境wordpress固定链接404的问题

我的系统是ubuntu,自己配置的Apache、PHP、Mysql系统架构,或使用的某些安装包,可能会有这个问题,本人曾经遇到过,解决方法如下:

1.  首先.htaccess文件要给权限666

2. AllowOverride Not Enabled

网上教程是修改/etc/httpd.conf 我的貌似叫/etc/apache2.conf 这个里面是修改全局的 其实这个不用改

可以在你网站自己的配置里的<VirtualHost *:80>中加入:

<Directory /var/www/yuuzle.com/public_html>
	Options FollowSymLinks
	AllowOverride All
</Directory>

然后执行service apache2 restart

测试完全正常


Viewing all articles
Browse latest Browse all 9

Trending Articles