httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Guido <>
Subject [users@httpd] very slow load times - repost
Date Mon, 22 Mar 2004 05:02:01 GMT
i'm running a little bit of an eccentric system.  im going to risk it 
and post my server's address.

im running a virtual document root and using apache to interpret 
subdomains.  if you look on the webpage youll see what im talking about. 
   The DNS entry for only really contains two lines: ->
* ->

99% of the time, the resolution of these addresses is VERY slow and I 
can't figure out why.

some things I want to ask: I am running this server on windows xp prof. 
  Are there any windows specific optimizations or changes I forgot to 
make after installing apache?  is there any way I can speed up apache 
with options in its config file.  this isnt really a "hits" thing lol i 
hardly get any.  its just slow all the time.

would someone please be kind enough to make sure i did this correctly? 
:-)   I've been wondering myself for a long time now.

here's the config file.  i cleaned up a few parts but otherwise this is 
exactly whats actually running.
#--------------Start Config File--------------#

ServerRoot "C:/Apache2"
PidFile logs/
Timeout 60
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15

<IfModule mpm_winnt.c>
ThreadsPerChild 250
MaxRequestsPerChild 0

LoadModule access_module modules/
LoadModule actions_module modules/
LoadModule alias_module modules/
LoadModule asis_module modules/
LoadModule auth_digest_module modules/
LoadModule auth_module modules/
LoadModule autoindex_module modules/
LoadModule cgi_module modules/
LoadModule dir_module modules/
LoadModule env_module modules/
LoadModule imap_module modules/
LoadModule include_module modules/
LoadModule isapi_module modules/
LoadModule log_config_module modules/
LoadModule mime_module modules/
LoadModule php4_module "C:/php/sapi/php4apache2.dll"
LoadModule proxy_http_module modules/
LoadModule negotiation_module modules/
LoadModule rewrite_module modules/
#LoadModule security_module modules/mod_security.dll
LoadModule setenvif_module modules/
LoadModule userdir_module modules/
LoadModule vhost_alias_module modules/

Listen 80


<Directory />
     Options FollowSymLinks
     AllowOverride None

TypesConfig conf/mime.types
DefaultType text/plain

HostnameLookups Off

ErrorLog logs/error.log
LogLevel notice
LogFormat "%V: %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" 
\"%{User-Agent}i\"" combined
LogFormat "%V: %h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
CustomLog logs/access.log combined

ServerTokens ProductOnly
ServerSignature Off

IndexOptions FancyIndexing VersionSort

AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip

AddIconByType (TXT,/icons/text.gif) text/*
AddIconByType (IMG,/icons/image2.gif) image/*
AddIconByType (SND,/icons/sound2.gif) audio/*
AddIconByType (VID,/icons/movie.gif) video/*

AddIcon /icons/binary.gif .bin .exe
AddIcon /icons/binhex.gif .hqx
AddIcon /icons/tar.gif .tar
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /icons/a.gif .ps .ai .eps
AddIcon /icons/layout.gif .html .shtml .htm .pdf .php
AddIcon /icons/text.gif .txt
AddIcon /icons/c.gif .c
AddIcon /icons/p.gif .pl .py
AddIcon /icons/f.gif .for
AddIcon /icons/dvi.gif .dvi
AddIcon /icons/uuencoded.gif .uu
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /icons/tex.gif .tex
AddIcon /icons/bomb.gif core
AddIcon /icons/back.gif ..
AddIcon /icons/hand.right.gif README
AddIcon /icons/folder.gif ^^DIRECTORY^^
AddIcon /icons/blank.gif ^^BLANKICON^^
DefaultIcon /icons/unknown.gif

ReadmeName README.html
HeaderName HEADER.html
IndexIgnore .??* *~ *# RCS CVS *,v *,t HEADER.html README.html robots.txt

AddEncoding x-compress Z
AddEncoding x-gzip gz tgz

AddType application/x-httpd-php .php
AddType application/x-httpd-php .inc
AddType application/x-httpd-php .class
AddType application/x-httpd-php-source .phps

AddType application/x-tar .tgz
AddType image/x-icon .ico
AddType application/x-rar-compressed .rar
AddHandler cgi-script .cgi
AddHandler cgi-script .pl

AddDefaultCharset ISO-8859-1
AddCharset ISO-8859-1  .iso8859-1 .latin1

BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0

UseCanonicalName Off

Alias /icons/ "C:/Apache2/icons/"
<Directory "C:/Apache2/icons">
     Options Indexes MultiViews
     AllowOverride None
     Order allow,deny
     Allow from all

Alias /error/ "C:/Apache2/error/"
<Directory "C:/Apache2/error">
     AllowOverride None
     Options Indexes IncludesNoExec
     AddOutputFilter Includes html
     AddHandler type-map var
     AddLanguage en .en
     Order allow,deny
     Allow from all
     LanguagePriority en
     ForceLanguagePriority Prefer Fallback

NameVirtualHost *

<VirtualHost *>

VirtualDocumentRoot "C:/Apache2/users/%1"

<Directory "C:/Apache2/users">
     Options Indexes FollowSymLinks
     AllowOverride None
     Order allow,deny
     Allow from all
     Deny from None

     <LimitExcept GET POST>
         Order allow,deny
         deny from all


<Directory "C:/Apache2/users/jason/">
     Order allow,deny
     Allow from all
     Deny from
     AllowOverride All
     Options ExecCGI

VirtualScriptAlias "C:/Apache2/users/%1/cgi-bin/"
<Directory /cgi-bin/>
     AllowOverride None
     Options ExecCGI
     Order allow,deny
     Allow from all

<Directory "C:/Apache2/users/www">
     Options FollowSymLinks

DirectoryIndex index.html index.htm index.php index.shtml main.html main.htm


#--------------End Config File--------------#

thanks so much for the help!

Dan Guido

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message