[users@httpd] Using Apache's C API for HTTP/2 and HTTP/3?

2022-08-01 Thread Osman Zakir
I have this server app I've made, with the backend code being in C++. I have an "unknown protocol" error that I get when running the openssl s_client​ command to test the server certs and such, coming the ClientHello, which I think is because o

[users@httpd] Apache httpd as reverse proxy for HTTP/2

2020-08-27 Thread Osman Zakir
Hi. I have a web app I'm hosing on my laptop on HTTP/1.1 with HTTPS (the server code is in C++ and it uses the Boost.BEAST library for the HTTP/S functionality). It's a currency converter app with a Google Maps GUI (not that impressive, I know). I want to add a reverse proxy to it that would

Re: [users@httpd] Port Forwarding Help?

2019-01-21 Thread Osman Zakir
I can see the app on localhost on either port 8000 or port 8081. What am I doing wrong?

Re: [users@httpd] Port Forwarding Help?

2019-01-21 Thread Osman Zakir
This is what I have in the conf file at the bottom: " Options All​ Options Indexes FollowSymLinks​ AllowOverride None​ Require all granted​ ​ ​ ​ ServerAdmin osmanzaki...@hotmail.com​ ServerName dragonosman.dynu.net​ ServerAlias www.dragonosman.dynu.net​ ErrorLog "logs/

Re: [users@httpd] Port Forwarding Help?

2019-01-21 Thread Osman Zakir
Wait, so it's fine if I use my internal IP address? The app will be available on my public IP address in that case too?

Re: [users@httpd] Port Forwarding Help?

2019-01-21 Thread Osman Zakir
My server is listening on http://dragonosman.dynu.net:5501/. Should I put that there then? Also, should the ProxyPass directive go inside the VirtualHost tags or outside?

Re: [users@httpd] Port Forwarding Help?

2019-01-21 Thread Osman Zakir
The httpd.conf file is attached to this email. The VirtualHost and ProxyPass stuff is at the bottom. Please let me know what I messed up now, if anything at all. And if there's something wrong, help me out with that. The first parameter to the ProxyPass directive for "/" is currently the dir

Re: [users@httpd] Port Forwarding Help?

