[users@httpd] RedirectMatch - http://host/xyz[/abc] = http://xyz.host/[abc]

2012-08-17 Thread sebb
What's the canonical way to redirect the following? http://host/xyz[/abc] to http://xyz.host/[abc] The following works RedirectMatch ^xyz(.*) http://xyz.host$1 but suffers from the problem that http://host/xyz123 is redirected to http://xyz.host123 which is not intended. I suppose one way

Re: [users@httpd] RedirectMatch - http://host/xyz[/abc] = http://xyz.host/[abc]

2012-08-17 Thread sebb
On 17 August 2012 15:02, Eric Covener cove...@gmail.com wrote: The following works RedirectMatch ^xyz(.*) http://xyz.host$1 but suffers from the problem that http://host/xyz123 maybe RedirectMatch ^xyz(/.*)? http://xyz.host$1 That won't match http://host/xyz which should redirect to

Re: [users@httpd] RedirectMatch - http://host/xyz[/abc] = http://xyz.host/[abc]

2012-08-17 Thread sebb
On 17 August 2012 15:30, Eric Covener cove...@gmail.com wrote: maybe RedirectMatch ^xyz(/.*)? http://xyz.host$1 That won't match http://host/xyz question mark was part of the regex not punctuation, Very sorry, my bad, I should have read more carefully. Your suggestion will work fine.

Re: [users@httpd] RedirectMatch - http://host/xyz[/abc] = http://xyz.host/[abc]

2012-08-17 Thread sebb
On 17 August 2012 15:58, sebb seb...@gmail.com wrote: On 17 August 2012 15:30, Eric Covener cove...@gmail.com wrote: maybe RedirectMatch ^xyz(/.*)? http://xyz.host$1 That won't match http://host/xyz question mark was part of the regex not punctuation, Very sorry, my bad, I should have

Re: [users@httpd] mod_rewrite And Browser Caching

2012-08-18 Thread sebb
On 18 August 2012 15:55, Drew Tomlinson d...@mykitchentable.net wrote: I've been working at this for days and couldn't figure out why a mod_rewrite rule wasn't working. My situation was that I wanted to redirect this: http://domain.com/unique_directory/whatever to

[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?

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 <cove...@gmail.com> wrote: > On Thu, May 10, 2018 at 9:56 AM, sebb <seb...@gmail.com> wrote: >> Is it possible the access the hostname part of a FQDN in a config file? >> >> For example, suppose the config has the following c

[users@httpd] mod_lua and subprocess_env

2018-01-07 Thread sebb
The mod_lua docs state that subprocess_env can be used to access process environment variables [1] It appears to imply that the script can access standard CGI variables. However, the only variables that seem to be defined are: SCRIPT_URI SCRIPT_URL There also does not seem to be a way to

[users@httpd] Re: mod_lua and subprocess_env

2018-01-16 Thread sebb
Anyone? On 7 January 2018 at 14:25, sebb <seb...@gmail.com> wrote: > The mod_lua docs state that subprocess_env can be used to access > process environment variables [1] It appears to imply that the script > can access standard CGI variables. > > However, the onl

Re: [users@httpd] mod_authzn_ldap: combining queries to different LDAP layouts

2018-03-22 Thread sebb
On 22 March 2018 at 09:41, Eric Covener <cove...@gmail.com> wrote: > On Thu, Mar 22, 2018 at 5:26 AM, sebb <seb...@gmail.com> wrote: >> Is it possible to use two mod_authzn_ldap checks that need different >> settings in the same Location container? >> >> For

[users@httpd] mod_authzn_ldap: combining queries to different LDAP layouts

2018-03-22 Thread sebb
Is it possible to use two mod_authzn_ldap checks that need different settings in the same Location container? For example: AuthType Basic AuthBasicProvider ldap AuthName ... AuthLDAPurl ... AuthLDAPGroupAttribute member AuthLDAPGroupAttributeIsDN On Require ldap-group

Re: [users@httpd] Fwd: Warning from users@httpd.apache.org

2019-11-07 Thread sebb
header. If you see any problems going forward, please raise a JIRA with the details. Thanks! On Tue, 29 Oct 2019 at 22:03, sebb wrote: > > On Mon, 28 Oct 2019 at 09:19, sebb wrote: > > > > On Sun, 27 Oct 2019 at 14:21, Richard > > wrote: > > > > > > >

Re: [users@httpd] Fwd: Warning from users@httpd.apache.org

2019-10-27 Thread sebb
On Sun, 27 Oct 2019 at 09:32, Richard wrote: > > > > > Date: Saturday, October 26, 2019 13:16:36 +0100 > > From: sebb > > > > On Fri, 25 Oct 2019 at 16:20, Richard > > wrote: > >> > >> > Date: Friday, October 25, 2019 20:37:49 +0530

Re: [users@httpd] Fwd: Warning from users@httpd.apache.org

2019-10-28 Thread sebb
On Sun, 27 Oct 2019 at 14:21, Richard wrote: > > > > > Date: Sunday, October 27, 2019 12:17:36 + > > From: sebb > > > >> On Sun, 27 Oct 2019 at 09:32, Richard > >> wrote: > >> > >> I agree, there are a range of reasons that a re

Re: [users@httpd] Fwd: Warning from users@httpd.apache.org

2019-10-29 Thread sebb
On Mon, 28 Oct 2019 at 09:19, sebb wrote: > > On Sun, 27 Oct 2019 at 14:21, Richard > wrote: > > > > > > > > > Date: Sunday, October 27, 2019 12:17:36 + > > > From: sebb > > > > > >> On Sun, 27 Oct 2019 at 09:32, Richard

Re: [users@httpd] Fwd: Warning from users@httpd.apache.org

2019-10-26 Thread sebb
On Fri, 25 Oct 2019 at 16:20, Richard wrote: > > > > > Date: Friday, October 25, 2019 20:37:49 +0530 > > From: Tapas Mishra > > > > Hello, > > I am getting bounce message , what should I do?. > > > > Thanks > > > > > > -- Forwarded message - > > From: > > Date:

Re: [users@httpd] multiple ldap authn sources

2020-02-29 Thread sebb
On Mon, 24 Feb 2020 at 06:30, McIntyre, Vincent (CASS, Marsfield) wrote: > > Hi > > this has come up a few times in the past and I've tried to use the > list archives to check my config. I'm still not able to get the > behaviour I think should be supported, perhaps someone can explain. > > The

[users@httpd] mod_ext_filter and content-encoding

2021-07-24 Thread sebb
etect when the input is not in plain text so I can skip the banner? Sebb. - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

[users@httpd] AddOutputFilterByType: does it work with LuaOutputFilter?

2021-07-25 Thread sebb
I cannot get AddOutputFilterByType to work with anything other than standard filters such as DEFLATE. Is it supposed to work with user-defined filters such as LuaOutputFilter, or with filters defined using mod_ext_filter? Sebb

Re: [users@httpd] AddOutputFilterByType: does it work with LuaOutputFilter?

2021-07-25 Thread sebb
On Sun, 25 Jul 2021 at 14:08, Eric Covener wrote: > > On Sun, Jul 25, 2021 at 8:17 AM sebb wrote: > > > > I cannot get AddOutputFilterByType to work with anything other than > > standard filters such as DEFLATE. > > > > Is it supposed to work with user-defined

Re: [users@httpd] mod_ext_filter and content-encoding

2021-07-25 Thread sebb
On Sun, 25 Jul 2021 at 17:19, Nick Kew wrote: > > > > > On 24 Jul 2021, at 14:59, sebb wrote: > > > > I'm trying to write a filter to add a banner to some HTML pages. > > > > I have used the following definition: > > > > ExtFilterDefine rebootb

[users@httpd] RewriteCond - is this fast fail?

2023-01-10 Thread sebb
are done first). Sebb - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] RewriteCond - is this fast fail?

2023-01-10 Thread sebb
t conditions evaluated? > On Tue, Jan 10, 2023 at 6:06 PM sebb wrote: >> >> Does the first RewriteCond that fails cause any following RewriteCond >> entries to be skipped? >> (up to the RewriteRule) >> >> I would hope that is the case, but AFAICT it is not

Re: [users@httpd] RewriteCond - is this fast fail?

