Ok I'm pulling my hair out, can't get the mod_rewrite rules to work.
This is my apache config
<VirtualHost x.x.x.x:80>
DocumentRoot "/web/domain1/"
ServerName www.example.com
ServerAlias example.com
<Directory "/web/domain1/">
Options -Indexes
</Directory>
</VirtualHost>
My directory layout
/web
|
--domain1/ (/web/domain1)
|
------report/ (/web/domain1/report)
|
-----------public/ (/web/domain1/report/public)
I'm trying to put a rewrite rule into the apache config such that when a user accesses www.domain1.com/report they get served from the /web/domain1/report/public folder, and the URL should remain as www.domain1.com/report. Appreciate any help.