Jump to content

Recommended Posts

Posted

I'll start with the reason, just because I like the look rather than trying to hide which server side language I am using.

 

I have seen one or two sites that do this and have looked around the internet on ways to do it, other than creating a folder for every file. With a site that is only 25 or so pages that wouldn't be a big problem.

 

It boils down to using either .htaccess and mod_rewrite, which from what I see just directs one url to another or to this code that I found:

 

ForceType application/x-httpd-php

 

All files are saved without the .php extension (DW loves you doing this!)

It works in localhost and works with IE7, but not with Firefox.

In Firefox a window opens to say you have chose to open "file2 which is a: application/x-httpd-php What shoud Firefox do with this file?

 

Any thoughts on this would be appreciated.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...