Server error VQMOD Opencart permissions: You don't have permission to access /shop/vqmod/install on this server

Third_Hyperion picture Third_Hyperion · Sep 2, 2014 · Viewed 8.3k times · Source

I have a website running with a content management system running in the root of my website. I have installed the latest version of Opencart in a sub-directory called "shop" - so www.domain.com/shop/

Everything works fine and I can use Opencart as expected.

I need to install VQmod so have uploaded the files to the root of the shop folder, I have set the correct permissions trying 755 and 777 but with no luck.

Every time I go to www.domain.com/shop/vqmod/install I get a 403 error.

Same with www.domain.com/shop/vqmod/

Forbidden

You don't have permission to access /shop/vqmod/install on this server.
Apache Server at domain.com Port 80

My .hta file is pretty much standard apart from taking out the index.php? out of the urls and a rewrite rule to say change the home link.

RewriteBase /shop/
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteRule ^download/(.*) /index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]

RewriteCond %{QUERY_STRING} ^route=common/home$
RewriteCond %{REQUEST_METHOD} !^POST$
RewriteRule ^index\.php$ http://%{HTTP_HOST}? [R=301,L]

I am running on an apache server mentioned in error and on plesk control panel. I am stuck!

Also I have a .hta file in my very root where the cms files are how do I ensure that does not conflict the with opencart website.

Answer

mike_x_ picture mike_x_ · Sep 20, 2014

found it at last.... .htaccess in of vqmod is set to Deny from all. change it to allow and it should work fine!