Stop server and Create a .htaccess file in your root folder and paste below code
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php
Now save file and start server,It will hide your page extension
Wednesday, 31 August 2011
Sunday, 21 August 2011
Thursday, 11 August 2011
change localhost port
In wamp server
Just go to c:\wamp\bin\apache\apache2.2.8\conf\httpd.conf
and search for "Listen 80" change 80 to whatever you want ....
in xammp server
just go to c\ xampp \ apache \ conf \ httpd.conf
Find this line:
Listen 80
change it to:
Listen 85 or whatever you want
Just go to c:\wamp\bin\apache\apache2.2.8\conf\httpd.conf
and search for "Listen 80" change 80 to whatever you want ....
in xammp server
just go to c\ xampp \ apache \ conf \ httpd.conf
Find this line:
Listen 80
change it to:
Listen 85 or whatever you want
Subscribe to:
Posts (Atom)