htaccess |
Used CI long ago and always had issues with new setups with .htaccess. Here I am again, such a familiar and unwanted friend.
The route works correctly for the "main" page, showing what I want, but I cannot access any other page on the site. I am running on Ubuntu 16.04, CodeIgniter 3.1.6, Apache 2.4.18, and php 7.1.10. Path on server /var/www/html/ /etc/apache2/sites-available/site.conf (I have a /etc/hosts entry for www.site.com) Code: <VirtualHost *:80> .htaccess Code: RewriteEngine On routes.php PHP Code: $route['default_controller'] = 'page/index'; config.php PHP Code: $config['base_url'] = 'http://www.site.com/'; I have turned on mod-rewrite and can see it when looking at phpinfo(); Appreciate your time and assistance. |
Messages In This Thread |
htaccess - by oach - 10-04-2017, 03:16 PM
RE: htaccess - by InsiteFX - 10-05-2017, 02:47 AM
RE: htaccess - by Raymien - 10-05-2017, 01:52 PM
RE: htaccess - by oach - 10-06-2017, 02:49 PM
|