Here's how I have BA set up for one of my servers...

This directive is in the main config:

<Location />
Include /www/conf/bvscompsec.inc
</Location>

This file mentioned contains the following:

AuthName company_name
AuthType Basic
PasswdFile %%SYSTEM%%
<Limit GET POST>
Require valid-user
</Limit>

This will use the system user and passwords for validation.

If you want to use validation lists, it would look like this:

AuthName company_name
AuthType Basic
PasswdFile LIB/VLDLST
<Limit GET POST>
Require valid-user
</Limit>

where LIB is the library that the validation list (in this example, VLDLST)
is stored.




On Fri, Jan 16, 2026 at 12:14 PM gio.cot via MIDRANGE-L <
midrange-l@xxxxxxxxxxxxxxxxxx> wrote:

Hi all

I'm new on configure http SERVER and deploy web services ..

I have configured an http SERVER and deployed a web service for test; it
works fine.

Now i would like to learn and test how use "Basic Authentication"; can some
one suggest some links how to do that, i found this documet

https://www.itjungle.com/2024/08/12/guru-creating-a-web-service-with-basic-a
uthentication/
<https://www.itjungle.com/2024/08/12/guru-creating-a-web-service-with-basic-authentication/>,
but it seem for application server (not for http server ..)
the instruction are the same ??

In my server httpd.conf, i don't find

<Location />

Require all granted

</Location>



Thanks in advance

Gio



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.