• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.htaccess and cPanel servers

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

I'm using cPanel and the following .htaccess from the docs is only working when I place the CI app in a folder, it's not working when I put the app directly in public_html:

Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]

http://ellislab.com/codeigniter/user-gui.../urls.html

Please help. Thanks.

#2
[eluser]Tom Schlick[/eluser]
try the solutions on here

http://codeigniter.com/wiki/mod_rewrite/

or try searching in the forums there are like 45890475983457 posts about this that will be able to help


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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