How do I ensure that rewrite works properly? |
When I go to the root of my installation which is /ci4 right now I just get this:
If I go to /public it works fine but it needs to go there from the root of the folder. I've added a .htaccess file and added in the code here, but i don't know how much of it is needed: Code: #CI4 stuff (added Oct 2021) dc I've confirmed that I'm on the latest version of PHP and that rewrite engine is turned on for the shared server it's on. I've added in the Config/App.php like this: PHP Code: public $baseURL = 'http://www.seedetail.co.uk/ci4/'; seedetail.co.uk/phpinfo.php shows the server details. (10-19-2021, 07:52 AM)Inquisitor Wrote: When I go to the root of my installation which is /ci4 right now I just get this: If you are using cPanel It looks like your Document Root may be pointing to public_html I think your Document Root should be pointing to Home/<site folder>/ci4/public
(10-19-2021, 10:15 PM)paulkd Wrote: If you are using cPanel Thanks for your reply. The thing is I have other directories which are also needed, e.g. a ci3 folder for testing, other test sites, so this would not let me use those sites. (10-20-2021, 02:08 AM)Inquisitor Wrote:(10-19-2021, 10:15 PM)paulkd Wrote: If you are using cPanel Domains are cheap. I use subdomains off a main domain for use as testing sites. |
Welcome Guest, Not a member yet? Register Sign In |