The first step would be to provide useful troubleshooting information. Use
curl on the server. Read about networking and DNS, in general.

As for the environment variables, proxying shouldn't affect those. Can you
describe the issue you have with those, in detail?

On Wed, Sep 19, 2018 at 7:24 PM Osman Zakir <osmanzaki...@hotmail.com>
wrote:

> I tried to navigate to the app with the virtual host URL on MS Edge and
> got "Hmm...We can't reach this page".  I don't know how to map a domain or
> subdomain to my server app, either.
>
> And I need to know how to get the environment variables to work with
> Apache's reverse proxy.  Again: the environment variables are in the C++
> server application to begin with and the frontend needs to get them so it
> request for them.  The app works perfectly on localhost, so I just need to
> deploy it.
> ------------------------------
> *From:* Frank Gingras <thu...@apache.org>
> *Sent:* Thursday, September 20, 2018 4:14 AM
> *To:* users@httpd.apache.org
> *Subject:* Re: [users@httpd] Want to Deploy Web App Behind a Reverse Proxy
>
> It would be better if you explained your current problem better instead of
> using expressions like "doesn't seem to be working correctly".
>
> As for the testing, you can use curl on the server itself to see if httpd
> can reach the backend.
>
> On Mon, Sep 17, 2018 at 2:38 PM Osman Zakir <osmanzaki...@hotmail.com>
> wrote:
>
> I already figured I'd have to keep Apache running at all times.
>
>
> I'd like it if you guys were to read my httpd.conf and the virtual host
> configuration file to see if I did it correctly.  I did read the
> documentation for it, but I'm not sure if I did correctly and the virtual
> host also doesn't seem to be working correctly (I tried to navigate to the
> site after starting Apache httpd as a service, but it didn't work; how do I
> correctly navigate to a proxied app on Apache?).
>
>
> Thanks in advance.
> ------------------------------
> *From:* Frank Gingras <thu...@apache.org>
> *Sent:* Sunday, September 9, 2018 8:17:34 AM
> *To:* users@httpd.apache.org
> *Subject:* Re: [users@httpd] Want to Deploy Web App Behind a Reverse Proxy
>
> See http://httpd.apache.org/docs/2.4/howto/reverse_proxy.html and
> http://www.apachetutor.org/admin/reverseproxies.
>
> You do need to have a httpd instance running at all times; how else do you
> think it will serve requests?
>
> Lastly, your comment about the documentation is a bit odd - perhaps you
> could offer constructive comments on specific sections instead, so that we
> could work on improving it. A lot of folks dedicated a lot of time writing
> it, and even more would benefit from improvements.
>
> On Thu, Sep 6, 2018 at 7:42 PM Osman Zakir <osmanzaki...@hotmail.com>
> wrote:
>
> I have a web application I want to deploy behind a reverse proxy.
>
>
> Do I have to do this on my own computer with the instance of the Apache
> HTTP Server that I've installed on my machine, or is it possible to do this
> on the Apache somehow as well?  If possible, I'd like to do the latter
> because I'd prefer not having to always keep my computer on.
>
>
> The reason I want a reverse proxy is because my application has its own
> httpd( written in C++).  I'd like the application to be publicly available
> on the Internet.
>
>
> If I set up a virtual host with Apache (with a public IP, one that isn't
> 127.0.0.1, and one I can navigate to from anywhere), will that make the
> application publicly available as I intend?
>
>
> I'll also need help on setting up virtual hosts and a reverse proxy since
> the Apache documentation is too technical for me (I did try reading
> it....).
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>

Reply via email to