twpmarket Posted January 3, 2006 Report Share Posted January 3, 2006 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? Quote Link to comment Share on other sites More sharing options...
olajideolaolorun Posted January 4, 2006 Report Share Posted January 4, 2006 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... Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment Share on other sites More sharing options...
twpmarket Posted January 4, 2006 Author Report Share Posted January 4, 2006 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] Quote Link to comment Share on other sites More sharing options...
twpmarket Posted January 4, 2006 Author Report Share Posted January 4, 2006 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] Quote Link to comment Share on other sites More sharing options...
olajideolaolorun Posted January 4, 2006 Report Share Posted January 4, 2006 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> Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment Share on other sites More sharing options...
twpmarket Posted January 5, 2006 Author Report Share Posted January 5, 2006 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] Quote Link to comment Share on other sites More sharing options...
twpmarket Posted January 5, 2006 Author Report Share Posted January 5, 2006 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] Quote Link to comment Share on other sites More sharing options...
olajideolaolorun Posted January 6, 2006 Report Share Posted January 6, 2006 No Problem Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment Share on other sites More sharing options...
Alpha-Hasi Posted February 22, 2006 Report Share Posted February 22, 2006 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.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...] Quote Link to comment Share on other sites More sharing options...
olajideolaolorun Posted March 2, 2006 Report Share Posted March 2, 2006 Are you access it from http://localhost? If you are, then it must be a proxy or router problem..... Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment Share on other sites More sharing options...
Alpha-Hasi Posted March 2, 2006 Report Share Posted March 2, 2006 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... Quote Link to comment Share on other sites More sharing options...
AlleyKat Posted March 17, 2006 Report Share Posted March 17, 2006 Try adding 127.0.0.1? Quote Link to comment Share on other sites More sharing options...
olajideolaolorun Posted March 24, 2006 Report Share Posted March 24, 2006 hmmm.. i have to get to the bottom of this.. computer names not being refered to as localhost.. most be the network card or something.... Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment Share on other sites More sharing options...
NoGood@This Posted October 23, 2006 Report Share Posted October 23, 2006 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 Quote Nanoo Nanoo NoGood@This Bork Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.