NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

Chortle's avatar
Chortle
Aspirant
Oct 23, 2012

403 Forbidden Error

I'm using a ReadyNAS Duo v2 and have installed PHP & SQL successfully.

1. I created a share called "www"
2. I forwarded http access using the admin panel "http" button to this share.
3. On the shares menu I enabled http access as well.
4. I can happily access any file placed directly into the "www" folder (such as index.html, index.php) using the URL http://[MY-NAS-IP]/www/

HOWEVER

5. If a file is placed in a subfolder it becomes inaccessible. For example my "/www/php/" folder holds 'index.php' placed in the root of the share (ie. /www/) it displays. Places in a subfolder it wont.

My first thought was it's a permissions issue but using ssh I was able to chmod the files.
chmod -R 777 /www/php/


Any suggestions about what might be going wrong would be fantastic

1 Reply

Replies have been turned off for this discussion
  • A weird addition to this problem...

    I found that using my browser I could view and Index of my readynas (ie browse through folders and files).

    Here's the bizare part the only folder NOT displaying is my /www/php/

    It simply doesn't appear in the index almost like it doesn't exist! But when I go to CIFS/AFP or ssh root and ls -al it's definately there!

    is this likely to be a .htaccess issue?

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More