apache - CodeIgniter not routing requests past /index.php/ to correct controller -


new ci, it's safe assume misunderstandings...

my folder structure looks like

. └── www     ├── appthing     │   └── v5     │       ├── application     │       │   ├── config     │       │   ├── controllers     │       │   │   ├── api     │       │   │   └── v1     │       │   │       ├── settings.php     │       │   ├── ...     │       │   └── views     │       └── system     └── vhosts         └── appthing               index.php               .htaccess  

htaccess

my apache config in /etc/apache2/sites-available/000-default.conf looks like:

documentroot /var/www/www/vhosts/appthing   <directory "/var/www/www/vhosts/appthing">     allowoverride  </directory> 

when navigate ipaddress/index.php authentication error, good, since can @ least access index.php file. however, if try go index.php/settings ci 404 error. same code works on computer (os x, trying put on aws ubuntu 16 instance currently), it's not problem ci semantics.

i think need set documentroot /var/www/www/appthing/v5. should have , index.php file in ci project redirect home (standard = welcome.php) controller.


Comments