Re: [users@httpd] Want to Deploy Web App Behind a Reverse Proxy

2018-09-20 Thread Filipe Cifali
Osman,

I think you really need to understand the things you are using before
trying to actually use them.

You need to have an IP address to point the proxy, even if it's 127.0.0.1
on some random port like 3000.

You don't really need to pay for a domain, there are "free" services that
provide you with a DNS entry you can point to where you want BUT, and a BIG
BUT, they have their own rules and you probably won't have full control of
it, which can be quite bad for a service.

As Frank already pointed, Proxies are agnostic for ENV variables, CGI or
whatever is behind the proxy, they CAN inject some info but that's very
specific and doesn't seems to be your case.

The IP of the reverse proxy is where the httpd daemon is Listening on, you
configure that and when it's running you can check what ports are open
using tools like 'ss' or 'netstat' on Linux. If you want it to be always
working, you need to have the service always online, be a VPS, a cloud
computing node or your own computer (leaving him turned on always).

These things are not REALLY attached to httpd itself but are more
conceptual to *any* webserver, dns, proxy that you may use. I encorage you
to first learn how they work (even in high level, doesn't need to go into
details of the source code) before trying to use / set them up, otherwise
you will hit some bugs by not understanding what you are actually doing.

Also, whenever you want to share files with a mailinglist, I recommend you
to post into a pastebin / gist or anywhere online, otherwise you are
sending this to all the users in the mailing list, even if they are just
text files.

On Thu, Sep 20, 2018 at 3:59 PM Osman Zakir 
wrote:

> If I'm using a reverse proxy, do I need the IP address of the reverse
> proxy server?  And if so, how do I get the IP address of the reverse proxy
> server (if you don't want to tell, please point me to a resource I read
> about it on)?  I got a free subdomain name from subdomain.net.  So do I
> put Apache's IP address (if I can find it) in for IP used by the host name
> in my hosts file?
> --
> *From:* Eric Covener 
> *Sent:* Thursday, September 20, 2018 9:20 PM
> *To:* users@httpd.apache.org
> *Subject:* Re: [users@httpd] Want to Deploy Web App Behind a Reverse Proxy
>
> On Thu, Sep 20, 2018 at 10:57 AM Osman Zakir 
> wrote:
> >
> > 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).
>
> The server doesn't "take" a hostname. If you have a domain, you need
> to setup the DNS outside of the webserver to point to the right IP
> address. Or, mock it up on your workstation with your local host file.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>

-- 
[ ]'s

Filipe Cifali Stangler


Re: [users@httpd] Want to Deploy Web App Behind a Reverse Proxy

2018-09-20 Thread Osman Zakir
If I'm using a reverse proxy, do I need the IP address of the reverse proxy 
server?  And if so, how do I get the IP address of the reverse proxy server (if 
you don't want to tell, please point me to a resource I read about it on)?  I 
got a free subdomain name from subdomain.net.  So do I put Apache's IP address 
(if I can find it) in for IP used by the host name in my hosts file?

From: Eric Covener 
Sent: Thursday, September 20, 2018 9:20 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Want to Deploy Web App Behind a Reverse Proxy

On Thu, Sep 20, 2018 at 10:57 AM Osman Zakir  wrote:
>
> 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).

The server doesn't "take" a hostname. If you have a domain, you need
to setup the DNS outside of the webserver to point to the right IP
address. Or, mock it up on your workstation with your local host file.

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



Re: [users@httpd] Want to Deploy Web App Behind a Reverse Proxy

2018-09-20 Thread Eric Covener
On Thu, Sep 20, 2018 at 10:57 AM Osman Zakir  wrote:
>
> 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).

The server doesn't "take" a hostname. If you have a domain, you need
to setup the DNS outside of the webserver to point to the right IP
address. Or, mock it up on your workstation with your local host file.

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



Re: [users@httpd] Want to Deploy Web App Behind a Reverse Proxy

2018-09-20 Thread Osman Zakir
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 
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 
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 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 
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 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 
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 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 
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 
pref

Re: [users@httpd] Want to Deploy Web App Behind a Reverse Proxy

2018-09-19 Thread Frank Gingras
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 
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 
> *Sent:* Thursday, September 20, 2018 5:15 AM
> *To:* 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 
> 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 
> *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 
> 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 
> *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 
> 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
>
>


Re: [users@httpd] Want to Deploy Web App Behind a Reverse Proxy

2018-09-19 Thread Osman Zakir
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 
Sent: Thursday, September 20, 2018 5:15 AM
To: 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 
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 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 
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 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 
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>


Re: [users@httpd] Want to Deploy Web App Behind a Reverse Proxy

2018-09-19 Thread Frank Gingras
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 
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 
> *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 
> 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 
> *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 
> 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
>
>


Re: [users@httpd] Want to Deploy Web App Behind a Reverse Proxy

2018-09-19 Thread Osman Zakir
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 
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 
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 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 
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>


Re: [users@httpd] Want to Deploy Web App Behind a Reverse Proxy

2018-09-19 Thread Frank Gingras
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 
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 
> *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 
> 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


Re: [users@httpd] Want to Deploy Web App Behind a Reverse Proxy

2018-09-17 Thread Osman Zakir
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 
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 
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).


httpd.conf
Description: httpd.conf


httpd-vhosts.conf
Description: httpd-vhosts.conf

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

Re: [users@httpd] Want to Deploy Web App Behind a Reverse Proxy

2018-09-08 Thread Frank Gingras
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  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).
>