Welcome Guest, Not a member yet? Register   Sign In
Scaffolding and .htaccess
#1

[eluser]chinathong[/eluser]
hi. I have configured my app with an .htaccess file so to remove the index.php from the urls, I also configured my config.php file with $config['base_url'] = "http://localhost/~username/appname" ... it's working just fine, but I noticed that when using the scaffolding helper I have to explicitly use "index.php" in the url ... that's fine for me, but I'd like to know if there is an extra configuration that I'm missing here. Thanks in advance :-)
#2

[eluser]rlaskey[/eluser]
[quote author="chinathong" date="1236553520"]hi. I have configured my app with an .htaccess file so to remove the index.php from the urls, I also configured my config.php file with $config['base_url'] = "http://localhost/~username/appname" ... it's working just fine, but I noticed that when using the scaffolding helper I have to explicitly use "index.php" in the url ... that's fine for me, but I'd like to know if there is an extra configuration that I'm missing here. Thanks in advance :-)[/quote]

$config['index_page'] = "";

Set this in your config/config.php, and you'll be all set.
#3

[eluser]chinathong[/eluser]
[quote author="rlaskey" date="1236577369"]
$config['index_page'] = "";
Set this in your config/config.php, and you'll be all set.[/quote]

Strange, but even though I modified to blank, the behaviour is still the same :-(




Theme © iAndrew 2016 - Forum software by © MyBB