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
How many escape sequences are recognized in double-quoted strings in php?
How to create a session? How to set a value in session? How to remove data from a session?
Does php have block scope?
Why do we use query?
What is the scope of a variable defined in a function?
What is the use of namespace in php?
What is the delimiter default in PHP?
What does explode do in php?
Why is php used for web development?
Explain array_uintersect()?
Tell us how can we display the output directly to the browser?
What is the meaning of php?
How many functions are there in php?
What is the correct and the most two common way to start and finish a php block of code?
How do you remove duplicates from an array?