Post by qualitas » Sun Oct 14, 2018 2:35 pm

Get error message:
"Forbidden
You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request."

After instalation of second store folowing instructions here:
http://forum.opencart.com/viewtopic.php ... 50f213c377
and here:
https://www.antropy.co.uk/blog/how-do-o ... ores-work/

Store one working: http://qualitasdistribution.com/
Store two with error message: http://econodistribution.biz/

Installed in same directory with "/" at the end of name.

Anyone has an idea of the probem?

Regards

New member

Posts

Joined
Mon Mar 26, 2018 9:27 am

Post by xxvirusxx » Sun Oct 14, 2018 2:46 pm

So you have installed for example two store in directory A ?

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by qualitas » Sun Oct 14, 2018 5:28 pm

The two are on root.

New member

Posts

Joined
Mon Mar 26, 2018 9:27 am

Post by xxvirusxx » Sun Oct 14, 2018 6:03 pm

So you have installed both on public_html?

Or? :

Code: Select all

public_html/store1
public_html/store2

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by qualitas » Mon Oct 15, 2018 7:13 am

On
public_html
with all my other web sites.

New member

Posts

Joined
Mon Mar 26, 2018 9:27 am

Post by qualitas » Fri Oct 19, 2018 1:59 pm

Does it could be link to the fact I have change Opencart from a file to the root?

Here error message in CPanel:
[Fri Oct 19 00:08:50.815547 2018] [autoindex:error] [pid 17108:tid 140325245679360] [client 13.57.233.99:47812] AH01276: Cannot serve directory /home/youthho/public_html/econodistribution.biz/: No matching DirectoryIndex (index.htm,index.html,index.php,index.shtml,index.xhtml,index.pl,index.cgi,index.jsp,index.phtml,default.htm,default.html,home.htm,index.php5,Default.html,Default.htm,home.html,funio.html) found, and server-generated directory index forbidden by Options directive

New member

Posts

Joined
Mon Mar 26, 2018 9:27 am

Post by xxvirusxx » Sat Nov 03, 2018 8:50 pm

Better post a screenshot from public_html

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by qualitas » Sun Nov 04, 2018 12:13 am

Image

The main shop is qualitasdistribution.com
The second shop is econodistribution.biz
I also tried with subdomain econo.qualitasdistribution.com and they both don't work.

New member

Posts

Joined
Mon Mar 26, 2018 9:27 am

Post by ADD Creative » Sun Nov 04, 2018 2:36 am

Both Domains have to point to the same folder on your hosting. You have them pointing to two different folders. You need to change the document root of one of your domains to point to the folder of the other.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by xxvirusxx » Sun Nov 04, 2018 3:11 am

You want multistore with the same database?

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by qualitas » Sun Nov 04, 2018 3:14 am

ADD Creative
I don't get it. What do you mean
You have them pointing to two different folders
Both domain names are in the same directory named
public_html
.
Like this:
public_html/shop1
public_html/shop2

Do you mean public_html/shop1/shop2 ?

New member

Posts

Joined
Mon Mar 26, 2018 9:27 am

Post by qualitas » Sun Nov 04, 2018 3:17 am

Yes, xxvirusxx same database.
Otherwise, I don't see the interest to use two different databases?

New member

Posts

Joined
Mon Mar 26, 2018 9:27 am

Post by xxvirusxx » Sun Nov 04, 2018 3:18 am

Post a screenshot from store list from primary store

LE. So you have added like in this image?

If is like in the image, then rename or delete from public_html the folder econodistribution.biz and should work.

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by qualitas » Sun Nov 04, 2018 3:32 am

Image
Image

Attachments

Capture du 2018-11-03 15-26-37.png

Capture du 2018-11-03 15-26-37.png (22.69 KiB) Viewed 3087 times

Capture du 2018-11-03 15-22-00.png

Capture du 2018-11-03 15-22-00.png (25.91 KiB) Viewed 3087 times


New member

Posts

Joined
Mon Mar 26, 2018 9:27 am

Post by qualitas » Sun Nov 04, 2018 3:38 am

If I delete "econodistribution.biz" directory I get message error:
Not Found
The requested URL / was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

New member

Posts

Joined
Mon Mar 26, 2018 9:27 am

Post by xxvirusxx » Sun Nov 04, 2018 3:44 am

I can take a look if you send me on PM access fro Cpanel and admin of first store.

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by ADD Creative » Sun Nov 04, 2018 3:53 am

qualitas wrote:
Sun Nov 04, 2018 3:14 am
Like this:
public_html/shop1
public_html/shop2

Do you mean public_html/shop1/shop2 ?
No, like this.

Domain 1 -> public_html/shop1
Domain 2 -> public_html/shop1 (must be the same as domain 1)

You need to goto "Addon Domains" in cPanel and edit the "Document Root" for domain 2 to be the same as domain 1. Also make sure you have no redirects.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by qualitas » Sun Nov 04, 2018 4:04 am

It works!

Thanks, ADD Creative.

The instructions on this page http://forum.opencart.com/viewtopic.php ... 50f213c377

Are not clear or correct. They point the second domain name to the second domain instead of the first domain name.

Thanks again.

New member

Posts

Joined
Mon Mar 26, 2018 9:27 am
Who is online

Users browsing this forum: Semrush [Bot] and 403 guests