LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-14-2010, 11:35 AM   #1
moiseszaragoza
Member
 
Registered: Jul 2010
Posts: 37

Rep: Reputation: 15
case sensitive directory


i am trying to set up a couple of pages in some special directories
http://www.site.com/promo1

but i need it that if they type

http://www.site.com/Promo1 for them also to go to the site and not to a 404
 
Old 12-14-2010, 11:51 AM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
If you're using an apache server, you should be able to enable mod_spelling with CheckSpelling on in the apache config file. That should take care of any case issues, even PROMO1.

Or if you're just worried about Promo1, you could create a symlink from Promo1 to promo1.
 
Old 12-14-2010, 11:53 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,916

Rep: Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689
Quote:
Originally Posted by moiseszaragoza View Post
i am trying to set up a couple of pages in some special directories
http://www.site.com/promo1

but i need it that if they type

http://www.site.com/Promo1 for them also to go to the site and not to a 404
If you checked the Apache documentation, you'd find the answer:
http://httpd.apache.org/docs/1.3/mod/mod_speling.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache 2.x case-sensitive jarias Linux - Newbie 2 05-15-2009 06:11 PM
Copying files from case-sensitive Linux to case-insensitive Windows via CIFS? SlowCoder Linux - General 4 05-07-2008 08:03 PM
Why is linux case sensitive? Jestrik Linux - General 9 12-16-2003 08:05 AM
case sensitive groupadd? sysmaster Linux - General 0 07-28-2003 05:53 AM
case-sensitive issue david_wliu Linux - General 4 03-06-2003 11:46 PM


All times are GMT -5. The time now is 01:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration