Re: [users@httpd] .htaccess

2017-09-18 Thread Rondon
Hi Yann, But I need to have both working.. By Referer bypass the user authentication if Referer is different it needs the user authentication. Cheers, Rondon - Your life is shaped by your mind and you be

[users@httpd] Update OCSP stapling response in advance

2017-09-18 Thread Marat Khalili
Dear list, good time of the day, Is it possible to make Apache start requesting fresh OCSP response some time before previous one expires, in order to prevent outages due to poor OCSP server availability? SSLStaplingResponseMaxAge directive looks promising, but will it return older response if

RE: [users@httpd] Request_URI and ErrorDocument interaction ?

2017-09-18 Thread Cordente Emmanuel
Yes. Thank again. Emmanuel -Original Message- From: Yann Ylavic [mailto:ylavic@gmail.com] Sent: lundi 18 septembre 2017 12:06 To: users@httpd.apache.org Subject: Re: [users@httpd] Request_URI and ErrorDocument interaction ? On Mon, Sep 18, 2017 at 11:48 AM, Cordente Emmanuel wrot

Re: [users@httpd] how to get apr_pool_t when need to call ap_md5

2017-09-18 Thread eeadev dev
thank u, Eric. I just saw your reply. 2017-09-07 16:54 GMT-07:00 Eric Covener : > On Thu, Sep 7, 2017 at 12:07 PM, eeadev dev wrote: > > In my function I need to get the checksum using md5. > > > > I saw that there is this function ap_md5(apr_pool_t *a, const unsigned > char > > *string); > > >

Re: [users@httpd] Request_URI and ErrorDocument interaction ?

2017-09-18 Thread Yann Ylavic
On Mon, Sep 18, 2017 at 11:48 AM, Cordente Emmanuel wrote: > > Is there any documentation explaining the all the env variable of the > previous request are stored under REDIRECT_xxx ? https://httpd.apache.org/docs/2.4/custom-error.html#variables seems to mention that. --

RE: [users@httpd] Request_URI and ErrorDocument interaction ?

2017-09-18 Thread Cordente Emmanuel
That's working ! Thanks a lot, this make my day :-) Is there any documentation explaining the all the env variable of the previous request are stored under REDIRECT_xxx ? Emmanuel -Original Message- From: Yann Ylavic [mailto:ylavic@gmail.com] Sent: lundi 18 septembre 2017 10:10 To

Re: [users@httpd] Request_URI and ErrorDocument interaction ?

2017-09-18 Thread Yann Ylavic
On Mon, Sep 18, 2017 at 10:06 AM, Yann Ylavic wrote: > Typo below. > > On Mon, Sep 18, 2017 at 9:50 AM, Yann Ylavic wrote: >> >> RewriteCond %{ENV:originalPath} ^$ > > The above should be: > RewriteCond %{ENV:REDIRECT_originalPath} ^$ > >> RewriteRule ^ - [E=originalPath:%{REQUEST_URI}] >> >> Rew

Re: [users@httpd] Request_URI and ErrorDocument interaction ?

2017-09-18 Thread Yann Ylavic
Typo below. On Mon, Sep 18, 2017 at 9:50 AM, Yann Ylavic wrote: > > RewriteCond %{ENV:originalPath} ^$ The above should be: RewriteCond %{ENV:REDIRECT_originalPath} ^$ > RewriteRule ^ - [E=originalPath:%{REQUEST_URI}] > > RewriteCond %{ENV:REDIRECT_originalPath} ^(.+)$ > RewriteRule ^ - [E=orig

Re: [users@httpd] Request_URI and ErrorDocument interaction ?

2017-09-18 Thread Yann Ylavic
Sorry for the delay, I missed your response. On Mon, Sep 11, 2017 at 1:56 PM, Cordente Emmanuel wrote: > Thank you for the proposition, I tried it without success. > > I've used: > RewriteCond %{ENV:REDIRECT_URL} ^(.+)$ > RewriteRule ^ - [E=originalPath:%1] > > RewriteCond %{ENV:originalPath} ^$