Add Web User - Where is Apache configuration file?


I want to create another web UI login name for my junior administrator for managing (add / disable / remove/) OpenVPN remote-workers accounts.

I use the instrurtion “Adding Web Users” - [Smoothwall - Adding Web Users]

  1. In order the instruction I create a new user account for accessing the web interface, from a command prompt on my IPfire:

htpasswd /var/ipfire/auth/users pavel

And the new user was added in file /var/ipfire/auth/users :

[root@router-4 /]# cat /var/ipfire/auth/users

  1. In order to instruction for grant new user access I try to find file .htaccess but can’t find in any folders.

I found IPfire use Apache for Web GUI

[root@router-4 /]# /usr/sbin/httpd -v
Server version: Apache/2.4.41 (Unix)
Server built: Feb 4 2020 07:49:18

I try to find were are Apache conf file located, but I can’t

[root@router-4 /]# find / -name apache

Can any one help me?

Thanks in advance,
WBR, Vladimir.

Configuration is in /etc/httpd/conf.
The users are in /var/ipfire/auth/users


Hi Bernhard,
thank you for the answer.
You show me the right direction))

In the directory:


I found file:


And modify three sections like this:

        Require user admin pavel
        Require ssl

        Require user admin pavel
        Require ssl

        Require user admin pavel
        Require ssl

After this modification I restart httd service:

/etc/init.d/apache restart

So I can login to web-GUI ipFire with new account.
Now I have additional web login account for my system administrator.

Thank a lot,
WBR Vladimir

Be aware that the configuration will revert to only admin once you update IPFire.