• April 27, 2024, 04:49:06 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Using my DNS-321 as an http file server  (Read 3496 times)

pcollacchi

  • Level 1 Member
  • *
  • Posts: 1
Using my DNS-321 as an http file server
« on: April 04, 2010, 12:55:06 PM »

I want to re-use the existing DNS http server to serve the underlying unix file system files.  Mine are on a drive called HD_a2.  In this case I don't need samba access from Windows I want http access from a browser.

The reason is simple, if I do that then I can browse to my network storage using my iPad over the local wifi.  Apple is not particularly cooperative about allowing its iProduct users to mount Windows or Unix file systems.

I'm not a wiz at writing html, but I don't think this is rocket science.

If this is not the right forum for the question mr moderator tell me which is and please dont use jargon to identify the forum.  Thanks.
Logged

jamieburchell

  • Level 6 Member
  • *
  • Posts: 947
Re: Using my DNS-321 as an http file server
« Reply #1 on: April 04, 2010, 04:28:29 PM »

Have you considered using an iPhone/iPod Touch app called Netportal? It would allow you to browse network shares and open files over wifi. I've done it with my DNS-323.

As for "reusing the http server" - you would need to modify your DNS-323 to achieve anything like this.  Google "fun_plug" for more information, the correct forums for modding the DNS are there too.

However, regardless how simple it might be to create a few static HTML pages running on the DNS, it won't be able to give you a directory listing of the files on the hard drives nor serve them to you without some server-side scripting using PHP for example. This is true of any files that are outside of the web server's document root. You might be able to achieve something similar if you somehow reconfigured the NAS's web server/run another one on a different port and made the entire drive the document root - basically making your entire hard drive into a web site. Either way it's outside the scope of this forum and sounds like a royal pain in the ar$e :)
Logged
If your little 323 is not working right,
You've racked your brains and been up all night
Take a deep breath and wipe away the sweat,
Login as web admin and try a factory reset!

fordem

  • Level 10 Member
  • *****
  • Posts: 2168
Re: Using my DNS-321 as an http file server
« Reply #2 on: April 04, 2010, 05:19:46 PM »

Load the 1.05 firmware and browse to "http://<ip-address-of-DNS>/web/wfs_login.asp" where <ip-address-of-DNS> is of course the ip address of your DNS-323.

Please be aware that this was an undocumented and unsupported feature which has since been removed from later firmware versions - there was some talk of it being completed as an additional access method, but that never happened, and probably never will.

Be warned, downgrading firmware can lead to instability as bugs that were fixed in later firmware will be unpatched in the earlier versions and this particular feature is known to create security holes that could be a problem is your DNS-323 were exposed to public html access.  If used on a secure LAN for access to files that are not considered highly sensitive, you should be fine.
Logged
RAID1 is for disk redundancy - NOT data backup - don't confuse the two.