Jump to content

[Beginner Question] Hiding index.php


elnaz1010

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/193571-beginner-question-hiding-indexphp/
Share on other sites

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 :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.