Reply To: Unable to login after installation

Home Forums Using MintHCM Unable to login after installation Reply To: Unable to login after installation

#2283
cyberchriss
Participant

I have the same problem. After fresh installation I got the login-dialog with the LBL_MINT4_AUTH_LOGIN_TITLE and installation doesn’t start.

My configuration on Debian 12.4

Apache/2.4.57 (Debian)
PHP 8.0.30
loaded modules: core mod_so mod_watchdog http_core mod_log_config mod_logio mod_version mod_unixd mod_access_compat mod_alias mod_auth_basic mod_authn_core mod_authn_file mod_authz_core mod_authz_host mod_authz_user mod_autoindex mod_deflate mod_dir mod_env mod_filter mod_headers mod_mime prefork mod_negotiation mod_php mod_reqtimeout mod_rewrite mod_setenvif mod_status

My .htaccess looks like:
<IfModule mod_rewrite.c>
Options +SymLinksIfOwnerMatch
RewriteEngine On

RewriteRule ^api/(.*?)$ install/index.php [L]

RewriteRule ^assets/(.*?)$ assets/$1 [L]
RewriteRule ^favicon.ico$ favicon.ico [L]
RewriteRule ^bg.jpg$ bg.jpg [L]
</IfModule>

installation path /var/www/html/minthcm
chmod 755 on all files and directories
user and group www-data on all files and directories

/etc/apache2/sites-enabled/000-default.conf
<VirtualHost *:80>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request’s Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
#ServerName http://www.example.com

ServerAdmin webmaster@localhost

DocumentRoot /var/www/html/minthcm

<Directory /var/www/html/minthcm>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>

# Available loglevels: trace8, …, trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined

# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with “a2disconf”.
#Include conf-available/serve-cgi-bin.conf
</VirtualHost>