You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Osman Zakir <os...@hotmail.com> on 2018/09/19 14:35:25 UTC

[users@httpd] Reverse Proxy and Virtual Host

Hi again.

I'm attaching my httpd.conf file here; please read it and tell me if I did it correctly.  I start the Apache HTTP Web Server as a service and then try to navigate to the virtual host URL, but I get MS Edge's error page about it not being able to reach the page.

Re: [users@httpd] Reverse Proxy and Virtual Host

Posted by Eric Covener <co...@gmail.com>.
On Wed, Sep 19, 2018 at 10:47 AM Osman Zakir <os...@hotmail.com> wrote:
>
> I need a host to map it to.

I don't understand what you mean.  Apache config doesn't affect DNS.
Either the hostname resolves to an IP that lands at your server or it
doesn't.


> As for the path; do I not need the ones for the Access Key and API Key?

I don't think you can specify a query string in that argument.  But in
this case, it's already covered by /. In this context, / is a context
root and everything below it is forwarded.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Reverse Proxy and Virtual Host

Posted by Osman Zakir <os...@hotmail.com>.
I need a host to map it to.

As for the path; do I not need the ones for the Access Key and API Key?
________________________________
From: Eric Covener <co...@gmail.com>
Sent: Wednesday, September 19, 2018 7:43 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Reverse Proxy and Virtual Host

On Wed, Sep 19, 2018 at 10:35 AM Osman Zakir <os...@hotmail.com> wrote:
>
> Hi again.
>
> I'm attaching my httpd.conf file here; please read it and tell me if I did it correctly.  I start the Apache HTTP Web Server as a service and then try to navigate to the virtual host URL, but I get MS Edge's error page about it not being able to reach the page.

The 2nd two proxypass/proxypass reverse are redundant, you are already
forwarding /
The virtualhost looks fine, as long as that hostname actually leads
you to the system running the webserver.
The proxy rules + the virtual host make no sense because it gives the
appearance there's only 1 server involved. Why bother proxying if the
target is just the virtualhost?




>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org



--
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Reverse Proxy and Virtual Host

Posted by Eric Covener <co...@gmail.com>.
On Wed, Sep 19, 2018 at 10:35 AM Osman Zakir <os...@hotmail.com> wrote:
>
> Hi again.
>
> I'm attaching my httpd.conf file here; please read it and tell me if I did it correctly.  I start the Apache HTTP Web Server as a service and then try to navigate to the virtual host URL, but I get MS Edge's error page about it not being able to reach the page.

The 2nd two proxypass/proxypass reverse are redundant, you are already
forwarding /
The virtualhost looks fine, as long as that hostname actually leads
you to the system running the webserver.
The proxy rules + the virtual host make no sense because it gives the
appearance there's only 1 server involved. Why bother proxying if the
target is just the virtualhost?




>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org



-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org