Re: [users@httpd] Getting hostname from FQDN as variable in config file

2018-05-10 Thread sebb
On 10 May 2018 at 15:09, Eric Covener wrote: > On Thu, May 10, 2018 at 9:56 AM, sebb wrote: >> Is it possible the access the hostname part of a FQDN in a config file? >> >> For example, suppose the config has the following condition: >> >> >> >> This might resolve to a directory such as: >> >> /

Re: [users@httpd] Newbie - Apache as internet facing proxy for Windows/IIS backend .net app server?

2018-05-10 Thread Yehuda Katz
You could add additional authentication requirements in the reverse proxy for specific requests. You can also make sure to only proxy requests that match what you think the backend should process. There are a lot of tools that can help you, but as you said, you might get the best results if someone

Re: [users@httpd] Newbie - Apache as internet facing proxy for Windows/IIS backend .net app server?

2018-05-10 Thread Charles Marcus
Ok, a follow-up question... My only concern here is security. This is not and never will be a heavily used system, but it will serve as a gateway to a backend accounting system, so I'm not concerned with load balancing or any of the other features that come with a reverse proxy. My only concern is

Re: [users@httpd] Getting hostname from FQDN as variable in config file

2018-05-10 Thread Eric Covener
On Thu, May 10, 2018 at 9:56 AM, sebb wrote: > Is it possible the access the hostname part of a FQDN in a config file? > > For example, suppose the config has the following condition: > > > > This might resolve to a directory such as: > > /var/test/NAME.example.com > > Is there a way to resolve j

[users@httpd] Getting hostname from FQDN as variable in config file

2018-05-10 Thread sebb
Is it possible the access the hostname part of a FQDN in a config file? For example, suppose the config has the following condition: This might resolve to a directory such as: /var/test/NAME.example.com Is there a way to resolve just the initial part of the host, i.e. NAME? -

[users@httpd] Security Headers, ISP, no root won't work

2018-05-10 Thread i...@h-c-b.de
Hi! I want to enable some security headers. I don't have access to my = vhosts, and not to the apache config, so I used my .htaccess. Header set X-Frame-Options SAMEORIGIN Header set X-XSS-Protection "1; mode=3Dblock" Header set X-Content-T