bartop


dot pictureservices picturedot picturesupport picture
dot picturecontact picturedot pictureabout picture
dot picturehome picture

header

Navigation

Home
About BIGSEA
Support
Contact
Services
Clients
Rev9
Links
Radio-Dadio


Discussion

Today's Discussion
Create New Topic
List by Topic


Search BIGSEA

Atomz Search:


Advanced Atomz



    Thursday, April 20, 2006

Serve Files Without Extensions on Signature Accounts


Here's a quick how-to: To serve html files without file extensions, use a .htaccess file in the root directory that looks like this:

DirectoryIndex index index.html index.htm index.php
<FilesMatch "^[^.]*$">
SetHandler server-parsed
ForceType text/html
</FilesMatch>

Because we cannot make changes to the Apache server configuration file, .htaccess is the way to go. For some reason, I had trouble getting this to work the first time - I think my browser cache was interfering - but after I deleted the .htaccess file, and created a new one, it worked.

Why would you want to do this? Manila has some rendering bugs that cause some urls to be incorrectly written if you are adding a file extension at render time. Also, using files without extensions adds the possibility of developing in a different environment without having to change the file names. Plus, it's just cool.

Posted by Scott Girard on 4/20/06; 3:53:14 PM from the News dept.

Comment [0]  Trackback [0] #   

 
April 2006
Sun Mon Tue Wed Thu Fri Sat
  1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30  
Nov   May



BIGSEA
A metaphor. A philosophy. A way of doing business.

Copyright 1997-2006 - Last update: Friday, May 5, 2006 at 11:55:27 PM