Loading ...
Sorry, an error occurred while loading the content.
 

Re: [nslu2-linux] is it possible to set lighttpd root directory on a usb fat32 drive?

Expand Messages
  • Scott Ruckh
    This is what you said knowvb ... You can use any directory you want for every web site you host. You just have to modify your lighttpd.conf file (see the
    Message 1 of 3 , Jan 28, 2008
      This is what you said knowvb
      >
      > 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
      > the
      > 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
      > php
      > script running from the unslung flash drive could display the contents of
      > a
      > folder on the external fat32 hard drive?
      >
      > Many thanks


      You can use any directory you want for every web site you host. You just
      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).
    Your message has been successfully submitted and would be delivered to recipients shortly.