PDA

View Full Version : Windows & .htaccess


matt7405
10-20-06, 10:31 AM
Hi,

Im looking to add a new file extension to my windows web server. Its Apache with PHP4. I tried a couple of things. First I added the .htaccess file with the following in:

<Files directory.view>
SetHandler application/x-httpd-php
</Files>

I uploaded directory.view and when I tried to view it in a browser it gave me a 404. The file was definatly there as i renamed it to directory.php and it worked....

I also tried adding .view to the

AddType application/x-httpd-php .php

lines. And the same 404 happened.

Any ideas?