Jump to content
The Uniform Server Community
twpmarket

Apache Status blocked

Recommended Posts

Can someone tell me why I can't access the "Apache Status" option on apanel? I get this message:

"You don't have permission to access /status on this server."

I have edited .htaccess and commented out the three lines around deny to open my IP address, but this may not be related.

Suggestions? comments?

Share this post


Link to post
Share on other sites

Thats because the /status is only accessable by localhost under the httpd.conf file.

 

Change this setting in the httpd.conf file:

 

<Location /status>
   SetHandler server-status
   Order deny,allow
   Deny from all
   Allow from localhost
</Location>

 

Change it to what you want, but please be aware that this is your option and is risky...

Share this post


Link to post
Share on other sites

Thank, I'll try this and get back to you if I still have trouble. Risky, probably, but hey it's just my whole development code, guess I should do a backup first...

 

Thats because the /status is only accessable by localhost under the httpd.conf file.

 

Change this setting in the httpd.conf file:

 

<Location /status>
   SetHandler server-status
   Order deny,allow
   Deny from all
   Allow from localhost
</Location>

 

Change it to what you want, but please be aware that this is your option and is risky...

2205[/snapback]

Share this post


Link to post
Share on other sites

Hmmm, my http.conf file is the same as you quote below for /status (not changed from original installation). Same is true of the <Location /info> (Allow remote server configuration reports).

 

I'm assuming that using the Uniform Server apanel appears as a request from localhost. which is "allowed" under /status and /info. I get a 403 "You don't have permission to access /status (/info) on this server." when using apanel's menu link to "Apache Status" or "Apache Info".

 

Who, or what, should be allowed in http.conf so that apanel's links will work? I thought that apanel has localhost priviledges? No?

 

Thats because the /status is only accessable by localhost under the httpd.conf file.

 

Change this setting in the httpd.conf file:

 

<Location /status>
   SetHandler server-status
   Order deny,allow
   Deny from all
   Allow from localhost
</Location>

 

Change it to what you want, but please be aware that this is your option and is risky...

2205[/snapback]

Share this post


Link to post
Share on other sites

What are you saying? I told you that access to /status and /info is restricted to localhost only.. Clicking the link from Admin Panel 2 should work perfect is you are accessing that from http://localhost/apanel/ :lol:

 

If you want access to it from outsideee localhost thn change that code i gave to you to what you want... like: Allow from All and remove the Deny from All part.

 

Like this:

 

<Location /status>
  SetHandler server-status
  Order deny,allow
  Allow from all
</Location>

Share this post


Link to post
Share on other sites

Ah, got it, thanks. and I see when you say it is 'risky", at least this machine is not publically accessible.

 

 

 

What are you saying? I told you that access to /status and /info is restricted to localhost only.. Clicking the link from Admin Panel 2 should work perfect is you are accessing that from http://localhost/apanel/ :)

 

If you want access to it from outsideee localhost thn change that code i gave to you to what you want... like: Allow from All and remove the Deny from All part.

 

Like this:

 

<Location /status>
  SetHandler server-status
  Order deny,allow
  Allow from all
</Location>

2217[/snapback]

Share this post


Link to post
Share on other sites

And, no, it did not work from localhost until I "allowed from all". But, I'm in now and can work on it. thanks again.

 

Ah, got it, thanks. and I see when you say it is 'risky", at least this machine is not publically accessible.

2226[/snapback]

Share this post


Link to post
Share on other sites

Sorry, I have the same problem:

 

The relevant lines in the conf-file are set to "Allow from localhost" (by default), but after clicking (for example) "Apache Status" on the panel is the result is a window like below: 403 - forbidden.

post-472-1140612030_thumb.jpg

I would prefer not to set the lines to "allow from all" ...

 

Any other idea?

 

In addition I couldn't change the configurations with the forms in the panel, but this may be a future feature?

 

[sorry for my English, I'm still learning...]

Share this post


Link to post
Share on other sites

I have "Windows2000 Prof" and the UniformServer is "installed" as it is recommended, no changes in the configs. There is no router and there is no proxy. I have installed a firewall (Sygate Personal), but it doesn't make any change, when I stop the firewall working. And: All accesses are accepted (I see my pages, programmed in php with location localhost) beside the named apache-files. (On the picture you could see the right path).

 

It's the same problem as above, but twpmarket has chanched his config-server-status to "Allow from all". That's not a solution for me.

 

But it is not a big tragedy, I could read the config-files in my editor...

Share this post


Link to post
Share on other sites

I've had the same problem after installing US3.3.

 

Try adding 127.0.0.1?

 

And doing the above fixed it, replaced localhost with 127.0.0.1, bingo! job done :rolleyes:


Nanoo Nanoo

NoGood@This Bork

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...