skip to Main Content

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.

2

Answers


  1. Did you also change the file permissions for your http://www.domain.com/shop/index.php and http://www.domain.com/shop/admin/index.php files during vqmod installation?

    This is vital as changes are made to these files during the auto-installation process.

    Login or Signup to reply.
  2. found it at last….
    .htaccess in of vqmod is set to Deny from all. change it to allow and it should work fine!

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search