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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.