Re: [users@httpd] apache config check for non available field in request

2020-07-30 Thread Eric Covener
On Thu, Jul 30, 2020 at 8:38 AM alchemist vk wrote: > > Hi All, > Consider the request curl -vk -X POST -H "Del-Auth: abcd" > '127.0.0.1/test/newuser' where I intentionally wont provide content type > header for new user creation. > > While trying to write apache config file to check the presen

Re: [users@httpd] Apache 2.4 access control (.htaccess)

2020-07-30 Thread @lbutlr
On 29 Jul 2020, at 17:57, Jim Albert wrote: > If I have say 100 separate sections I have to repeat that same > Require ip line for each . Adding or removing IP addresses becomes a > maintenance issue. In regular conf files you can do something like Define DOMAIN example.com Define ROOT /usr/l

[users@httpd] apache config check for non available field in request

2020-07-30 Thread alchemist vk
Hi All, Consider the request curl -vk -X POST -H "Del-Auth: abcd" ' 127.0.0.1/test/newuser' where I intentionally wont provide content type header for new user creation. While trying to write apache config file to check the presence of content-type field in request header, I am not able to do it.

[users@httpd] Re: Enable auth module in Apache/2.4.6

2020-07-30 Thread Kaushal Shriyan
On Wed, Jul 29, 2020 at 6:48 AM Kaushal Shriyan wrote: > Hi, > > I am running the Server version: (CentOS) on CentOS Linux release > 7.8.2003 (Core). > > Server version: Apache/2.4.6 (CentOS) >> Server built: Apr 2 2020 13:13:23 >> Server's Module Magic Number: 20120211:24 >> Server loaded: