Re: Want to Deploy Web App Behind a Reverse Proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <osmanzakir90@xxxxxxxxxxx> 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 <thumbs@xxxxxxxxxx>
Sent: Thursday, September 20, 2018 5:15 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: 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 <osmanzakir90@xxxxxxxxxxx> 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 <thumbs@xxxxxxxxxx>
Sent: Thursday, September 20, 2018 4:14 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: 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 <osmanzakir90@xxxxxxxxxxx> 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 <thumbs@xxxxxxxxxx>
Sent: Sunday, September 9, 2018 8:17:34 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: Want to Deploy Web App Behind a Reverse Proxy
 

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 <osmanzakir90@xxxxxxxxxxx> 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-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux