Re: Location of http files?
On Sun, 13 May 2007 17:36:33 +0100
John K Masters <johnmasters@oxtedonline.net> wrote:
> On 12:28 Sun 13 May , Eric A. Bonney wrote:
> > I have my server setup as a web server. I know it is working
> > correctly since when I type in the ip address of the machine I get
> > a page that displays "It Works". So where do all the http file go
> > that I want to be in the public area? I know on the server that is
> > currently hosting my web sights they are in pub_html, but I don't
> > see anything like that on my server.
> >
> > Thanks,
> > -Eric
>
> /var/www
> Should be document root
>
> Regards, John
Since I don't know which server application is installed on your
computer, I assume it is Apache.
If your server is configured to serve users' content, simply create a
directory in your home dir, called public_html, and put all the stuff
in there! It will be accessible as http://hostname/~username
If the server is not configured to do it, /var/www is the place you are
looking for. It is owned by root, so you will either have to change
permissions/owner or use su or sudo everytime you update your site.
Personally, I prefer the ~/public_html approach.
--
Szia:
Nyizsa.
----------------------------------------------------------------------
Free pop3 email with a spam filter.
http://www.bluebottle.com
Reply to: