fix apache config

This commit is contained in:
Imam Syahid Hudzaifah 2025-08-13 13:53:33 +07:00
parent 8fe494b071
commit f1e3c5ad49

View File

@ -11,6 +11,10 @@
ServerAdmin webmaster@localhost
DocumentRoot /app/src/api
# Rewrite rule to redirect /hcportal/src/api/ to /app/src/api/
RewriteEngine On
RewriteRule ^/hcportal/src/api/(.*)$ /app/src/api/$1 [L]
<Directory /app/src/api>
Options Indexes FollowSymLinks
DirectoryIndex index.php