Hi all,
I'm strugling with this for a while now.
I have thttpd set up, it's running, has a CMS system on it.
The directory where it is stored is:
/opt/share/www
I also have pictures stored on the asus which I want to 'share' to the webserver.
Only thing is, they're stored in another place:
/opt/share/photo
If I wanted to share another folder through the webserver on a windows machine (IIS) I would add a virtual directory to the webserver and give it a name. But with linux/thttpd I do not know how to achieve this.
Is there anyone who can say me (or point me in a direction) how I can add this 'virtual directory' to my webserver so that it will be accessible through the webserver..
Something like:
path: /opt/share/photo
virtual name: pictures
So that it will be accessible through 192.168.1.1:8082/pictures
While we're at it, then is there a way to turn on/off 'directory browsing' to that dir..
Let's say I've got a lot of pictures stored in that directory, but some off them I want to use in the webpages, not all, but I don't like the idea of storing the pictures I use again in the place the webserver sits. as a rule off thumb: each information, only once. therefor I want to solve this with a virtual directory.
Thanks in advance.
WL500g Premium v1 Oleg 1.9.2.7-10 500gb hdd [storage-disk] - 250gb hdd [download-disk]
Transmission HellaNZB mysql php lighttpd myphpadmin samba AIOCP CMSimple AmpJuke ADOS
HeadStart
How to measure Energy consumption