• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
index.php

#1
[eluser]nirbhab[/eluser]
Hi,

i am new to CodeIgniter.

i am currently working with URL.
http://localhost/index.php/CLASS/FUNCTION

my problem is that i want to remove this index.php from my urls and want to run classes
like this
http://localhost/CLASS/FUNCTION.
Please suggest something.

i can't work on .htaccess file, due to some server side restrictions.

Have a nice day!

#2
[eluser]yello[/eluser]
if you can't work with the .htaccess file I don't know if it is possible... normally you use the mod_rewrite to remove the index.php

#3
[eluser]fanxiaotao[/eluser]
I have the question too.

Hope somebody can give a good answer!

#4
[eluser]nirbhab[/eluser]
Shared Domains Hosting Companies doesn't provide an exception case for a single user to modify anything .htaccess file, they do it for security constraints, please somebody answer.
Have a nice day!

#5
[eluser]schnoodles[/eluser]
You can only do it through .htaccess or httpd.conf( which has even more restrictions ) if they wont add the rules in for you. Or you do not have access to it, unfortunately it cannot be done.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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