View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 1 post ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon Mar 14, 2011 7:03 pm 
Offline
Joined: Wed May 09, 2007 8:47 pm
Posts: 367
Location: Minnesota- Brrrrr!
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.

_________________
R7.3: 0.22.20091023-1, Hauppauge PVR-500 (Philips FQ1236A MK4), Gigabyte Gigabyte EG45M-UD2H, E5200 2.4Ghz, 2GB RAM, NVIDIA GEFORCE 256MB


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: Google [Bot] and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu