LinHES Forums
http://forums.linhes.org/

Webserver root directory in R6 [SOLVED]
http://forums.linhes.org/viewtopic.php?f=11&t=22061
Page 1 of 1

Author:  gatorback [ Mon Mar 14, 2011 7:03 pm ]
Post subject:  Webserver root directory in R6 [SOLVED]

I am attempting to follow a procedure procedure to configure a Linksys device. The goal is to configure a webserver (in this case mythtv) to serve a text file (spaMAC.txt) to the device.

The instructions specify to put the .txt file here: /var/www/html directory.

I looked for this directory but found only this:

Code:
[root@mythtv ~]# cd /var
[root@mythtv var]# ls
cache  empty  games  lib  local  lock  log  mail  opt  run  service  spool  tmp



I believe that intent of the instruction is to upload the .txt file to the webserver's root directory. The location where the content files are kept for http://mythtv./, where mythtv is the hostname.

My Question: what is the path of the webserver's root directory? Thank you.

UPDATE:
I tried looking at lighttpd.conf:

Quote:
## a static document-root, for virtual-hosting take look at the
## server.virtual-* options
server.document-root = "/data/srv/httpd/htdocs"


I copied the text file to /data/srv/httpd/htdocs, but and was able to retrieve it from my web browser at http://mythtv./spaMAC.txt (case sensitive)

I tried a search:

Code:
root@mythtv /]# find . -name www
[root@mythtv /]# find . -name html
./usr/share/pear/doc/Structures_Graph/docs/html
./usr/share/gtk-doc/html
./usr/share/doc/tiff-3.8.2/html
./usr/share/doc/pcre/html
./usr/share/doc/ftgl/html
./usr/share/doc/libxml2-2.7.3/html
./usr/share/doc/libxml2-2.7.3/html/html
./usr/share/doc/lame/html
./usr/share/doc/flac-1.2.1/html
./usr/share/doc/rrdtool-1.3.6/html
./usr/share/doc/libxslt-1.1.24/html
./usr/share/doc/libxslt-1.1.24/html/html
./usr/share/doc/transcode/tech/html
./usr/share/doc/transcode/html
./usr/share/doc/datrie/html
./usr/share/doc/libsndfile1-dev/html
./usr/share/doc/libthai/html
./usr/share/doc/groff/1.19.2/html
./usr/share/jack-audio-connection-kit/reference/html
./usr/lib/xulrunner-1.9.1.1/res/html
./usr/include/wx-2.8/wx/html


No Joy.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/