403 forbidden access

Alles, was den Apache betrifft, kann hier besprochen werden.

403 forbidden access

Postby rrossi » 10. December 2009 18:28

I would greatly appreciate assistance.

We have only one server running windows 2008 server, and exchange 2010 server, and apache.

IIS is port 80

Apache is port 8080

When we type in the URL www.mydomain.com, IIS does not transer it to port 8080 (Where Apache is configured to listen to), and you get the following error "403 - Forbidden: Access is denied.".

if you type in the browser www.mydomain.com:8080, everything works.

What needs to be configured to allow incoming HTTP to be forwarded to port 8080?

Any guidance or links to solve this would help.

Thanks in advance
rrossi
 
Posts: 2
Joined: 10. December 2009 18:14

Re: 403 forbidden access

Postby Wiedmann » 10. December 2009 18:47

When we type in the URL www.mydomain.com, IIS does not transer it to port 8080

Why should IIS doing this? Have you configured such redirection in IIS?

if you type in the browser www.mydomain.com:8080, everything works.

If a webserver is listening on a different port then port 80, you must always use this different port in the uri.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: 403 forbidden access

Postby rrossi » 10. December 2009 18:50

My intention is to have a www.mydomain.com go to port 8080, but it is being intercepted by IIS giving the error of 403.4 forbidden access. I do not wish for customers to type www.mydomain.com:8080, where it works.
Hope this clarifies.
rrossi
 
Posts: 2
Joined: 10. December 2009 18:14

Re: 403 forbidden access

Postby Wiedmann » 10. December 2009 19:27

My intention is to have a www.mydomain.com go to port 8080

Well,
- a DNS hostename is only going to an IP and not to a port.
- if you are not using a port in an URI, a browser is assuming you want go to port 80.

Conclusion:
if you want access a server on port 8080, you must:
- use port 8080 in the uri
- or you also have a webserver on port 80 which is redirecting to port 8080

IIS does not transer it to port 8080 ... I do not wish for customers to type www.mydomain.com:8080,

- You don't want use port 8080 in the uri
- You have a webserver on port 80 (IIS)
--> you must configure the webserver at port 80 (IIS) to redirect the request to port 8080 (Apache)


Any guidance or links

Sorry, I don't know anything about IIS (that's an Apache forum). May at forum.iis.net you can get some help about configuring IIS.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to Apache

Who is online

Users browsing this forum: No registered users and 2 guests