Remove index.php (mod_rewrite) |
On my ftp I have a subdomain: api.xxx.eu - here are all files from public CI4 folder.
My files structure: Quote:- ci4 In api/index.php I updated: PHP Code: $pathsConfig = FCPATH . '../../ci4/app/Config/Paths.php'; I have in ci4/app/Config/App: PHP Code: public $baseURL = 'https://api.xxx.eu/'; api/.htaccess: PHP Code: # Disable directory browsing When I go to https://api.xxx.eu/index.php/home/index all works but when I remove index.php from url I get answer: Quote:No input file specified.
Try
Code: RewriteRule ^([\s\S]*)$ index.php?/$1 [L,NC,QSA]
If that doe's not fix your problem you can try this one.
Code: # Remove index.php from URL Let's us know how you make out on this. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |