Re: [nslu2-linux] is it possible to set lighttpd root directory on a usb fat32 drive?
- This is what you said knowvb
>You can use any directory you want for every web site you host. You just
> Hi Everyone.
> Is this possible please?
> At the moment it is set to /opt/share/www/lighttpd
> But this is on the 2gb usb flash stick that i have unslung to.
> I still would like to keep this 2gb unclung stick but would like to tell
> web server to look at a folder on my hard drive.
> If this isnt possible could i somehow mount a usb fat32 drive so that a
> script running from the unslung flash drive could display the contents of
> folder on the external fat32 hard drive?
> Many thanks
have to modify your lighttpd.conf file (see the examples found on the
web). Then have lighttpd re-read the .conf file for the changes to be
loaded (probably the easiest way is to stop and start lighttpd).