Hi Melanie,

> > if you move the connections folder outside the public tree, 
> > then no-one can request your connection stuff via HTTP 
> > (but you can still include it).
> >
> > /
> > /cgi-bin
> > /includes
> >   /includes/connections
> >   /includes/any-other-sensitive-stuff
> > /logs
> > /public_html
> >   /public_html/books
> >
> 
> Now this is where I get confused. If I enter just the site name in my 
> browser I get the index file that sits in /public_html and I 
> therefore assume that the system sees /public_html as my root 
> directory. Now, how do I include a file that sits under the root ?  
> Surely the OS treats the root as the bottom directory ( or does it?) 

Your webserver will have something like /home/melanie/public_html aliased to
http://melanie.com/ (or whatever it is) - think of this folder as the root
of melanie.com's virtual filesystem. This virtual filesystem is what you're
browsing when you visit melanie.com.

Usually a host gives you access to all the directories from /home/melanie
downwards (including public_html). Often you'll find a "cgi-bin" and a
"logs" directory in this folder - try connecting via FTP as normal, and then
keep clicking "go up a level" until you can't go up any further. If you can
see public_html listed as a directory, then you're at the right place :-)

As I didn't describe this very well, here's a screenshot of my top-level
directory (sensitive information munged with orange stripes):
http://laughing-buddha.net/tmp/ftp.png

Cheers
Jon

____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to