Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Server Admin - Apache aliases and cases



> Whoa -
>
> Just discovered that when you create an apache alias in Server Admin
> | Web | Sites | Settings | Aliases, then hit Save, it gets converted
> to   lowercase regardless what case letters you type or paste in. So /
> Library/WebServer/Documents... becomes /library/webserver/
> documents... The result is that some aliases return 403 Forbidden
> errors to the browser. Editing the site's config file manually and
> restarting apache leaves the case intact, and the alias works fine.
>
> Here's the punchline: Not only does Server Admin change the case of
> the alias you're currently creating, but it lowercases ALL aliases in
> ALL config files in /etc/httpd/sites/* .  So the fact that I created
> an alias on one site last  night resulted in the webmaster of another
> site running off my server being woken up at 5am to hear  that his
> site was broken.
>
> I don't recall this happening before - is this a new bug in 10.4.6 or
> 10.4.7 (or did I just never hit a problem with this before)? For now
> I'm going to steer clear of Server Admin for  this task and just
> create them manually when needed.
>
> What I don't understand is why this should  break sites - isn't  HFS+
> case-respecting but case-insensitive? Is  case sensitivity a separate
> apache option somewhere?

It's always been like this in 10.4 AFAIK. You can turn off the HFS module
if you want Apache to ignore case on Mac OS X Server.

Josh
www.afp548.com

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden

References: 
 >Server Admin - Apache aliases and cases (From: Scot Hacker <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.