[users@httpd] tls_process_client_certificate:certificate verify failed - when using a PSS Signed intermediat

2018-09-24 Thread Frank Wuttig
Hi, we use a Clientauth configuration for a location without problems for many months Ubuntu 16.04.5 LTS Apache 2.4.18-2ubuntu3.9 openssl 1.0.2g-1ubuntu4.13 Now we upgraded Apache to use HTTP2 Ubuntu 16.04.5 LTS Apache 2.4.34-1 openssl 1.1.0h-2.0 Apache Conf: SSLEngine on SSLVerif

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

2018-09-24 Thread Frank Gingras
Osman, Take a step back, you're all over the place. You need to focus on one task at a time, else you will never finish configuring your server. For the vhost, again, if you use ProxyPass / http://target/, then you do *not* need set set a DocumentRoot, as every single request will be proxied. If

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

2018-09-24 Thread Osman Zakir
I got a subdomain from freedns.afraid.org that took the IP address of my computer. I tried to use it for my app, but when I navigated to the subdomain, it took me to the login page for my router's admin settings. I tried specifying the port number I set on the Apache httpd configuration file, b

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

2018-09-24 Thread Osman Zakir
I'm trying to ask if the non-proxied files served by the Apache httpd should be in a separate directory compared to the reverse proxied one(s). Right now they're separate since the non-proxied document root is htdocs as in the default configuration. The directive I've added near by reverse p

Re: [users@httpd] Rewrite with proxy adds document root

2018-09-24 Thread Eric Covener
On Mon, Sep 24, 2018 at 11:46 AM David Tkacik wrote: > > Thanks Eric, > > But if I have multiple rewrite rules and rewrite conditions, how do I speficy > for which cond and rule I want to apply it in context of a URI ? > > Would waterfall work here ? > > For example in one config: > > RewriteCond

Re: [users@httpd] Rewrite with proxy adds document root

2018-09-24 Thread David Tkacik
Thanks Eric, But if I have multiple rewrite rules and rewrite conditions, how do I speficy for which cond and rule I want to apply it in context of a URI ? Would waterfall work here ? For example in one config: RewriteCond %{QUERY_STRING} ^123 [NC] RequestHeader set "X-API-KEY" "proxied" Rewri

Re: [users@httpd] Rewrite with proxy adds document root

2018-09-24 Thread Eric Covener
On Mon, Sep 24, 2018 at 11:14 AM David Tkacik wrote: > > I have this config included via Include conf.d/myconfig/*.conf within my > virtualhost. > > > ProxyAddHeaders off > RewriteEngine on > RewriteCond %{QUERY_STRING} ^123 [NC] > RequestHeader set "X-API-KEY" "proxied" > RewriteRule (.*) "http

[users@httpd] Rewrite with proxy adds document root

2018-09-24 Thread David Tkacik
I have this config included via Include conf.d/myconfig/*.conf within my virtualhost. ProxyAddHeaders off RewriteEngine on RewriteCond %{QUERY_STRING} ^123 [NC] RequestHeader set "X-API-KEY" "proxied" RewriteRule (.*) "https://${HOST}$1"; [QSD,P,L] But the above rule is also proxying the /var/w

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

2018-09-24 Thread Eric Covener
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 I need to specify the document root for the reverse proxy via the di

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

2018-09-24 Thread Osman Zakir
I'm attaching the httpd.conf file here because I forgot to do so in the previous message. Please let me know if it's fine now. I need a suggestion for a good place where I can get a free subdomain name, preferably one that has a .com extension and which will take my computer's IP address.

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

2018-09-24 Thread Osman Zakir
The Apache document root and the document root for the reverse proxy should be different, right? And do you mean I need to specify the document root for the reverse proxy via the directive? Or do I just have to have that somewhere above or below the ProxyPass line? And if I specify the rever