logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache as image server.
Author
hydn79



Joined: 28 Apr 2007
Posts: 19

PostPosted: Fri 19 Dec '08 2:28    Post subject: Apache as image server. Reply with quote

lighttp keeps crashing so switched to Apache as image server. Noticeably faster although many claimed it isn't.

Question: What are the mandatory modules to load for an Apache image server, no scripts whatsoever?

Here's what I have loaded:
Code:
LoadModule asis_module modules/mod_asis.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule dir_module modules/mod_dir.so
LoadModule expires_module modules/mod_expires.so
LoadModule mime_module modules/mod_mime.so
LoadModule negotiation_module modules/mod_negotiation.so


Next:
Trying to cache images. Is this correct?

Code:
<Directory "E:/www/htdocs">
    Options Indexes -FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
    ExpiresDefault A2592000
    <FilesMatch "\.(gif|jpg|png)$">
    </FilesMatch>
</Directory>


Lastly here what my header response looks like for an image:
Code:
 Server Response: 200 OK
    Date: Fri, 19 Dec 2008 00:25:31 GMT
    Server: Apache/2.2.11 (Win32)
    Last-Modified: Thu, 18 Dec 2008 09:10:20 GMT
    ETag: "xxxx"
    Accept-Ranges: bytes
    Content-Length: 1015
    Cache-Control: max-age=2592000
    Expires: Sun, 18 Jan 2009 00:25:31 GMT
    Keep-Alive: timeout=5, max=100
    Connection: Keep-Alive
    Content-Type: image/gif


Thanks for any help given
Back to top


Reply to topic   Topic: Apache as image server. View previous topic :: View next topic
Post new topic   Forum Index -> Apache