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.
Which makes sense give the case nature of HFS filenames.
So /Library/WebServer/Documents... becomes
/library/webserver/documents... The result is that some aliases
return 403 Forbidden errors to the browser.
Which is why you have to be careful when crafting them.
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?
Yes but Apache and grep and pattern matching and everything unix isn't.
Hence Server Admin converts case. ;)
You're confusing a filesystem and its abilities with an application's
handling of names. The two aren't required to match, and here they
don't.
That is the expected behavior is to ignore case on file names, but
patterns or anything that does character matching which is not case
agnostic.
--
-dhan
------------------------------------------------------------------------
Dan Shoop AIM: iWiring
Systems & Networks Architect http://www.ustsvs.com/
email@hidden http://www.iwiring.net/
1-714-363-1174
"The wise man doesn't give the right answers, he poses the right
questions." -- Claude Levi-Strauss
iWiring provides systems and networks support for Mac OS X, unix, and
Open Source application technologies at affordable rates.
_______________________________________________
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