Author Topic: [Beginner Question] Hiding index.php  (Read 447 times)

0 Members and 1 Guest are viewing this topic.

Offline elnaz1010Topic starter

  • Irregular
  • Posts: 10
    • View Profile
[Beginner Question] Hiding index.php
« on: February 27, 2010, 09:48:47 AM »
i dont know if i have done it right, but all i have done is that i wrote a simple controller so that i can get a message from it.
but the problem is i dont want my user see my index.php file.
if i point my browser to:
"http://127.0.0.1/index.php/myController/about"
it will show my message
but i want my url be like
"http://127.0.0.1/myController/about"

i thought maybe i should edit my .htaccess file.
but i have no clue how. :shrug:

thanks for help

regards
« Last Edit: February 27, 2010, 09:49:44 AM by elnaz1010 »

Offline elnaz1010Topic starter

  • Irregular
  • Posts: 10
    • View Profile
Re: [Beginner Question] Hiding index.php
« Reply #1 on: February 27, 2010, 10:48:14 AM »
never mind :)
found the solution,
i made a new project and started using zf.bat instead of relying on zend studio to create new project for me :)
now it works.

but if anyone knew what was the problem of my first try, i would appreciate him if he tell me what i had done wrong.
thanks anyway :)
« Last Edit: February 27, 2010, 10:50:33 AM by elnaz1010 »