Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


How can i change the extension name like i have a page which
name aboutme.php but i want to show it aboutme.php3 or
aboutme.aspx?

Answers were Sorted based on User's Feedback



How can i change the extension name like i have a page which name aboutme.php but i want to show it..

Answer / vinod ahuja

you need to write URL rewrite rules using .htaccess file

Is This Answer Correct ?    2 Yes 0 No

How can i change the extension name like i have a page which name aboutme.php but i want to show it..

Answer / vipul dalwala

You need to add following lines under <IfModule
mod_mime.c> ......... </IfModule> block.

AddType application/x-httpd-php .php3
AddType application/x-httpd-php .aspx

For example:

<IfModule mod_mime.c>
AddType application/x-httpd-php .php
..................
..................
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .aspx
</IfModule>

Is This Answer Correct ?    2 Yes 1 No

How can i change the extension name like i have a page which name aboutme.php but i want to show it..

Answer / vipul dalwala

This is continuation on my above post.

You need to do above changes in httpd.conf file ( Apache
configuration file ) and after making above chnage restart
apache.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer



More PHP Interview Questions

Is wordpress a php framework?

0 Answers  


Can I learn laravel without php?

0 Answers  


Tell me what does accessing a class via :: means?

0 Answers  


Tell me how to get the value of current session id?

0 Answers  


Tell me what does $_env means?

0 Answers  






Do I need apache for php?

0 Answers  


What is difference between variable declaration and variable definition?

0 Answers  


How do you define a constant in php?

0 Answers  


How does csrf token work?

0 Answers  


How many types of inheritances used in php and how we achieve it.

0 Answers  


What is the current php version?

0 Answers  


What is regular expression in javascript?

0 Answers  






Categories