Friendly URL |
[eluser]Unknown[/eluser]
Hello, On the begining i am sorry for my english. I will try be correct. I must beg someone about help with "rewrite" option. I have adress to controller: http://127.16.0.1/CodeIgniter_1.7.2/index.php/test/ but it is very ugly address. I never seen these adresses in the net. I rode that i should make .htaccesss file with code: Code: <?php and change $config['index_page'] on: Code: $config['index_page'] = ""; But when i use new address: http://127.16.0.1/CodeIgniter_1.7.2/test/ serwer say that it is not exist... Please help me. Thanks for any help, Tiregan
[eluser]bl00dshooter[/eluser]
Why are there <?php and ?> on your .htaccess? It's not a php file... Thus, your Rewrite rule needs to be something like this Code: RewriteRule ^(.*)$ /CodeIgniter_1.7.2/index.php/$1 [L]
[eluser]Unknown[/eluser]
Oh, Thank You good man! It work now! Only on this forum someone helped me! Thanks.
[eluser]bl00dshooter[/eluser]
No problem mate, shall you need more help just ask. |
Welcome Guest, Not a member yet? Register Sign In |