Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: You don't have permission to access /UI on this server. |
|
Author |
|
Polybus
Joined: 24 Jan 2016 Posts: 2 Location: Sydney, Australia
|
Posted: Sun 24 Jan '16 13:14 Post subject: You don't have permission to access /UI on this server. |
|
|
Sorry guys - newby here.....
I've been struggling with this for a little while now - done lots of research, but still no solution.
I've got a Debian (Deb 8 - Jessie) Server (192.168.0.3) - nothing fancy - just installed it and did nothing else.
Then installed Apache (Server version: Apache/2.4.10 (Debian)) - and that's all I've done.
If I go to another computer on my home Network (Windows 10 - blah!!) and go to the browser and enter 192.168.0.3 - I get the Apache default Web page as expected.
If I go to any external computer (or any one my home network) and enter my external IP address - I can't get access - can't see the Debian Default Web Page - just get the error:
Quote: |
Forbidden
You don't have permission to access /UI on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. |
I have gone into my router and forwarded Port 80 to 192.168.0.3
What am I missing??
Why can't I access my Web Page from the outside world??
I am pretty sure my ISP is not blocking Port 80.
One thing I notice - when I successfully access the Default Web Page from within my Local network via the local IP address - 192.168.0.3 - that is what stays in the address/URL bar.
When I enter my external IP address - 121.209.249.XX - the address bar shows the IP address has been changed to http://121.209.249.XX/UI and then throws the above error.
I can SSH and SFTP into my Debian box using the External IP address.
I keep thinking I must have stuffed something up - but this is an untouched installation - so I figure there is something I haven't done yet that will grant external access.
What am I missing??
Thanks in advance.
Polybus |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Mon 25 Jan '16 16:36 Post subject: |
|
|
Can you post the config for the UI url? Is it an Alias or a directory? |
|
Back to top |
|
Polybus
Joined: 24 Jan 2016 Posts: 2 Location: Sydney, Australia
|
Posted: Tue 26 Jan '16 0:10 Post subject: |
|
|
Thanks so much for taking the time to reply.
As far as I can tell there is no /UI directory....
Not in /
Not in /var/www
Not in /var/www/html
Polybus |
|
Back to top |
|
harleydood
Joined: 24 Oct 2016 Posts: 1 Location: Albuquerque
|
Posted: Mon 24 Oct '16 20:57 Post subject: Re: You don't have permission to access /UI on this server. |
|
|
I am having the same, exact problem. The only exception is that I can use the URL or WAN IP to access my website from any node within the LAN. But once outside the LAN, everything is broken exactly as you describe.
Did you ever fine a solution to this?
My problems started when I changed my Nameserver and my router on the same day. I didn't think either would have this affect on my website.
I thought it might be a Nameserver issue, so over the last week I have tried 3 different groups of Nameservers with the same result. Since I can remote access other peripherals in my network using the URL, I'm going to rule out Nameserver issues.
And here's the best part... Even with my webserver off-line, I STILL get the "/UI" appended at the end of the URL. So I don't think this is an Apache configuration issue (which has gone unchanged for a decade). I considered the possibility that my machine was hacked, but it doesn't appear to have been. The "top" command shows the usual activity (or lack, thereof). Passwords are intact. Maddening.
I plan on changing my router back to the original model (WRT54G) this afternoon. The presently-installed model is a WRTU54G-TM. I'm simply forwarding port 80 to my Linux box.
If changing the router fixes this, I will be blown away, as I can't think of a single reason why a router would append a URL like that.
Information: I'm running Apache on a CentOS machine with all the latest updates. This machine has been running in its present configuration for literally 10+ years.
If changing the router fixes the issue, I'll post my results here.
UPDATE: I changed the router, and this fixed the issue.
The Linksys WRTU54G-TM is an OEM router for T-Mobile - hence the suffix "TM."
My educated guess reason for this...
For whatever reason, T-Mobile has engineered the router to append port 80 with the "/UI" directory. I assume this is to prevent customers from hosting a webserver behind their crappy T-Mobile accounts.
Once I changed the router and got my website working, I changed all my Nameservers back to DynDNS Nameservers, as my website sits behind a Comcast account. I'm not paying for static IP service, so I need the DynDNS updated to keep my dynamic IP current.
I hope this saves someone from wasting as much time on this as I did!! |
|
Back to top |
|
|
|
|
|
|