Solved

PHP, Apache, Quicktime or OSX?

Posted on 2003-11-04
4
359 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
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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

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…
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

919 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now