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?
Answer Posted / 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 |
Post New Answer View All Answers
What is the difference between array_merge() and array_merge_recursive() in php?
What is an array in php?
What is htaccess? Why do we use this and where?
What is factory pattern in php?
How do you check if a variable has been set in php?
What are php magic methods?
How to find current date and time?
What is the purpose of the '.myd' file extension? What do thes file contain?
How to read a file in binary mode?
What is $_ get and $_ post in php?
Explain how you can update memcached when you make changes to php?
How to parse configuration file in php?
Explain how can we execute a php script using command line?
Is it possible multiple inheritance in php?
Why and where do we use htaccess?