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

Grav + other platform in sub-directory - possible?

Started by Muut Archive 10 years ago · 1 replies · 391 views
10 years ago

So I am setting up a media platform and after initial tests Grav (yay!) will be what I am going to use. I will also have /discuss sub-directory with another PHP platform running (Flarum) similar at here at official getgrav.org/forum.

Now, my questions:
1. How can I make sure Grav won't interfere with my forum sub-directory other than avoid generating any folders/pages with same name?
2. Are there any other precautions I should take for this set-up to work without glitches?

10 years ago

The way a webserver works is that if it finds a physical file at a particular url, eg http://yourserver.com/discuss then it will server that, else it will fall back and use any rewrite rules 'up the chain'.

So, you should have no problem with installing a forum inside Grav. If you are not using apache, and using nginx or something, you will need to manually define the two virtual hosts so that they have the appropriate needed rewrite rules for each.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1352 9 years ago
Archive · by Muut Archive, 9 years ago
2 935 9 years ago
Archive · by Muut Archive, 9 years ago
2 4064 9 years ago
Archive · by Muut Archive, 9 years ago
1 2950 9 years ago
Archive · by Muut Archive, 9 years ago
3 1119 9 years ago