• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Eliminating the index segment in a URL (htaccess)

#8
[eluser]tim042829[/eluser]
[quote author="cseguin" date="1280953714"]Hi tim042829,
I have a similar problem,
any luck?
we are waiting for you to report back :-)
regards[/quote]
No luck! sigh..
I followed the instructions at http://codeigniter.com/wiki/mod_rewrite/
to the best of my ability. Mode rewrite is enabled on my machine.
I changed the AllowOverride directives in my apache default and default-css files
form None to FileInfo.
I used the .htaccess file as specified in that page.
A couple of comments here: I've done things the 'hard way' for 14 years now.
I want php to be the 'easy way', and furthermore, I am reluctant to do any system-wide
mods to apache.
If it ain't easy, I would find another way.
And I did.
Just to test, I activated the following line in config.php to
Code:
$config['index_page'] = "akwebsoft.php";

and copied index.php as akwebsoft.php. Now I can request
Code:
http://localhost/CodeIgniter/akwebsoft/test
and get my test page. So I have overwritten 'index' and that works for me now.
Maybe I will revisit that issue when I have graduated from noobhood.
Sorry,
tim


Messages In This Thread
Eliminating the index segment in a URL (htaccess) - by El Forum - 08-03-2010, 11:50 AM
Eliminating the index segment in a URL (htaccess) - by El Forum - 08-03-2010, 05:16 PM
Eliminating the index segment in a URL (htaccess) - by El Forum - 08-03-2010, 05:47 PM
Eliminating the index segment in a URL (htaccess) - by El Forum - 08-03-2010, 07:09 PM
Eliminating the index segment in a URL (htaccess) - by El Forum - 08-03-2010, 07:35 PM
Eliminating the index segment in a URL (htaccess) - by El Forum - 08-04-2010, 09:28 AM
Eliminating the index segment in a URL (htaccess) - by El Forum - 08-04-2010, 10:23 AM
Eliminating the index segment in a URL (htaccess) - by El Forum - 08-04-2010, 12:36 PM
Eliminating the index segment in a URL (htaccess) - by El Forum - 08-07-2010, 06:27 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.