I have a web app project located in a directory called issues
with several sub directories.
The folder structure is as follows:
-issues
-applications
-cli
-library
-public
-css
-js
index.php
If you point the url to the issue
folder nothing happens. To load the website the URL needs to point to issues/public
and then the site runs from there.
Is there a way to have the url point to just the issues
directory but load the files as if it was in the issues/public
directory?
Everything is linked in such a way in the application that it would be impossible to move the contents of the public
folder to the issues
folder.
I was looking at htaccess redirects and have so far managed to redirect issues
to issues/public
but this isn't ideal.
I did that using the following:
RewriteRule ^issues\/?$ "/issues\/public" [R=302,L]