Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Setting up 2 Grav Instances on same Webhost, htaccess problem [solved]

Started by Mig 8 years ago · 0 replies · 738 views
8 years ago

Hi guys,

first, sorry, english is not my native language.
after spending 2 days with the problem I decided to register here and maybe the problem has a quick fix.

EDIT: sorry, fixed it myself. my server didnt except the htaccess index entry and therefore never executed 2nd Grav. When I edited the htaccess from 2nd Grav it worked.

I try to be as short as possible:

I need 2 Grav instances (1 website, 1 web-manual with learn2 theme)
I have www.domain.com pointing at root
1st Grav is located in /website
2nd Grav is located in /howto
I have htaccess redirect from root to /website and changed base url from 1st Grav to domain[.]com.
1st Grav works flawless.

Problem is I cant reach 2nd Grav.
If I go to www.domain.com/howto it looks like 1st Grav is taking over and showing me a 404 Error.
I tried to ignore the folder in settings and tried various htaccess rules, redirects, rewrites but I just dont get it to work.

I read about multisite setup, but I dont really want to tinker around in this way because I think there has to be an easy solution to host 2 Gravs on the same Server?

Thanks in advance!

last edited 02/07/19 by Mig

Suggested topics

Topic Participants Replies Views Activity
Installation & Hosting · by motorambler, 1 month ago
9 681 3 weeks ago
Installation & Hosting · by jeremycherfas, 1 month ago
1 336 1 month ago
Installation & Hosting · by antoinep, 4 months ago
8 1162 4 months ago
Installation & Hosting · by Jürgen Dietrich, 10 months ago
0 803 10 months ago
Installation & Hosting · by rappluk, 12 months ago
0 835 12 months ago