I am trying to configure a clean installation of elgg to have it run as if it was installed in root but actually have it organized into it's own subdirectory. I like having my directory structure clean in my root and want to have elgg setup as follows:
/public_html/ <--- is the root of my domain mysite.com
/public_html/elgg <--- directory where all core elgg files are located
I want to access mysite.com and have it run elgg without having to use mysite.com/elgg as the url
I have already tried the following .htaccess setup:
Now when I access mysite.com I am able to get the elgg index page but I try submitting the login form I am running into a "Form is missing __token or __ts fields" error . It seems the redirects in the root .htaccess don't forward the form tokens properly. Is there a work around for this that any developer has figured out.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.