Hi,
We are adding additional validation to the “.htaccess” file; however, the validation will be included in the next release.
After unzipping/pulling/moving the MintHCM files into the destination folder, ensure that the .htaccess file exists. The file’s permission should be set to 644, and the owner of the file should be set to either www-data or apache, depending on your environment.
Before installation:
If you don’t see the file you can copy it from the repository.
The file should look like this:
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]
After installation, the .htaccess should look like this:
Options +SymLinksIfOwnerMatch
RewriteEngine On
RewriteBase /
RewriteRule ^assets/(.*?)$ assets/$1 [L]
RewriteRule ^legacy/(.*?)$ legacy/index.php/$1 [L]
RewriteRule ^api/(.*?)$ api/index.php [L]
RewriteRule ^bg.jpg$ bg.jpg [L]
RewriteRule ^favicon.ico$ favicon.ico [L]
RewriteRule .* index.html [L]
Replace with your directory name.
For example,
if your instance is in the directory: /var/www/develop,
and within the develop directory, you have files like this: .htaccess, index.html, and directories: legacy, api, assets…
In this example, RewriteBase is /develop.
Please make sure that you have the correct settings in the following files:
api/configs/mint/config_override.php
api/app/Config/AppConfig.php
legacy/config.php
legacy/config_override.php