简体   繁体   English

Magento:自定义文件夹和文件权限问题

[英]Magento: custom folder and file permission issue

I put a custom folder inside my magento root folder that i want accessed outside. 我将自定义文件夹放在要在外部访问的magento根文件夹中。

Like this: 像这样:

magento_root/
magento_root/custom_php/
magento_root/customer_php/accessme.php

I want "accessme.php" to be loaded but what happens is that magento seems to search for it in the site itself and shows a 404 error page. 我希望加载“ accessme.php”,但是发生的是该magento似乎在网站本身中进行搜索并显示404错误页面。 How do i allow that to show? 我如何允许它显示?

Thanks! 谢谢!

The root cause is the file / folder permissions. 根本原因是文件/文件夹权限。

Give custom_php folder and accessme.php file the rights 775 (meaning: execute and read to all; execute, read and write to owner and group). 授予custom_php文件夹和accessme.php文件775的权限(意味着:对所有人执行并读取;对所有者和组执行,读取和写入)。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM