简体   繁体   English

Magento新主机-禁止403-服务器无法读取htaccess文件

[英]Magento new host - 403 Forbidden - Server unable to read htaccess file

I have moved to a new host and setup everything, but when I try to access the site, I get the following 403 Forbidden error 我已移至新主机并设置了所有内容,但是当我尝试访问该站点时,出现以下403 Forbidden错误

Forbidden 被禁止

You don't have permission to access /webfiles on this server. 您无权访问此服务器上的/ webfiles。 Server unable to read htaccess file, denying access to be safe 服务器无法读取htaccess文件,拒绝访问是安全的

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. 此外,尝试使用ErrorDocument处理请求时遇到404 Not Found错误。

Any ideas on the problem? 关于这个问题有什么想法吗?

very easy just go to your main directori example home/example go to the directory public html and then go to you setting by the fault the system goes to 754 you will have to change to 755 the last 5 is go ing to allow to get to the site. 非常容易,只需转到您的主目录示例home / example进入目录public html,然后再由系统设置为754,则必须更改为755,最后5个才可以进入网站。 cheers 干杯

I figured it out right after I posted. 我发布后马上就知道了。 it was the file permission problem in the main root 这是主根目录中的文件权限问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 服务器无法读取 htaccess 文件 - Server unable to read htaccess file Forbidden 您无权访问此服务器上的 /。 服务器无法读取 htaccess 文件,拒绝访问是安全的 - Forbidden You don't have permission to access / on this server. Server unable to read htaccess file, denying access to be safe .htaccess 403禁止排除 - .htaccess 403 Forbidden exclusions .htaccess 403如果url包含带有另一个htaccess文件的目录则禁止 - .htaccess 403 Forbidden if url contains directory with another htaccess file 尝试访问此WordPress网站时,为什么会出现此403 Forbidden错误? 为什么无法读取.htaccess文件? - Why I obtain this 403 Forbidden error when I try to access to this WordPress website? Why it can't read the .htaccess file? Magento 2中的403禁止的AJAX请求 - 403 Forbidden AJAX request in Magento 2 .htaccess RewriteRule 导致 403 Forbidden - .htaccess RewriteRule causing 403 Forbidden Alexa .htaccess验证您的网站指标您的网站返回了“ 403 Forbidden”错误Magento - Alexa .htaccess Certify Your Site Metrics Your website returned a “403 Forbidden” error Magento 禁止使用灯泡服务器403 - Lamp Server 403 Forbidden 服务器无法读取 htaccess 文件,拒绝访问是安全的 - Server unable to read htaccess file, denying access to be safe
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM