Hi,
I have managed to fix it by adding:
AddType application/x-httpd-php .asp
to the .htaccess file.
Now all .asp pages are parsed as PHP.
Thanks
Dan
Hi,
I have a link to a ASP file on my site.
But I want to redirect the .asp file to another .php file.
How can I do this using mod_rewrite?
I am running Linux and Apache, so at the moment when using mod_rewrite when I click on the .asp link the computer tries to download the file and not go to it.
But then again I do not want the machine to go to the .asp file but modrewrite straight to a php file.
I can change my Apache Handlers but I do not know what to set them to?
Any advice?
Hi,
I have managed to fix it by adding:
AddType application/x-httpd-php .asp
to the .htaccess file.
Now all .asp pages are parsed as PHP.
Thanks
Dan
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks