Apache 2.2

Just migrated to apache-2.2.13 and already ran into this problem:

myserver# apachectl fullstatus
Forbidden - You don't have permission to access /server-status on this
server.

Even getting the same error when logged on as 'root'

Can you tell me what is causing this? Thanks.
Jos

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Jos Chrispijn [ Sa, 05 Dezember 2009 14:18 ] [ ID #2024908 ]

Re: Apache 2.2

On Dec 5, 2009, at 08:18 , Jos Chrispijn wrote:

> Just migrated to apache-2.2.13 and already ran into this problem:
>
> myserver# apachectl fullstatus
> Forbidden - You don't have permission to access /server-status on
> this server.
>
> Even getting the same error when logged on as 'root'
>
> Can you tell me what is causing this? Thanks.

Being logged on as root makes no difference, because this is a HTTP
request to the server.

What does the error log say? You're probably lacking an "allow from"
directive somewhere. See: http://wiki.apache.org/httpd/ClientDeniedByServerConfigurati on
and

--
Rich Bowen
rbowen [at] rcbowen.com




------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Rich Bowen [ Sa, 05 Dezember 2009 14:29 ] [ ID #2024909 ]

Re: Apache 2.2

> Just migrated to apache-2.2.13 and already ran into this problem:
>
> myserver# apachectl fullstatus
> Forbidden - You don't have permission to access /server-status on this
> server.
>
> Even getting the same error when logged on as 'root'
>
> Can you tell me what is causing this? Thanks.
> Jos


Check the mod-info.conf file to see if you have localhost in the allowed
field.


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Daniel Reinhardt [ Sa, 05 Dezember 2009 14:57 ] [ ID #2024910 ]

Re: Apache 2.2

--------------060102030007050502070009
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Rich Bowen wrote:
> Being logged on as root makes no difference, because this is a HTTP
> request to the server.
>
> What does the error log say? You're probably lacking an "allow from"
> directive somewhere. See:
> http://wiki.apache.org/httpd/ClientDeniedByServerConfigurati on and
Just found out (reading some stuff about directives) that in the
standard httpd.conf file there is a section:

# First, we configure the "default" to be a very restrictive set of
features.
#
<Directory />
AllowOverride None
Order deny,allow
Deny from all
</Directory>

which I hashed out immediately to see what would happen. After that, I
browsed to one of my sites and got response, but only .php code
contents. So I knew I was on the right way. Then I noticed that in my
httpd.conf there was a line saying:

*LoadModule php5_module libexec/apache22/libphp5.so
*
but there wasn't a accompanied AddType application directive! So I added
in the <IfModule mime_module> an extra line, saying

*AddType application/x-httpd-php .php*

After restarting Apache22, it all works again without problems. And even
faster than it did before!

I am quite pleased to see that the httpd.conf is considerably shorter
than the Apache1.3x was. Mine is so compact now that you nearly wouldn't
believe it would work.
So overall experience for an Apache nub like me: if you can, do use it.
Will make your life much easier when it runs finally :-)

Thanks,
Jos Chrispijn


--------------060102030007050502070009
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Rich Bowen wrote:
<blockquote cite="mid:18B1D1A7-46A4-43F8-AFAF-280C82FAEC4B [at] rcbowen.com"
type="cite">Being logged on as root makes no difference, because this
is a HTTP request to the server. <br>
<br>
What does the error log say? You're probably lacking an "allow from"
directive somewhere. See:
<a class="moz-txt-link-freetext"
href="http://wiki.apache.org/httpd/ClientDeniedByServerConfi guration">http://wiki.apache.org/httpd/ClientDeniedByServerC onfiguration</a> and
<br>
</blockquote>
Just found out (reading some stuff about directives) that in the
standard httpd.conf file there is a section:<br>
<br>
# First, we configure the "default" to be a very restrictive set of
features.<br>
#<br>
<Directory /><br>
    AllowOverride None<br>
    Order deny,allow<br>
    Deny from all<br>
</Directory><br>
<br>
which I hashed out immediately to see what would happen. After that, I
browsed to one of my sites and got response, but only .php code
contents. So I knew I was on the right way. Then I noticed that in my
httpd.conf there was a line saying: <br>
<br>
<b>LoadModule php5_module libexec/apache22/libphp5.so<br>
</b><br>
but there wasn't a accompanied AddType application directive! So I
added in the <IfModule mime_module> an extra line, saying <br>
<br>
<b>AddType application/x-httpd-php .php</b><br>
<br>
After restarting Apache22, it all works again without problems. And
even faster than it did before!<br>
<br>
I am quite pleased to see that the httpd.conf is considerably shorter
than the Apache1.3x was. Mine is so compact now that you nearly
wouldn't believe it would work.<br>
So overall experience for an Apache nub like me: if you can, do use it.
Will make your life much easier when it runs finally :-)<br>
<br>
Thanks,<br>
Jos Chrispijn<br>
<br>
</body>
</html>

--------------060102030007050502070009--
Jos Chrispijn [ Sa, 05 Dezember 2009 17:30 ] [ ID #2024911 ]
Webserver » gmane.comp.apache.user » Apache 2.2

Vorheriges Thema: Using Virtual hosts for all the websites in one instance of Apache
Nächstes Thema: Apache error - getsockname failed