I have all the photos of my website located in /var/www/vhosts/myvps.ovh.net/sitename/uploads/, and my site is located in /var/www/vhosts/myvps.ovh.net/httpdocs, sitename and httpdocs are located on the same level. When a user looks for some photos I want to look into /sitename/uploads and not /httpdocs/uploads, my htaccess file is located in httpdocs/.htaccess.
I tryied using RewriteRule like this:
RewriteRule ^/var/www/vhosts/myvps.ovh.net/sitename/uploads/(.*)/$ uploads/$1 [QSA]
but nothing changed, I've been trying different RewriteRules for a while now and I can't figure out one that should work.
Any Ideas? thanks
DocumentRootand here/sitename/is outsideDocumentRoot