Force type not supported on the server.

Discussion in 'Apache' started by maya786, Nov 1, 2006.

Thread Status:
Not open for further replies.
  1. #1
    I am using this command on my hostgator server.

    
    
    <files mortgage>
    	ForceType application/x-httpd-php
    </files>
    
    
    HTML:
    This is my site hosted with hostgator http://www.mortgagebycounty.com/
    This url should work http://www.mortgagebycounty.com/mortgage/alabama/ as i have a forcetype directive in my .htaccess file as written in the code mentioned above.

    I am doing this so that i can treat a file name "mortgage" without any extension to be treated as php file.

    It works fine for me on other server. I am doing this for my client. So have to do it on his server.

    help please ...?
     
    maya786, Nov 1, 2006 IP
  2. maya786

    maya786 Peon

    Messages:
    85
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    hooray,

    Just managed to resolve the issue by changing the code to


    <files mortgage>  
             SetHandler application/x-httpd-php   
    </files> 
    HTML:
     
    maya786, Nov 1, 2006 IP
Thread Status:
Not open for further replies.