Joshua Levitsky wrote:
On Jan 25, 2005, at 1:35 AM, Jonathan L Vigh wrote:
the images are missing
Broken images are usually the result of not nulling out the Magic MIME thing... This is from my site... basically just make it so it is "MIMEMagicFile /dev/null" instead of pointing to a file.
The next step is to edit the * /etc/httpd/conf/httpd.conf *and set *AllowOverride* to *All* which is set to *AllowOverride* *None* as default. I found that it is six statements that need changing. You need to be logged on as root to do this. We also need to add *MIMEMagicFile /dev/null* to *httpd.conf*. If you do not do this you will see no Icons on the Front page Server admin pages.
* # sed --in-place=-orig \ -e 's/AllowOverride None/AllowOverride All/g' \ -e 's,MIMEMagicFile conf/magic,MIMEMagicFile /dev/null,g' \ /etc/httpd/conf/httpd.conf*
Unfortunately (or fortunately) I'm not having this trouble right now. It seems to happen occasionally with new setups of apache and fpse. I've never messed with the MIMEMagicFile settings, but I'll keep this trick handy the next time I have this problem to try it out.
Do you know offhand if this module works by reading the file on disk, and not by viewing a stream? I'm guessing it reads from the disk which is why I need the .exe type over rides. The stream would require a buffer of X bytes to allow checking and then pre-pending/modifying the type header.
My config: ... Include /etc/apache/modules.conf ... <IfModule mod_mime_magic.c> MIMEMagicFile /usr/share/misc/file/magic.mime </IfModule> ...
My modules.conf: ... LoadModule mime_magic_module /usr/lib/apache/1.3/mod_mime_magic.so LoadModule mime_module /usr/lib/apache/1.3/mod_mime.so ...
-- Jacob _______________________________________________ Apache-FP mailing list Apache-FP@lists.joshie.com http://lists.joshie.com/mailman/listinfo/apache-fp
Donations:
http://www.amazon.com/paypage/PT5LZITM9L227