Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Installation & Hosting

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

Started by Mig 7 years ago · 0 replies · 518 views
7 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 antoinep, 19 hours ago
7 72 1 hour ago
Installation & Hosting · by Jürgen Dietrich, 7 months ago
0 65 7 months ago
Installation & Hosting · by rappluk, 8 months ago
0 65 8 months ago
Installation & Hosting · by N, 12 months ago
3 76 12 months ago
Installation & Hosting · by Youle, 1 year ago
1 64 1 year ago