NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
rickyboone
May 27, 2007Aspirant
Allowing Symbolic Links in ReadyNAS HTTP Service
I've recently migrated most of my storage onto my ReadyNAS NV+, and I'm running into an issue with the HTTP service. I store local mirrors of various yum repositories (CentOS, Fedora, etc.) to save t...
japorms
Aug 30, 2012Aspirant
Sorry to revive an old thread, but I just found it and noticed it had an unanswered question. I figured I would share my solution to allow symlinks on my CentOS mirror on my ReadyNAS.
I created a custom config called /etc/frontview/apache/custom.conf and added an include line for it in /etc/frontview/apache/httpd.conf
It contains the following:
I also commented out the Require valid-user directive in my /mirror location, so my servers don't have to authenticate to connect:
I thought about adding the Directory directive to the Shares.conf, but I was afraid it might get overwritten. So, I created a separate conf file for it.
Hope this helps.
I created a custom config called /etc/frontview/apache/custom.conf and added an include line for it in /etc/frontview/apache/httpd.conf
It contains the following:
<Directory "/c/mirror">
Options FollowSymlinks
</Directory>
I also commented out the Require valid-user directive in my /mirror location, so my servers don't have to authenticate to connect:
Alias "/mirror" "/c/mirror"
<Location "/mirror">
Options Indexes
Order allow,deny
Allow from all
# Require valid-user
Include /etc/frontview/apache/Auth.conf
AuthName "My Shares"
</Location>
I thought about adding the Directory directive to the Shares.conf, but I was afraid it might get overwritten. So, I created a separate conf file for it.
Hope this helps.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!