I haven't changed what I'm saying my problem is that much.  I'm probably having 
a hard time explaining it.

The host name seems to be the main problem, though, aside from the environment 
variables.  I don't have a host name.  I'd prefer it if I could get a free 
subdomain and get my server to take it (without having to pay any money if 
possible).

Previously, I hadn't added any values to the PassEnv directives in httpd.conf; 
I just added those recently.  Do I need to put double-quotes around the values, 
or is it without double-quotes?
________________________________
From: Frank Gingras <thu...@apache.org>
Sent: Thursday, September 20, 2018 6:05 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Want to Deploy Web App Behind a Reverse Proxy

I'm afraid that you're not capable of formulating a coherent question or 
problem. As such, I'm probably going to lose interest in this thread.

On Wed, Sep 19, 2018 at 8:24 PM Osman Zakir 
<osmanzaki...@hotmail.com<mailto:osmanzaki...@hotmail.com>> wrote:
I went to the app with the reverse proxy but the Google Map didn't display.

I read about DNS, but my problem is just how to get my server app to take the 
subdomain I want it to take.  I get the feeling that I need to find a place 
where I can put the server application so that it'll take the domain name.  But 
there aren't any web hosts that would accept an actual web server app aside 
from a VPS.  I could use a CGI script, but I'll have to change my app and I 
don't even know how I can make the current HTML file I have work with a CGI 
script (also, can a CGI script take environment variables?)?


________________________________
From: Frank Gingras <thu...@apache.org<mailto:thu...@apache.org>>
Sent: Thursday, September 20, 2018 5:15 AM
To: users@httpd.apache.org<mailto:users@httpd.apache.org>
Subject: Re: [users@httpd] Want to Deploy Web App Behind a Reverse Proxy

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<mailto: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<mailto:thu...@apache.org>>
Sent: Thursday, September 20, 2018 4:14 AM
To: users@httpd.apache.org<mailto: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<mailto: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<mailto:thu...@apache.org>>
Sent: Sunday, September 9, 2018 8:17:34 AM
To: users@httpd.apache.org<mailto: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<mailto: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<mailto:users-unsubscr...@httpd.apache.org>
For additional commands, e-mail: 
users-h...@httpd.apache.org<mailto:users-h...@httpd.apache.org>

Reply via email to