Re: [gentoo-user] apache configuration

2003-09-03 Thread momesana
Hi again,
I followed your instructions (concerns both replies) and it works perfectly 
now. Actually I found everything in the file you mentioned that I was missing 
in the apache2.conf file like the "DirectoryIndex" directive. I was quite 
confused becaus I had allways compiled and installed apache manually and if 
you do so you have only one major config file "httpd.conf" to deal with and 
everything is set there but in the gentoo version everything looks different 
and even has different names so thanx for the info (this also goes out to the 
author of the other reply with the same content ). 


Am Dienstag, 2. September 2003 16:31 schrieb Condon Thomas A KPWA:
> momesana wrote:
> > Hi, all
> > maybe this is not the right place to post a question about setting up
> > the apache server, but anyway.
> >
> > I can't manage to change DocumentRoot to anything else but the default
> >
> > DocumentRoot "/home/httpd/htdocs"
> >
> > when I put my files in there it works fine but when I put them
> > somewhere else (with the same permissions = 755 or even 777 for the
> > directory and all files chmod -R 755 ) it gives following
> > error message:
> >
> > Forbidden
> >
> > You don't have permission to access / on this server.
> >
> > Apache/2.0.47 (Gentoo/Linux) Server at 127.0.0.1 Port 80
> >
> > It is a 403 Erro message and I have no clue why. Even when I copy
> > /home/httpd/htdocs to /home/httpd/htdocs2 while preserving the
> > filepermissions with
> > # cp -Rp /home/httpd/htdocs /home/httpd/htdocs2
> > and change the apache2.conf file accordingly it won't work (of course
> > I restart apache after modifiing the config file).
> >
> > What is the reason for this errormessage.
> > please email me at [EMAIL PROTECTED]
> >
> > Thanx in advance.
>
> The Gentoo Apache install adds /etc/apache/conf/commonapache.conf as an
> include in /etc/apache/conf/apache.conf.  In this file (commonapache.conf)
> I found the directive to not allow any directories.  So you need to add
> somewhere (after that include):
>
> 
> Options Indexes FollowSymLinks MultiViews
> AllowOverride None
> Order allow,deny
> Allow from all
> 
>
> Or something very similar with whatever options you wish for the web
> directories you will be serving.
>
> Do be sure to restart Apache. Also have a look at the server
> logs.
>
>
> Tom  :-})
>
> Thomas A. Condon
>
> Plain Text Emails Don't Pass Viruses!
>
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] apache configuration

2003-09-02 Thread Condon Thomas A KPWA
momesana wrote:
> Hi, all
> maybe this is not the right place to post a question about setting up
> the apache server, but anyway.
> 
> I can't manage to change DocumentRoot to anything else but the default
> 
> DocumentRoot "/home/httpd/htdocs"
> 
> when I put my files in there it works fine but when I put them
> somewhere else (with the same permissions = 755 or even 777 for the
> directory and all files chmod -R 755 ) it gives following
> error message: 
> 
> Forbidden
> 
> You don't have permission to access / on this server.
> 
> Apache/2.0.47 (Gentoo/Linux) Server at 127.0.0.1 Port 80
> 
> It is a 403 Erro message and I have no clue why. Even when I copy
> /home/httpd/htdocs to /home/httpd/htdocs2 while preserving the
> filepermissions with
> # cp -Rp /home/httpd/htdocs /home/httpd/htdocs2
> and change the apache2.conf file accordingly it won't work (of course
> I restart apache after modifiing the config file).
> 
> What is the reason for this errormessage.
> please email me at [EMAIL PROTECTED]
> 
> Thanx in advance.

The Gentoo Apache install adds /etc/apache/conf/commonapache.conf as an
include in /etc/apache/conf/apache.conf.  In this file (commonapache.conf) I
found the directive to not allow any directories.  So you need to add
somewhere (after that include):


Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all


Or something very similar with whatever options you wish for the web
directories you will be serving.

Do be sure to restart Apache. Also have a look at the server
logs.


Tom  :-})

Thomas A. Condon

Plain Text Emails Don't Pass Viruses!

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] apache configuration

2003-09-02 Thread Piotr 'p1t3r05' Piasny
On Tue, 2 Sep 2003 02:31:00 +
momesana <[EMAIL PROTECTED]> wrote:

> Hi, all
> maybe this is not the right place to post a question about setting up
> the apache server, but anyway.
> 
RTFM :) httpd.apache.org

> I can't manage to change DocumentRoot to anything else but the default
> 
> 
> DocumentRoot "/home/httpd/htdocs"
> 
> when I put my files in there it works fine but when I put them
> somewhere else (with the same permissions = 755 or even 777 for the
> directory and all files chmod -R 755 ) it gives following
> error message:
> 
> Forbidden
> 
> You don't have permission to access / on this server.
> 
> Apache/2.0.47 (Gentoo/Linux) Server at 127.0.0.1 Port 80
> 
> It is a 403 Erro message and I have no clue why. Even when I copy 
> /home/httpd/htdocs to /home/httpd/htdocs2 while preserving the 
> filepermissions with
> # cp -Rp /home/httpd/htdocs /home/httpd/htdocs2
> and change the apache2.conf file accordingly it won't work (of course
> I restart apache after modifiing the config file).
> 
> What is the reason for this errormessage.
> please email me at [EMAIL PROTECTED]
> 
You must make apropriate Directory section too:

Simply find that one which was responsible for old
Document Root and change it as you need.

-- 
Piotr Piasny (p1t3r05)
piteros1[at]_SPAM_wp.pl p1t3r05[at]_SPAM_o2.pl
LRU #217108 MR #102136 Gentoo

--
[EMAIL PROTECTED] mailing list