?
Solved

PHP, Apache, Quicktime or OSX?

Posted on 2003-11-04
4
Medium Priority
?
366 Views
Last Modified: 2012-06-27
Not sure where the problem lies here.

Cast of characters:
OSX Server 10.2.8
PHP 4.3.3
Apache 1.3.28
QuickTime 6.4

The website developed in PHP has been uploaded to the server in the default location suggested by the Admin Guide. When trying to open any QuickTime movie on the site, I'm not able to open it. The code is fine on the page. But even when I do a file listing and click on the MOV file to play on it's own without the interference of the web page it might be on, I get internal server error or misconfiguration error. When I right click the file to download to disk, I get unable to load file. It seems that I should at least be able to download the file. I've checked the permissions on the folder. They're all good. MIME settings, all good. Created a new HTML file with a new MOV, nothing. Internal Server Error  is the specific error message. The most confusing for me, however, is the fact that I can't view the movie from a file listing in the browser. I figure once I get that sorted out, everything else will fall into place.

Anyway, I'm pretty lost on the issue if someone wants to throw any ideas my way, I'd be grateful.

Thanks,

Kim
0
Comment
Question by:ileotech
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 

Accepted Solution

by:
ileotech earned 0 total points
ID: 9683217
I got it, thought I don't understand why it works.

At the bottom of the httpd.conf file, I entered

AddType video/quicktime .mov

and it started working.

I had tried it earlier in the day without the dot before mov and it didn't work.

What I don't understand is that in Server Settings>Configure Web Services>MIME Types, mov is listed as a MIME type with video/quicktime as a web server response. A dot before that was not an option. I already tried adding it in and OSX told me to take a hike. In the mime_macosxserver.types file lives the line:

AddType video/quicktime mov

How does adding that line (with the dot before mov) in httpd.conf differ from what's already there?
0
 
LVL 33

Expert Comment

by:shalomc
ID: 9699971
Kim,
Apache does not rely on the OS definitions and file type associations.
Defining a file type in OSX is not enough - you have to add it to httpd.conf for Apache.


0

Featured Post

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question