close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Question about forcing lowercase filenames

Thread began 9/21/2009 8:18 am by larsentim278054 | Last modified 9/22/2009 12:15 pm by Dani Chankhour | 3340 views | 3 replies |

larsentim278054

Question about forcing lowercase filenames

I have a couple questions regarding the use of uppercase filenames with your products. Is there any particular reason? For example the images folder is Images, not images? On a unix server, this will not work if using the wrong case (upper or lowercase)...

Anyhow - I decided that to prevent people from typing in the wrong uppercase or lowercase URLS - I was going to switch all the uppercase urls to lowercase, and then in with apache and the .htaccess file - have it force all the urls to use only lowercase. I unfortunately lost the code snippet that allows me to do this. Do you know how to do this? I know you can do it with the help of editing the HTTP CONF file, but I don't have access to that file - I'm on a shared server and they don't allow it. So I would need to do this only with htaccess. I know it's possible, because I've done it before, but I just can't find the code that I used before. Something to do with rewriting [A-Z] to [a-z] but I can't remember the exact syntax.

Anyone know?

Thanks!

Sign in to reply to this post

Dani Chankhour

There is no reason why we are using uppercase in the file names or folder names. I think it is good practice to always use lowercase.

In regard to your question, please see this link:

force-lower-case-urls-with-mod_rewrite/

Sign in to reply to this post

larsentim278054

Unfortunately, that only works if you have httpd conf file access which I do not. Is there another way of doing this?

Originally Said By: Dani Chankhour
  There is no reason why we are using uppercase in the file names or folder names. I think it is good practice to always use lowercase.

In regard to your question, please see this link:

force-lower-case-urls-with-mod_rewrite/  
Sign in to reply to this post

Dani Chankhour

OK, I found this link that explains how to do it using .htaccess.

index.cgi?area=1153

Look at the fifth post.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...