When i try to get my framework to link to the manual controller of my site on ether my localhost or host.
So when i go to http://localhost:8888/manual/ it instead of loading up my manual controller it opens up the a 404 error outside my framework, and the apache manual on my hosting for some reason.
Is it possible to change my .htaccess to stop this from happening i had though that all links were successfully redirected to index.php
.htaccess
/public/.htaccess
So when i go to http://localhost:8888/manual/ it instead of loading up my manual controller it opens up the a 404 error outside my framework, and the apache manual on my hosting for some reason.
Is it possible to change my .htaccess to stop this from happening i had though that all links were successfully redirected to index.php
.htaccess
Code:
RewriteEngine On
RewriteRule ^(.*)$ public/index.php?rt=$1 [PT,L]
/public/.htaccess
Code:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteEngine On
RewriteRule ^(.*)$ index.php?rt=$1 [PT,L]
RewriteRule ^(.*)$/$ index.php?rt=$1 [PT,L]