- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- apache -- plz help
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2005 07:16 AM
09-25-2005 07:16 AM
if someone provide the "FILENAME.HTML" instead of "filename.html" in the url, apache says "Not Found" i.e eg if i type "http://127.0.0.1/java.html" i will recieve a proper page, but if i type "http://127.0.0.1/JAVA.html" apache says:
Not Found
The requested URL /JAVA.html was not found on this server.
Apache/2.0.52 (Red Hat) Server at 127.0.0.1 Port 80
plz help me to configure the apache, so that apache serves the page, and ignore the case-sensitivity.
plz help me
Regards
Maaz
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2005 09:07 AM
09-25-2005 09:07 AM
Re: apache -- plz help
You can get around this by creating soft links in the directory from the all caps name to the correct name.
Unix is case sensitive. Unix is not windows.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2005 12:50 PM
09-25-2005 12:50 PM
Re: apache -- plz help
Create two files java.html and JAVA.html but with different contents. Then try http://127.0.0.1/java.html and http://127.0.0.1/JAVA.HTML
then you will have a better idea that Unix sees java.html and JAVA.html as two different files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2005 05:24 PM
09-25-2005 05:24 PM
Re: apache -- plz help
from
http://httpd.apache.org/docs/2.0/en/mod/mod_speling.html
Apache Module mod_speling
Description: Attempts to correct mistaken URLs that users might have entered by ignoring capitalization and by allowing up to one misspelling
Summary
Requests to documents sometimes cannot be served by the core apache server because the request was misspelled or miscapitalized. This module addresses this problem by trying to find a matching document, even after all other modules gave up. It does its work by comparing each document name in the requested directory against the requested document name without regard to case, and allowing up to one misspelling (character insertion / omission / transposition or wrong character). A list is built with all document names which were matched using this strategy.
If, after scanning the directory,
.no matching document was found, Apache will proceed as usual and return a "document not found" error.
.only one document is found that "almost" matches the request, then it is returned in the form of a redirection response.
.more than one document with a close match was found, then the list of the matches is returned to the client, and the client can select the correct candidate.
I found this(mod_speling) module in my httpd.conf file, but when i intentionally provide /javaa.html instead of /java.html in the url apache says "NOT FOUND". What I understand is that this module is responsible for mispeling, wrong character and capitalization issues.
Eagerly awaiting for the help
Regards
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2005 06:24 PM
09-25-2005 06:24 PM
Re: apache -- plz help
You can edit # ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
to make your setting.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2005 07:17 PM
09-25-2005 07:17 PM
Re: apache -- plz help
Will try to find it out for you tonight.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2005 04:24 AM
09-26-2005 04:24 AM
Re: apache -- plz help
http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html
RewriteEngine on
RewriteBase /
RewriteMap insensitive tolower:
RewriteRule ^[\/]*(.*)$ /${insensitive:$1} [R,L]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2005 06:08 AM
09-26-2005 06:08 AM
Re: apache -- plz help
Dear njia, Thanks for the favor.
Dear Ivan Ferreira where should i put these lines into my .conf file ?
Second Dear Gurus not just i want apache to ignore capitals, but i want that if someone writes a /javaa.html instead of /java.html, apache will serve the right page, i.e /java.html.
Apache Module mod_speling
Description: Attempts to correct mistaken URLs that users might have entered by ignoring capitalization and by allowing up to one ******MISSPELLING****
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2005 07:35 AM
09-26-2005 07:35 AM
SolutionCheckSpelling on
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2005 12:04 PM
09-26-2005 12:04 PM
Re: apache -- plz help
Try Ivan's suggestion, that is what worked for me as well
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2005 06:20 AM
09-27-2005 06:20 AM
Re: apache -- plz help
Thanks Dear njia
Thanks Every1
Regards
Maaz