diff --git a/apache-config.conf b/apache-config.conf index ee35412..d3ecc61 100644 --- a/apache-config.conf +++ b/apache-config.conf @@ -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] + Options Indexes FollowSymLinks DirectoryIndex index.php