Aliasing PHP pages
Posted: Fri Aug 14, 2009 12:30 pm
Hi all,
I am entirely new to php. But I am familiar to oops and other scripting languages like asp.
I installed Apache, PHP and MySql using wamp server 2. The editor I chose is eclipse with and php plugin.
I have a starting question. I created a php project and just added a page let say myfirstPHPPage.php in my wwwroot folder (the virtual path)
I hit http://localhost:80/myfirstPHPpage.php and everything works fine.
What I want to do is alias the page link. That is lets say, I hit http://localhost:80/home
I want the browser to render myfirstPHPPage.php
some one please guide me.
(googling didn't help. I am not able to proceed any further).
Thanks in advance,
Renuka Prasad.
I am entirely new to php. But I am familiar to oops and other scripting languages like asp.
I installed Apache, PHP and MySql using wamp server 2. The editor I chose is eclipse with and php plugin.
I have a starting question. I created a php project and just added a page let say myfirstPHPPage.php in my wwwroot folder (the virtual path)
I hit http://localhost:80/myfirstPHPpage.php and everything works fine.
What I want to do is alias the page link. That is lets say, I hit http://localhost:80/home
I want the browser to render myfirstPHPPage.php
some one please guide me.
(googling didn't help. I am not able to proceed any further).
Thanks in advance,
Renuka Prasad.