2023-01-11 Thread sebb
On Tue, 10 Jan 2023 at 23:33, Frank Gingras wrote: > > Do a quick test, and enable the rewrite log. Make sure you use a log level of > 5 to see those details. Whilst the test might be quick, setting it up is not. Does no-one here know the answer? > On Tue, Jan 10, 2023 at 6:28 PM

Re: [users@httpd] RewriteCond - is this fast fail?

2023-01-11 Thread sebb
Thanks, that's very helpful. Maybe this info could be added to the user docs? On Wed, 11 Jan 2023 at 12:18, Daniel Gruno wrote: > > On 2023-01-11 13:16, Daniel Gruno wrote: > > On 2023-01-11 12:58, sebb wrote: > >> On Tue, 10 Jan 2023 at 23:33, Frank Gingras wrote: > &

Re: [users@httpd] RewriteCond - is this fast fail?

2023-01-12 Thread sebb
Thanks! On Wed, 11 Jan 2023 at 15:42, wrote: > > On Wed, 2023-01-11 at 10:33 -0500, rbo...@rcbowen.com wrote: > > On Wed, 2023-01-11 at 10:26 -0500, rbo...@rcbowen.com wrote: > > > On Wed, 2023-01-11 at 10:15 -0500, rbo...@rcbowen.com wrote: > > > > On Wed, 2023

[users@httpd] Confusing (incorrect?) documentation for AuthzProviderAlias

2022-12-03 Thread sebb
The documentation for AuthzProviderAlias [1] looks wrong. AFAICT including 'Require all granted' means that anyone can access the directory. This is borne out by my local testing. If I remove the Require line, then httpd complains "AuthUserFile not specified in the configuration". Presumably

Re: [users@httpd] Confusing (incorrect?) documentation for AuthzProviderAlias

2022-12-03 Thread sebb
On Sat, 3 Dec 2022 at 20:39, Eric Covener wrote: Thanks for the speedy reply. > > On Sat, Dec 3, 2022 at 3:21 PM sebb wrote: > > > > The documentation for AuthzProviderAlias [1] looks wrong. > > > > AFAICT including 'Require all granted' means that anyon

[users@httpd] Possible to add timestamp to application logs (e.g. stderr)?

2023-04-29 Thread sebb
Is it possible to add a timestamp prefix to messages logged by an application, e.g. to stderr? I was hoping that ErrorLogFormat would do this, but it seems that only applies to messages logged by the server. Sebb

Re: [users@httpd] Possible to add timestamp to application logs (e.g. stderr)?

2023-04-29 Thread sebb
On Sat, 29 Apr 2023 at 21:08, Eric Covener wrote: > > On Sat, Apr 29, 2023 at 2:54 PM sebb wrote: > > > > Is it possible to add a timestamp prefix to messages logged by an > > application, e.g. to stderr? > > > > I was hoping that ErrorLogFormat would do this

[users@httpd] Unclear RewriteCond docs

2023-05-08 Thread sebb
in providing variables for the following rule. However, unless I am missing something, only the last RewriteCond can provide any variables. It would be helpful if the docs could be more explicit on this. Sebb - To unsubscribe, e

Re: [users@httpd] Unclear RewriteCond docs

2023-05-08 Thread sebb
On Mon, 8 May 2023 at 19:00, Eric Covener wrote: > > On Mon, May 8, 2023 at 1:22 PM sebb wrote: > > > > Another issue is that there is no link to the syntax to be used for > > the various conditions. > > > > For example, how does on express a file/path tes

Re: [users@httpd] Unclear RewriteCond docs

2023-05-08 Thread sebb
Another issue is that there is no link to the syntax to be used for the various conditions. For example, how does on express a file/path test or a string comparison? AFAICT the only example is for a regex, though that is not made explicit. Sebb On Mon, 8 May 2023 at 15:38, Daniel Gruno wrote

[users@httpd] Provider for AuthLDAPBind credentials

2024-01-21 Thread sebb
support for some kind of LDAP credentials provider? In the simplest case, this could be a file. This would make credential management easier. Alternatively, it would help to enable exec: support for the DN, but a generalised provider would be more flexible. Sebb