| 
 
 
 | 
| Keep Server Online 
 If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
 
 or
 
 
   
 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.
 |  | 
 | 
| | 
| | 
|  Topic: Any issues with this config. |  |  
| Author |  |  
| hydn79 
 
 
 Joined: 28 Apr 2007
 Posts: 19
 
 
 | 
|  Posted: Thu 08 Jan '09 16:24    Post subject: Any issues with this config. |   |  
| 
 |  
| This is my current final config for image, js and css server. Any bad, unnecessy config?: 
 
 
  	  | Code: |  	  | ServerRoot "D:/www" DocumentRoot "D:/www/htdocs"
 Listen 80
 HostnameLookups off
 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 never_expire_module modules/mod_never_expire.so
 LoadModule deflate_module modules/mod_deflate.so
 LoadModule cache_module modules/mod_cache.so
 LoadModule disk_cache_module modules/mod_disk_cache.so
 LoadModule headers_module modules/mod_headers.so
 LoadModule mime_module modules/mod_mime.so
 
 <IfModule !mpm_netware_module>
 <IfModule !mpm_winnt_module>
 User daemon
 Group daemon
 </IfModule>
 </IfModule>
 
 ServerAdmin info@xxxx.com
 ServerName images.xxxx.com:80
 
 <Directory "D:/www/htdocs/">
 AddOutputFilterByType DEFLATE application/javascript text/css
 NeverExpire on
 Options Indexes -FollowSymLinks
 AllowOverride None
 Order allow,deny
 Allow from all
 </Directory>
 
 Header unset ETag
 FileETag None
 
 <FilesMatch "\\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css)$">
 Header unset Last-Modified
 Header set Cache-Control "max-age=290304000, public"
 </FilesMatch>
 
 <IfModule dir_module>
 DirectoryIndex index.html index.php
 </IfModule>
 
 <FilesMatch "^\.ht">
 Order allow,deny
 Deny from all
 Satisfy All
 </FilesMatch>
 
 ErrorLog "logs/error.log"
 LogLevel warn
 
 DefaultType text/plain
 <IfModule mime_module>
 TypesConfig conf/mime.types
 AddType application/x-compress .Z
 AddType application/x-gzip .gz .tgz
 </IfModule>
 
 | 
 
 Feedback appreciated. Very new to Apache
 |  |  
| Back to top |  |  
| James Blond Moderator
 
  
 Joined: 19 Jan 2006
 Posts: 7442
 Location: EU, Germany, Next to Hamburg
 
 | 
|  Posted: Mon 12 Jan '09 16:46    Post subject: |   |  
| 
 |  
|  	  | Code: |  	  | LoadModule asis_module modules/mod_asis.so
 
 <IfModule !mpm_netware_module>
 <IfModule !mpm_winnt_module>
 User daemon
 Group daemon
 </IfModule>
 </IfModule>
 
 | 
 
 
 is not needed
 |  |  
| Back to top |  |  
 
 | 
 |  | 
 |  |