The admin setup a subdirectory /sites/default/files/resources
and updated the docroot .htaccess
to point to this subdirectory so that the domain www.example.com
points to it.I do not have access to the docroot .htaccess
In the browser, www.example.com/resources
shows www.example.com/sites/default/files/resources
What should I add in the subdirectory .htaccess
such that URL shows www.example.com/resources
and uses the index.html
in /sites/default/files/resources/index.html
?
docroot/.htaccess:
RewriteCond %{HTTP_HOST} www.example\.com$ RewriteCond %{REQUEST_URI} !^/sites/default/files/resources/ RewriteRule ^(.*)$ /sites/default/files/resources/$1 [PT,L]