NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
GTaff
Mar 01, 2012Aspirant
Duo V2 HTTP redirect on share
Hey guys,
I have a readynas duo v2, and am trying but failing to set up a share for web development. I can't see anywhere within the front view where I can control HTTP redirect? The tutorials on the site are for the older versions (http://www.readynas.com/?p=135). I'm just stuck on setting up a share which I can reach.
I'd be grateful for any threads or help.
I have a readynas duo v2, and am trying but failing to set up a share for web development. I can't see anywhere within the front view where I can control HTTP redirect? The tutorials on the site are for the older versions (http://www.readynas.com/?p=135). I'm just stuck on setting up a share which I can reach.
I'd be grateful for any threads or help.
24 Replies
Replies have been turned off for this discussion
- sphardy1ApprenticeWeb based (HTTP) share access is not supported by the 5.3.x firmware. Whether is will be supported in future is unknown
- chirpaLuminaryThis is not currently a GUI option on the v2 system. It could be done manually via SSH console, but not everyone is familiar enough with that.
- GTaffAspirantThat's unfortunate :(
Thanks anyway guys. - mdgm-ntgrNETGEAR Employee RetiredIf you are willing to use SSH shouldn't be too hard with a little bit of help here.
- GTaffAspirantSure, any tips would be great.
- fairmontmanAspirant
chirpa wrote: This is not currently a GUI option on the v2 system. It could be done manually via SSH console, but not everyone is familiar enough with that.
I have enabled ssh on my readynas NV+ v2. I am comfortable enough using bash and vi.
Which files would I need edit to enable http via the ssh console? - mdgm-ntgrNETGEAR Employee RetiredEDIT: PLEASE REMOVE THIS ADD-ON BEFORE UPDATING TO 5.3.5 (CURRENTLY IN PUBLIC BETA). THIS ADD-ON IS NO LONGER NEEDED AS YOU CAN DO WHAT THIS ADD-ON DOES VIA THE WEB UI. On the Dashboard Click Configure. Under System > Services click HTTP then redirect default web access to the webserver (or whatever you've named it) share.
Sorry for not get back onto this sooner.
I've written an add-on to do this: http://rnasguide.com/wp-content/addons/arm/bins/WEBSERVER_0.1-T1-arm.bin
To install on the Dashboard, click Configure, go to the Add-ons tab, click the + button at the far right, browse for the location where you downloaded the add-on, upload the add-on etc.
This add-on requires that you have created a share called "webserver" (no quotes). Also note that the Dashboard will say that the installation failed when it does not. You can ignore this error.
What follows is how to do it manually:
Using the default Dashboard apache configs do the following:
Create a share e.g. "webserver". The following example assumes you have chosen this name. If you haven't replace all references to "webserver" with the name you chose.
Edit /etc/frontview/apache/Shares.conf (e.g. using "vi" - google for MAN page) to look like this:
Alias "/webserver" "/c/webserver"
<Location "/webserver">
Options Indexes
Order allow,deny
Allow from all
</Location>
RewriteEngine on
RewriteRule ^/$ /webserver [R,L]
Then in /etc/frontview/apache/Virtual.conf add the line
RewriteRule ^/$ /webserver [R,L]
This should be above the other RewriteRule lines.
After that you need to restart apache.
# /usr/sbin/apache-ssl -f /etc/frontview/apache/httpd.conf -t && /usr/sbin/apache-ssl -f /etc/frontview/apache/httpd.conf -k graceful
The config you would set may be a little different using the improved apache config found here: http://gitorious.org/readynas/apache-configs (note this improved config is not used by the add-on I linked to above). - fairmontmanAspirant
mdgm wrote: What follows is how to do it manually:
Thank you very much for your prompt response mdgm.
I followed the manual steps you outlined (I was using a different share name) and now the web pages I'd created for my internal network are working fine again.
Hopefully this functionality is returned to frontview in v5.3.4 - mdgm-ntgrNETGEAR Employee Retired
fairmontman wrote:
Hopefully this functionality is returned to frontview in v5.3.4
The web-interface on the ARM units is called the Dashboard. Would be nice to see this functionality in the GUI. - GTaffAspirantThanks mdgm! Used the add-on and it worked perfectly.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!