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 button in html?
How to write comment in php?
What is the best way to change the key without changing the value of a php array element?
Define anonymous classes in php7?
Explain about objects in PHP?
Explain mail function in PHP with syntax?
What is the use of nl2br() in php?
What are properties in php?
Explain some of the php array functions?
Explain how to submit form without a submit button.
What is php dependency injection?
What's the difference between accessing a class method via -> and via ::?
What is the role of php.ini file?
What are hooks in php?
How to specify argument default values?