Being fairly new to EE (v5) and just starting to wrap my head around the channels and templates doctrine – which do seem great, by the way – I am wondering whether or how I could accomplish the following. Thanks in advance for your patience with a newbie.
Let’s say my whole site (an extranet webapp) will be managed through EE installed in the root directory of my webserver. In certain subdirectories I would like to host other webapps (outside of EE), such as a dokuwiki (https://www.dokuwiki.org/dokuwiki) for instance. Is this something to deal with in .htaccess rewrite rules or can I do it inside of EE?
Welcome to EE!
If I understand correctly, you don’t really need to do anything. Just create your folder dokuwiki and put what you need in it. https://www.dokuwiki.org/dokuwiki/index.html, etc. should come up just fine.
Just keep in mind, in EE, everything frontend is running through index.php. If you visit a url that uses the root index.php, it’s going to serve up EE. Otherwise, it won’t.
Where things get a little interesting is the htaccess. If you remove index.php from your urls via the default htaccess (I always do) then you’re basically saying ‘if some url doesn’t exist, slap an index.php on it so EE will handle it’. If it does exist, it just trucks along like normal and EE is out of the picture.
Does that help?
I believe you’d have to manage that in DNS. let’s say you have website.com
inside that you have a folder called forums which you want to live at forums.website.com
your CNAME record would say something like of website.com
if you had a Node or Rails app running on Heroku, that would be another CNAME record but would have a value of something like “dealerlocator.website.com.herokudns.com” (you’d need to set this up at the application server too)
I’m no expert on this, but that’s how I have it set up in my EE site.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.