How to run version 4 in a subdirectory |
I've searched for hours and found lots of suggestions, of which none worked because they all seem to be too old and don't address version 4's move of index.php to public.
Here's what I finally ended up with before I came here. This is in my edit directory (http://example.com/edit. I'm running it in a virtual system managed by virtualmin and the files are in ~/public_html. Specifically ~/public_html/edit. Code: ~/public_html/edit$ ls -a Code: Options +SymLinksifOwnerMatch I know it can be done, I just can't do it. Thanks for the help. Jim. I did change the public/.htaccess file too: RewriteBase /edit
Hi, take a look at this tutorial:
https://forum.codeigniter.com/thread-76777.html And instead of /public_html/ it should be /public_html/edit And you need ../../ instead of ../ in your index.php file. If it dosen't work, open up your .htaccess and only change "RewriteBase /edit", everything else should be left as is.
That works or at least it displays something reasonable. Now I just have to develop the site.
Thank you! Jim. |
Welcome Guest, Not a member yet? Register Sign In |