Wordpress Permalink不';无法使用Ubuntu服务器AWS
我尝试了这个教程,但什么也没发生 apache2.conf目录代码Wordpress Permalink不';无法使用Ubuntu服务器AWS,wordpress,amazon-web-services,ubuntu,amazon-ec2,Wordpress,Amazon Web Services,Ubuntu,Amazon Ec2,我尝试了这个教程,但什么也没发生 apache2.conf目录代码 <Directory /> Options FollowSymLinks AllowOverride All Require all granted </Directory> <Directory /usr/share> AllowOverride None Require all granted </Directory>
<Directory />
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
<Directory /usr/share>
AllowOverride None
Require all granted
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks
#None
AllowOverride All
Require all granted
</Directory>
<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
<Directory "/var/www/html/wordpress">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
#<Directory /srv/>
# Options Indexes FollowSymLinks
# AllowOverride None
# Require all granted
#</Directory>
选项如下符号链接
允许超越所有
要求所有授权
不允许超限
要求所有授权
选项索引跟随符号链接
#没有
允许超越所有
要求所有授权
选项索引跟随符号链接
允许超越所有
要求所有授权
选项索引跟随符号链接
允许超越所有
要求所有授权
#
#选项索引跟随符号链接
#不允许超限
#要求所有授权
#
当然,每次我做改变时,我总是重新启动apache
如果我不使用permalinks wordpress,根据文章,当Apache配置文件中未启用mod_rewrite模块时,就会出现这种情况。非常感谢先生。