Trying to get rid of index.php from address on my ubuntu system |
02-28-2017, 06:01 PM
(This post was last modified: 02-28-2017, 06:02 PM by doomie22. Edit Reason: added a section to it )
Thank you for your replies, but at this moment nothing seems to get rid of it. I have tried the following:
I have change this in /etc/apache2/apache2.conf Code: <Directory /var/www/> I have also added the .htaccess to have this Code: RewriteEngine On and also this one Code: RewriteEngine On I have also made sure that in config.php it is set as Code: $config['index_page'] = ''; and just incase Code: $config['index_page'] = 'index.php'; I have used phpinfo() to display on the server and in the loaded modules it says mod_rewrite. but yet if I have it as the page http://localhost/ it shows the home page as normal, but if I say go into http://localhost/blog it cannot find it. I add index.php into the address and it works. I have had this exact project in WAMP on windows working fine and also on my linux hosting and it also works fine there. I just don't see what could be making the issue. |
Messages In This Thread |
Trying to get rid of index.php from address on my ubuntu system - by doomie22 - 02-28-2017, 07:37 AM
RE: Trying to get rid of index.php from address on my ubuntu system - by kierownik - 02-28-2017, 01:49 PM
RE: Trying to get rid of index.php from address on my ubuntu system - by skunkbad - 02-28-2017, 03:57 PM
RE: Trying to get rid of index.php from address on my ubuntu system - by doomie22 - 02-28-2017, 06:01 PM
RE: Trying to get rid of index.php from address on my ubuntu system - by skunkbad - 02-28-2017, 11:43 PM
RE: Trying to get rid of index.php from address on my ubuntu system - by koficypher - 03-01-2017, 03:02 AM
RE: Trying to get rid of index.php from address on my ubuntu system - by doomie22 - 03-01-2017, 04:08 AM
RE: Trying to get rid of index.php from address on my ubuntu system - by skunkbad - 03-01-2017, 05:29 PM
RE: Trying to get rid of index.php from address on my ubuntu system - by koficypher - 03-02-2017, 02:05 AM
|