You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Daniel Guido <in...@speakeasy.net> on 2004/03/18 06:47:08 UTC
[users@httpd] very slow load times
i'm running a little bit of an eccentric system. im going to risk it
and post my server's address. www.guidonet.ws
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 guidonet.ws only really contains two lines:
guidonet.ws -> 66.93.191.222
*.guidonet.ws -> 66.93.191.222
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/httpd.pid
Timeout 60
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
<IfModule mpm_winnt.c>
ThreadsPerChild 250
MaxRequestsPerChild 0
</IfModule>
LoadModule access_module modules/mod_access.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule auth_module modules/mod_auth.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule dir_module modules/mod_dir.so
LoadModule env_module modules/mod_env.so
LoadModule imap_module modules/mod_imap.so
LoadModule include_module modules/mod_include.so
LoadModule isapi_module modules/mod_isapi.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule mime_module modules/mod_mime.so
LoadModule php4_module "C:/php/sapi/php4apache2.dll"
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule rewrite_module modules/mod_rewrite.so
#LoadModule security_module modules/mod_security.dll
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
Listen 80
ServerName guidonet.ws
ServerAdmin infiniteedge@speakeasy.net
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
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
</Directory>
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
</Directory>
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
</LimitExcept>
</Directory>
<Directory "C:/Apache2/users/jason/">
Order allow,deny
Allow from all
Deny from 24.184.184.152
AllowOverride All
Options ExecCGI
</Directory>
VirtualScriptAlias "C:/Apache2/users/%1/cgi-bin/"
<Directory /cgi-bin/>
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
<Directory "C:/Apache2/users/www">
Options FollowSymLinks
</Directory>
DirectoryIndex index.html index.htm index.php index.shtml main.html main.htm
</VirtualHost>
#--------------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:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org