Joomla上传远程服务器apache 2.4出现403:You don't have permission to access

joomla上传远程服务器后输入ip,基本会出现403错误,是由于没有设置访问权限导致的问题。

Joomla上传远程服务器apache 2.4出现403:You don't have permission to access_第1张图片
403.png

我的apache版本是2.4.27,网上的问答很多都是2.2版本的,与2.4差异较大,修改主要来自与http.conf
和http-vhosts.com总结了一下主要有以下几点修改操作

  1. 把Require local 修改为Require all granted.
Joomla上传远程服务器apache 2.4出现403:You don't have permission to access_第2张图片
http.conf.png
Joomla上传远程服务器apache 2.4出现403:You don't have permission to access_第3张图片
http-vhosts.conf.png
  1. 把AllowOverride none替换为AllowOverride all
Joomla上传远程服务器apache 2.4出现403:You don't have permission to access_第4张图片
  1. 修改项目目录
Joomla上传远程服务器apache 2.4出现403:You don't have permission to access_第5张图片
  1. 重启服务

你可能感兴趣的:(Joomla上传远程服务器apache 2.4出现403:You don't have permission to access)