Having a URL to each file

Status
Not open for further replies.

Schmich

Cadet
Joined
Jun 20, 2013
Messages
4
I'm sorry if I use the wrong terms here. I'm wanting to have the files eg. "/mnt/pool1/my_image.jpg" to be a full URL for example: subdomain.dyndns.org/mnt/pool1/my_image.jpg (starting at mnt or pool1 isn't obligatory!).

Is there a way of doing it? If so using what? I'm eyeing the Owncloud plugin but I wish for someone to point the direction before I walk down a road.

edit: also, how would you call this? HTTP file access? Every time I try to search for something similar I end up on a guide/article about FTP.
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
What you want is a simple http server that serves up a directory. Owncloud is overkill for what you are asking for. Unless you want the added features of owncloud.

Sent from my Galaxy Nexus
 

Schmich

Cadet
Joined
Jun 20, 2013
Messages
4
Thanks for replying. I'm not interested in the features of Owncloud. Is there an http server in FreeNAS? (or plugin) or would I have to make a separate (http) server and for example NFS mount from FreeNAS?
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
You can use an apache, nginx, or lighttpd jail. If you have other servers available you can nfs mount the freenas shares and serve it from there.

Sent from my Galaxy Nexus
 
Status
Not open for further replies.
Top