Apache2: Default Directory and good Setup Guide?
Apache2: Default Directory and good Setup Guide?
am 01.06.2007 00:44:00 von david
This is for Apache2, when the sever is installed on Linux, does it define
a default document directory? If so, how can I determine it? I looked
into the the apache2.cnf file, but I do not see any "
Also, is there a good but basic Setup Guide for Linux?
Thanks
Re: Apache2: Default Directory and good Setup Guide?
am 01.06.2007 01:06:12 von david
David wrote:
> This is for Apache2, when the sever is installed on Linux, does it define
> a default document directory? If so, how can I determine it? I looked
> into the the apache2.cnf file, but I do not see any "
>
> Also, is there a good but basic Setup Guide for Linux?
>
> Thanks
It is in the httpd.conf for example in mine
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "/var/www/html"
Re: Apache2: Default Directory and good Setup Guide?
am 01.06.2007 03:08:25 von david
On Thu, 31 May 2007 16:06:12 -0700, David wrote:
> David wrote:
>> This is for Apache2, when the sever is installed on Linux, does it define
>> a default document directory? If so, how can I determine it? I looked
>> into the the apache2.cnf file, but I do not see any "
>>
>> Also, is there a good but basic Setup Guide for Linux?
>>
>> Thanks
>
> It is in the httpd.conf for example in mine
>
> # DocumentRoot: The directory out of which you will serve your
> # documents. By default, all requests are taken from this directory, but
> # symbolic links and aliases may be used to point to other locations.
> #
> DocumentRoot "/var/www/html"
Tried the 'DocumentRoot' command in the httpd and apache2 conf files, but
it did not work. I know that under the Win version of Apache, you put in
the command, but it does not appear to work with Linux.
Using Apache/2.0.55 under Ubuntu.
Re: Apache2: Default Directory and good Setup Guide?
am 01.06.2007 04:12:03 von david
David wrote:
> On Thu, 31 May 2007 16:06:12 -0700, David wrote:
>
>> David wrote:
>>> This is for Apache2, when the sever is installed on Linux, does it define
>>> a default document directory? If so, how can I determine it? I looked
>>> into the the apache2.cnf file, but I do not see any "
>>>
>>> Also, is there a good but basic Setup Guide for Linux?
>>>
>>> Thanks
>> It is in the httpd.conf for example in mine
>>
>> # DocumentRoot: The directory out of which you will serve your
>> # documents. By default, all requests are taken from this directory, but
>> # symbolic links and aliases may be used to point to other locations.
>> #
>> DocumentRoot "/var/www/html"
>
>
> Tried the 'DocumentRoot' command in the httpd and apache2 conf files, but
> it did not work. I know that under the Win version of Apache, you put in
> the command, but it does not appear to work with Linux.
>
> Using Apache/2.0.55 under Ubuntu.
I am not using Ubuntu so I am not sure where they put the Virtual host
configuration, but I have a file called Vhosts.conf and within it I have
my configuration of all my virtual hosts such as
DocumentRoot /home/members/jond/transblucency/logs
ServerName usage.transblucency.com
allow from all
Options +Indexes
Hope that helps some