I am newbie for HTTP servers, so I may miss technical words while writing about thttpd web server. I got simple config file from thttpd site
Which is easy for get going, I was in need to put .gif and .jpg images on my pages, which are tested on other webserver boa where all the pages were coming with CSS formating and images. With new installation of thttpd .jpg images and .gif images were not seen and also CSS formating was missing. I discovered about localpat variable from thttpd, one has to give path in configuration file as
localpat=**.gif|**.png|**.jpg
to appear images. All images should be read only format. one can use $chmod 644 *.* command to make files read only.
About CSS, just change the format to read only and keep it in www or html folder it starts appearing. well there is not much documentation on the site, hope you will not spend time in digging the things again.
my configuration file looks as below
dir=/usr/share/html
cgipat=/cgi-bin/*.cgi
pidfile=/var/run/thttpd…
Which is easy for get going, I was in need to put .gif and .jpg images on my pages, which are tested on other webserver boa where all the pages were coming with CSS formating and images. With new installation of thttpd .jpg images and .gif images were not seen and also CSS formating was missing. I discovered about localpat variable from thttpd, one has to give path in configuration file as
localpat=**.gif|**.png|**.jpg
to appear images. All images should be read only format. one can use $chmod 644 *.* command to make files read only.
About CSS, just change the format to read only and keep it in www or html folder it starts appearing. well there is not much documentation on the site, hope you will not spend time in digging the things again.
my configuration file looks as below
dir=/usr/share/html
cgipat=/cgi-bin/*.cgi
pidfile=/var/run/thttpd…