2019-01-21 Thread Osman Zakir
I need to know if I've set up the reverse proxy configuration correctly in the conf file, and also how to fix it I did something wrong. And I also need to know how to correctly visit the app in the browser after I've set it up correctly and am forwarding the port that Apache is listening (if th

Re: [users@httpd] Port Forwarding Help?

2019-01-21 Thread Osman Zakir
I don't know if it's the same as what you're talking about, but I can choose a range for an internal port and for external port (there are External Port Start and External Port End, and Internal Port Start and Internal Port End), and I can use 80 or 443 for the internal port while using a differ

Re: [users@httpd] Port Forwarding Help?

2019-01-21 Thread Osman Zakir
I can't use port 80 or 433 for my external port because the router's using those ports. 8080 and 8443 are also being blocked by ISP. So I had to use 5501 and forward that. I'll take away the forwarding rule for port 5501 if I can get the reverse proxy to work, though. That being said, just n

[users@httpd] Reverse Proxy (Port Forwarding for just the port used in ProxyPass, or what?)

2019-01-20 Thread Osman Zakir
If I want to put my app behind Apache's reverse proxy, do I need to set up port forwarding for just the port that I set for the reverse proxy in ProxyPass directive, or do I also have to do it for the one Apache is listening on? Also, I got a free DynDNS from dynu.com and I'm serving my app on p

Re: [users@httpd] Port Forwarding Help?

2019-01-20 Thread Osman Zakir
I found out that the problem was that I was using port 8080 which was blocked by my ISP. I managed to get it to work using a different port (port 8443 didn't work either). Now I need to ask this: if I want to put my app behind Apache's reverse proxy, do I need to set up port forwarding for jus

[users@httpd] Port Forwarding Help?

2019-01-19 Thread Osman Zakir
I'm not sure if this is okay to ask here, but I'll try anyway. I tried to set up port forwarding but the port is still coming up as closed when I check on canyouseeme.org (it says "Connection timed out"). And while I can get to my router's settings using my Default Gateway IP address, trying to

Re: [users@httpd] About Using ProxyPass Directive

2019-01-15 Thread Osman Zakir
include a port, and does not specify what IP or port Apache binds to. On Tue, Jan 15, 2019, 06:28 Osman Zakir mailto:osmanzaki...@hotmail.com> wrote: @Eric Covener <mailto:cove...@gmail.com> I got the port forwarding to work and am now able to get my app using my external IP address o

Re: [users@httpd] About Using ProxyPass Directive

2019-01-15 Thread Osman Zakir
@Eric Covener I got the port forwarding to work and am now able to get my app using my external IP address on port 8443 (but it's not using SSL right now). I still need to actually get Apache to start before I put my app behind the reverse proxy, and port 80 is being

Re: [users@httpd] About Using ProxyPass Directive

2019-01-14 Thread Osman Zakir
From: Eric Covener Sent: Tuesday, January 15, 2019 7:00 AM To: users@httpd.apache.org Subject: Re: [users@httpd] About Using ProxyPass Directive ProxyPass "/" "E:/programming/visual_studio_2017/Projects/currency_converter/x64/Release" >The 2nd parameter should be a URL where your backend serv

[users@httpd] Re: About Using ProxyPass Directive

2019-01-14 Thread Osman Zakir
Adding to previous message: I set up port forwarding on ports 8080 (for HTTP) and 8443 (for HTTPS) for my internal IP address on my router and I also put in my IP address for the DMZ host. Just now when I tried to start httpd as a service (I had to do it as an Administrator because I was gettin

[users@httpd] About Using ProxyPass Directive

2019-01-14 Thread Osman Zakir
The application I want to deploy behind the reverse proxy is in the E:\programming\visual_studio_2017\Projects\currency_converter\x64\Release directory on my computer, and I got a free subdomain from https://www.subdomain.com which forwards to my external IP address which I got from searching "

[users@httpd] Configuring reverse proxy

2019-01-12 Thread Osman Zakir
I set up port forwarding on my router, so I think I'm ready to try this again. But first I want to ask if Apache needs to be able to see my external IP address. Ipconfig and other network applications can't see it. And my server app's executable is being allowed through the firewall currently

Re: [users@httpd] IP address used by Apache reverse proxy?

2018-09-25 Thread Osman Zakir
st if you want httpd to do the termination, or if your backend speaks TLS. On Mon, Sep 24, 2018 at 4:45 PM Osman Zakir mailto:osmanzaki...@hotmail.com>> wrote: I got a subdomain from freedns.afraid.org<http://freedns.afraid.org> that took the IP address of my computer. I tried to us

Re: [users@httpd] IP address used by Apache reverse proxy?

2018-09-24 Thread Osman Zakir
e help. Thanks. From: Eric Covener Sent: Monday, September 24, 2018 7:08 PM To: users@httpd.apache.org Subject: Re: [users@httpd] IP address used by Apache reverse proxy? On Mon, Sep 24, 2018 at 7:30 AM Osman Zakir wrote: > > The Apache document root and the document root for the rever

Re: [users@httpd] IP address used by Apache reverse proxy?

2018-09-24 Thread Osman Zakir
sers@httpd] IP address used by Apache reverse proxy? On Mon, Sep 24, 2018 at 7:30 AM Osman Zakir wrote: > > The Apache document root and the document root for the reverse proxy should > be different, right? Isn't Apache and the reverse proxy one and the same? > And do you mean

Re: [users@httpd] IP address used by Apache reverse proxy?

2018-09-24 Thread Osman Zakir
7;s IP address. From: Eric Covener Sent: Monday, September 24, 2018 12:17 AM To: users@httpd.apache.org Subject: Re: [users@httpd] IP address used by Apache reverse proxy? On Sun, Sep 23, 2018 at 2:09 PM Osman Zakir mailto:osmanzaki...@hotmail.com>> wrote:

Re: [users@httpd] IP address used by Apache reverse proxy?

2018-09-24 Thread Osman Zakir
ay, September 24, 2018 12:17 AM To: users@httpd.apache.org Subject: Re: [users@httpd] IP address used by Apache reverse proxy? On Sun, Sep 23, 2018 at 2:09 PM Osman Zakir mailto:osmanzaki...@hotmail.com>> wrote: I'm talking about the document root of the reverse proxy server. Ho

Re: [users@httpd] IP address used by Apache reverse proxy?

2018-09-23 Thread Osman Zakir
by Apache reverse proxy? On Sun, Sep 23, 2018, 10:55 AM Osman Zakir mailto:osmanzaki...@hotmail.com>> wrote: I'm sorry to keep bothering you about this, but would you please answer my questions? How do I fix the problem of the 503 error, Read the logs on both sides to determine the

Re: [users@httpd] IP address used by Apache reverse proxy?

2018-09-23 Thread Osman Zakir
p 21, 2018 at 7:21 PM Osman Zakir mailto:osmanzaki...@hotmail.com>> wrote: Is that for IP-based virtual hosts? And will free subdomain work for this when I go ahead and try to use a DNS to reach my server after I've gotten this to work? Just want to ask this first, just in case. I

Re: [users@httpd] IP address used by Apache reverse proxy?

2018-09-22 Thread Osman Zakir
. It doesn't matter. And yes, read the official documentation about vhosts, as linked before. On Fri, Sep 21, 2018 at 7:21 PM Osman Zakir mailto:osmanzaki...@hotmail.com>> wrote: Is that for IP-based virtual hosts? And will free subdomain work for this when I go ahead and try to use a DN

Re: [users@httpd] IP address used by Apache reverse proxy?

2018-09-22 Thread Osman Zakir
pache reverse proxy? You can define a IP vhost too if you like. It doesn't matter. And yes, read the official documentation about vhosts, as linked before. On Fri, Sep 21, 2018 at 7:21 PM Osman Zakir mailto:osmanzaki...@hotmail.com>> wrote: Is that for IP-based virtual hosts? And will fre

Re: [users@httpd] IP address used by Apache reverse proxy?

2018-09-22 Thread Osman Zakir
AM To: users@httpd.apache.org Subject: Re: [users@httpd] IP address used by Apache reverse proxy? You can define a IP vhost too if you like. It doesn't matter. And yes, read the official documentation about vhosts, as linked before. On Fri, Sep 21, 2018 at 7:21 PM Osman Zakir mailto

Re: [users@httpd] IP address used by Apache reverse proxy?

2018-09-21 Thread Osman Zakir
P_HERE:PORT/ is perfectly fine. 5) I actually recommend that you do not use DNS to reach the proxied server, initially. Keep things simple first. On Fri, Sep 21, 2018 at 6:30 PM Osman Zakir mailto:osmanzaki...@hotmail.com>> wrote: Let me just say again, first, that I have a subdomain name I wa

Re: [users@httpd] IP address used by Apache reverse proxy?

2018-09-21 Thread Osman Zakir
re trying to solve, again? On Fri, Sep 21, 2018 at 5:53 PM Osman Zakir mailto:osmanzaki...@hotmail.com>> wrote: I've already read about networking and DNS to some extent. I'll read about them some more, though. But I still think I should know how to find the IP address used by t

Re: [users@httpd] IP address used by Apache reverse proxy?

2018-09-21 Thread Osman Zakir
you should read the following docs: http://wiki.apache.org/httpd/ExampleVhosts http://httpd.apache.org/docs/current/vhosts/examples.html http://httpd.apache.org/docs/current/mod/mpm_common.html#listen http://httpd.apache.org/docs/current/vhosts/name-based.html On Fri, Sep 21, 2018 at 10:41 AM O

[users@httpd] IP address used by Apache reverse proxy?

2018-09-21 Thread Osman Zakir
How do I find the IP address? Would it be possible to use that IP address with a subdomain name on a virtual host configuration? I want to use the free subdomain I got from http://www.subdomain.net. Subdomain.net - the largest free subdomain network Subdomain.net offe

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

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

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

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

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

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

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

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

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

2018-09-19 Thread Osman Zakir
, 2018 at 10:35 AM Osman Zakir 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&#x

[users@httpd] Reverse Proxy and Virtual Host

2018-09-19 Thread Osman Zakir
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. httpd.conf Descriptio

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

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

Re: [users@httpd] Reverse Proxy for Web Application (or adding it as extension to Apache web server)

2018-09-16 Thread Osman Zakir
y and virtual host for my app on my Windows 10 PC. From: Eric Covener Sent: Sunday, September 9, 2018 6:49:11 AM To: users@httpd.apache.org Subject: Re: [users@httpd] Reverse Proxy for Web Application (or adding it as extension to Apache web server) On Sat, Sep 8, 2018 at

Re: [users@httpd] Reverse Proxy for Web Application (or adding it as extension to Apache web server)

2018-09-08 Thread Osman Zakir
ttpd.apache.org Subject: Re: [users@httpd] Reverse Proxy for Web Application (or adding it as extension to Apache web server) On Sat, Sep 8, 2018 at 8:13 PM Osman Zakir wrote: > > I put the files for my app that I wanted to be served behind a reverse proxy > into Apache's document roo

Re: [users@httpd] Reverse Proxy for Web Application (or adding it as extension to Apache web server)

2018-09-08 Thread Osman Zakir
I put the files for my app that I wanted to be served behind a reverse proxy into Apache's document root instead to have them served that way (is this a good idea? Can Apache start the server as an extension like this?). I've put the PassEnv directive into httpd.conv, once each for the environ

Re: [users@httpd] Reverse Proxy for Web Application (or adding it as extension to Apache web server)

2018-09-08 Thread Osman Zakir
What I want Apache to do is to serve my application behind a reverse proxy. For the email address thing, I meant to ask about the email address used for the ServerAdmin directive. If Apache can't pass environment variables to proxied servers, do have to hardcode the API keys that my applicati

[users@httpd] Reverse Proxy for Web Application (or adding it as extension to Apache web server)

2018-09-08 Thread Osman Zakir
-input { background-color: #fff; font-family: Roboto; font-size: 15px; font-weight: 300; margin-left: 12px; padding: 0 11px 0 13px; text-overflow: ellipsis; width: 400px; } #search-input:focus { border-color: #4d90fe; } Title: DragonOsman Currency Converter ï»

Re: [users@httpd] DocumentRoot doesn't exist (but it's giving the wrong name)

2018-09-07 Thread Osman Zakir
a default example and apache is trying to find it and of course can’t so won’t run. You can either change, comment out or don’t include virtual hosts. Regards, Angel On 7 Sep 2018, at 22:33, Osman Zakir mailto:osmanzaki...@hotmail.com>> wrote: I downloaded Apache 2.4.33 (I had 2.4.29 u

[users@httpd] DocumentRoot doesn't exist (but it's giving the wrong name)

2018-09-07 Thread Osman Zakir
I downloaded Apache 2.4.33 (I had 2.4.29 until now, so I just upgraded) and tried to start it, but I got a warning saying: "DocumentRoot[C:/Apache24/docs/dummy-host.example.com] does not exist". But in my httpd.conf file, DocumentRoot is set to ServerRoot/htdocs. And when I try to go to localh

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

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