Solved

PHP, Apache, Quicktime or OSX?

Posted on 2003-11-04
4
358 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
Comment Utility
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 32

Expert Comment

by:shalomc
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

772 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

10 Experts available now in Live!

Get 1:1 Help Now