-=Bandito=-
Cadet 4th Year
- Registriert
- Nov. 2007
- Beiträge
- 110
Ich werde noch verrückt. Ich habe mir jetzt schon 3 komplett Pakete (apache, mysql, php) auf meinem Home-Rechner installiert und bei keinem erkennt der Apache die jpegs als jpegs. Sobald ich die Seite auf meinem Server (Debian) anzeigen lasse funktioniert alles, aber ich hab keine Lust bei jeder Änderung ein CheckIn im SVN zu machen, dann könnte man die Versionskontrolle auch ganz lassen.
Hier mal die relevanten configs:
http.conf:
mime.types:
magic
hier auch mal der accses log.
im error log steht garnichts
und hier nochmal ein Screen wie es dann im Browser aussieht:
oben ist der Tab und darunter die URL wie ich sie eingegeben habe
Wäre wirklich sehr Dankbar wenn mir hier jemand weiterhelfen könnte.
Greetz Bandito
Hier mal die relevanten configs:
http.conf:
Code:
...
LoadModule mime_module modules/mod_mime.so
LoadModule mime_magic_module modules/mod_mime_magic.so
...
<IfModule mime_module>
#
# TypesConfig points to the file containing the list of mappings from
# filename extension to MIME-type.
#
TypesConfig conf/mime.types
#
# AddType allows you to add to or override the MIME configuration
# file specified in TypesConfig for specific file types.
#
#AddType application/x-gzip .tgz
#
# AddEncoding allows you to have certain browsers uncompress
# information on the fly. Note: Not all browsers support this.
#
#AddEncoding x-compress .Z
#AddEncoding x-gzip .gz .tgz
#
# If the AddEncoding directives above are commented-out, then you
# probably should define those extensions to indicate media types:
#
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddType image/jpeg .jpeg .jpg .jpe
#
# AddHandler allows you to map certain file extensions to "handlers":
# actions unrelated to filetype. These can be either built into the server
# or added with the Action directive (see below)
#
# To use CGI scripts outside of ScriptAliased directories:
# (You will also need to add "ExecCGI" to the "Options" directive.)
#
AddHandler cgi-script .cgi
# For files that include their own HTTP headers:
#AddHandler send-as-is asis
# For server-parsed imagemap files:
#AddHandler imap-file map
# For type maps (negotiated resources):
#AddHandler type-map var
#
# Filters allow you to process content before it is sent to the client.
#
# To parse .shtml files for server-side includes (SSI):
# (You will also need to add "Includes" to the "Options" directive.)
#
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
</IfModule>
#
# The mod_mime_magic module allows the server to use various hints from the
# contents of the file itself to determine its type. The MIMEMagicFile
# directive tells the module where the hint definitions are located.
#
MIMEMagicFile conf/magic
...
mime.types:
Code:
...
chemical/x-xyz xyz
image/bmp bmp
image/cgm cgm
image/fits
image/g3fax g3
image/gif gif
image/ief ief
image/jp2
image/jpeg jpeg jpg jpe
image/jpm
image/jpx
image/naplps
image/png png
image/prs.btif btif
image/prs.pti
image/svg+xml svg svgz
image/t38
image/tiff tiff tif
image/tiff-fx
image/vnd.adobe.photoshop psd
image/vnd.cns.inf2
image/vnd.djvu djvu djv
image/vnd.dwg dwg
image/vnd.dxf dxf
image/vnd.fastbidsheet fbs
image/vnd.fpx fpx
image/vnd.fst fst
image/vnd.fujixerox.edmics-mmr mmr
image/vnd.fujixerox.edmics-rlc rlc
image/vnd.globalgraphics.pgb
image/vnd.microsoft.icon
image/vnd.mix
image/vnd.ms-modi mdi
image/vnd.net-fpx npx
image/vnd.sealed.png
image/vnd.sealedmedia.softseal.gif
image/vnd.sealedmedia.softseal.jpg
image/vnd.svf
image/vnd.wap.wbmp wbmp
image/vnd.xiff xif
image/x-cmu-raster ras
image/x-cmx cmx
image/x-icon ico
image/x-pcx pcx
image/x-pict pic pct
image/x-portable-anymap pnm
image/x-portable-bitmap pbm
image/x-portable-graymap pgm
image/x-portable-pixmap ppm
image/x-rgb rgb
image/x-xbitmap xbm
image/x-xpixmap xpm
image/x-xwindowdump xwd
message/cpim
...
magic
Code:
...
# GIF
0 string GIF image/gif
# JPEG images
0 beshort 0xffd8 image/jpeg
...
hier auch mal der accses log.
Code:
127.0.0.1 - - [28/Feb/2009:12:25:02 +0100] "GET /templates/images/ HTTP/1.1" 200 886
127.0.0.1 - - [28/Feb/2009:12:25:02 +0100] "GET /icons/blank.gif HTTP/1.1" 304 -
127.0.0.1 - - [28/Feb/2009:12:25:02 +0100] "GET /icons/back.gif HTTP/1.1" 304 -
127.0.0.1 - - [28/Feb/2009:12:25:02 +0100] "GET /icons/image2.gif HTTP/1.1" 304 -
127.0.0.1 - - [28/Feb/2009:12:25:04 +0100] "GET /templates/ HTTP/1.1" 200 853
127.0.0.1 - - [28/Feb/2009:12:25:06 +0100] "GET /templates/images/ HTTP/1.1" 200 886
und hier nochmal ein Screen wie es dann im Browser aussieht:
oben ist der Tab und darunter die URL wie ich sie eingegeben habe
Wäre wirklich sehr Dankbar wenn mir hier jemand weiterhelfen könnte.
Greetz Bandito