Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Images from a site not being served

I did a clean install of Snow Leopard Server last night.

Then I moved my Web Server files onto the new server.

The server hosts five domains.

On one of the domains certain images (but not all) are not being served out.

Safari activity simply states "bad request".

Right-clicking on a missing image to open the missing image in a new window results in an Error 400: Unimplemented method.

On the server, in the Finder, the images are there, and they open in preview. Privileges are OK (Everybody Read Only).

Any ideas?

MacBook Pro 17, Mac OS X (10.6.1)

Posted on Oct 19, 2009 9:17 PM

Reply
19 replies

Dec 1, 2009 3:49 PM in response to TK321

Had this problem and could only find this page to help. My solution is...

Go to the server admin, go to the web section and select the sites tab. Click the appropriate (or in my case only site in the list, which had no host name) site. In the section below click 'Web Services' and untick Wikis (I also unticked blogs). Save the settings, restart the server and you should be able to access those folders no problem now!

Hope that helps. If you want to use the wiki though, this obviously will be no good.

Regards,

Leonard
AtomWorks.co.uk - Web Design and Development

Dec 28, 2009 8:09 PM in response to TK321

I do confirm that the wiki is the problem; Turning the wiki of will fix it. I can add to this that you can still run a wiki at an other site. for example www.mysite.com has the issue with a file /Library/WebServer/Documents/media/something... You can still have a site wiki.mysite.com

I adding a couple tags so that the folks running joomla can find this error as well. Joomla 1.5 gets stuck in "Database Configuration " step as the "next" button becomes unresponsive.( Joomla 1.6 alpha has the same problem with the first installation screen.) The apache logs reports: "GET /media/system/js/mootools.js HTTP/1.1" 400 2867 . In other words, it can find the mootools.js which is responsible for the button /menu behavior. I think this is /media issue. I'll file a bug.

Dec 29, 2009 12:11 AM in response to Ward Bouwman

I took a look through the apache config files on Snow Leopard server, and found that there are a bunch of top-level web "folders" (including /media, as well as /wikihelp, /settings, /webcal, etc) are used for the various web services. When you enable the services, it adds ProxyPass directives which effectively redirects (via a proxy) incoming queries for these "folders" to various other services running on the server. Specifically, when you enable Wikis or Blogs or Calendar services on a site, it adds (via an include) a ProxyPass directive so that any incoming request for /media/* will be redirected to http://127.0.0.1:8087/media/*, and whatever you may have in your media folder will be completely ignored.

If you want to see all of these "reserved" folders, use the command: "grep -R ProxyPass /etc/apache2" on your server. They're scattered through various config files, so it can be a little hard to tell which are active on which site (and why) without some experimentation.

Anyway, the net result is that Apple's web services use this "folder" name; if you want to use Apple's web services on that site, you'll need to use a folder name that doesn't conflict.

Images from a site not being served

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.