Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

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

Started by Mig 8 years ago · 0 replies · 681 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 jeremycherfas, 1 week ago
1 112 7 days ago
Installation & Hosting · by motorambler, 3 weeks ago
8 392 2 weeks ago
Installation & Hosting · by antoinep, 3 months ago
8 964 3 months ago
Installation & Hosting · by Jürgen Dietrich, 10 months ago
0 623 10 months ago
Installation & Hosting · by rappluk, 11 months ago
0 667 11 months ago