Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

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

Started by Mig 8 years ago · 0 replies · 846 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 DrPen, 6 days ago
4 117 4 days ago
Installation & Hosting · by vollstock, 3 weeks ago
3 221 3 weeks ago
Installation & Hosting · by David, 7 years ago
3 3508 1 month ago
Installation & Hosting · by David Meissner, 1 month ago
3 345 1 month ago
Installation & Hosting · by David Meissner, 1 month ago
0 269 1 month ago