Thanks Joshua for the hints. The images had their security context set wrong. Still not sure what the problem was with my index.html, but after rebooting my server this morning it works normally. Just to be sure I checked the HTTP response headers and content type was text/html as expected. Thanks again for your help. Rick On 11/29/06, Joshua Slive <joshua@xxxxxxxx> wrote:
On 11/29/06, Rick Havlak <reekus9@xxxxxxxxx> wrote: > I'm trying to configure Apache 2.2.2 on Fedora Core 5. I've been > getting unexpected behavior for HTML files and images (.jpg and .gif) > when viewed in Mozilla 1.5.0.1. I'm connected on static IP to a > netgear Router > > First symptom I'm experiencing is that HTML files bring up a dialog > asking whether to download or save. In MSIE they display normally > (with the exception of symptom 3 noted below). From what I have read, > this is usually an indication that my server is not sending correct > content types (since MSIE ignores content types anyway), but I have > checked my mime.types file and it includes the line: > text/html html htm > which I believe to be correct. I'm not using any .htaccess files. > I've checked my httpd.conf which does have the right path for > mime.types. You likely have some directive somewhere in your config files changing the content type. You can verify that by looking at the HTTP response headers for the file in question. (Tools for doing that: http://www.google.com/search?q=http+response+headers ) > > Symptom number two is that both .gif and .jpg images consistently > display a 403 Forbidden error, which shows up in the error log as > "(13)Permission denied: access to /paradise.jpg denied" . The > permissions for paradise.jpg in this case are set the same as for a > text file in the same directory which displays normally (read > permissions allowed to everyone). The entries in mime.types for .gif > and .jpg also appear to be normal. Probably an SELinux config issue: http://wiki.apache.org/httpd/Errors/13PermissionDenied Joshua. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx