Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

apache upgrade not working. please help

Status
Not open for further replies.

kenhead2002

Programmer
Jun 3, 2002
108
US
i just upgraded and now the new version doesnt seem to like my conf. could you please look it over and tell me whats wrong? Thanks in advance!



ServerRoot "C:/Program Files/Apache Group/Apache2"


PidFile logs/httpd.pid


Timeout 300


KeepAlive On


MaxKeepAliveRequests 100


KeepAliveTimeout 15


<IfModule mpm_winnt.c>
ThreadsPerChild 250
MaxRequestsPerChild 0
</IfModule>


Listen 65.32.226.236:80


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_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 negotiation_module modules/mod_negotiation.so

LoadModule setenvif_module modules/mod_setenvif.so

LoadModule userdir_module modules/mod_userdir.so


ServerAdmin kknapp@tampabay.rr.com


ServerName

UseCanonicalName Off


DocumentRoot &quot;C:\

<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>


<Directory &quot;C:/

Options Indexes FollowSymLinks




Order allow,deny
Allow from all

</Directory>


UserDir &quot;My Documents/My Website&quot;


DirectoryIndex index.html index.html.var


AccessFileName .htaccess


<Files ~ &quot;^\.ht&quot;>
Order allow,deny
Deny from all
</Files>


TypesConfig conf/mime.types


DefaultType text/plain


<IfModule mod_mime_magic.c>
MIMEMagicFile conf/magic
</IfModule>


HostnameLookups Off




ErrorLog logs/error.log


LogLevel warn



LogFormat &quot;%h %l %u %t \&quot;%r\&quot; %>s %b \&quot;%{Referer}i\&quot; \&quot;%{User-Agent}i\&quot;&quot; combined
LogFormat &quot;%h %l %u %t \&quot;%r\&quot; %>s %b&quot; common
LogFormat &quot;%{Referer}i -> %U&quot; referer
LogFormat &quot;%{User-agent}i&quot; agent



CustomLog logs/access.log common



ServerTokens Full


ServerSignature On


Alias /icons/ &quot;C:/Program Files/Apache Group/Apache2/icons/&quot;

<Directory &quot;C:/Program Files/Apache Group/Apache2/icons&quot;>
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>


Alias /manual &quot;C:/Program Files/Apache Group/Apache2/manual&quot;

<Directory &quot;C:/Program Files/Apache Group/Apache2/manual&quot;>
Options Indexes FollowSymLinks MultiViews IncludesNoExec
AddOutputFilter Includes html
AllowOverride None
Order allow,deny
Allow from all
</Directory>


ScriptAlias /cgi-bin/ &quot;C:/Program Files/Apache Group/Apache2/cgi-bin/&quot;


<Directory &quot;C:/Program Files/Apache Group/Apache2/cgi-bin&quot;>
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>


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
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 .??* *~ *# HEADER* README* RCS CVS *,v *,t


AddEncoding x-compress Z
AddEncoding x-gzip gz tgz


AddLanguage da .dk
AddLanguage nl .nl
AddLanguage en .en
AddLanguage et .et
AddLanguage fr .fr
AddLanguage de .de
AddLanguage he .he
AddLanguage el .el
AddLanguage it .it
AddLanguage ja .ja
AddLanguage pl .po
AddLanguage ko .ko
AddLanguage pt .pt
AddLanguage nn .nn
AddLanguage no .no
AddLanguage pt-br .pt-br
AddLanguage ltz .ltz
AddLanguage ca .ca
AddLanguage es .es
AddLanguage sv .sv
AddLanguage cs .cz .cs
AddLanguage ru .ru
AddLanguage zh-TW .zh-tw
AddLanguage hr .hr


LanguagePriority en da nl et fr de el it ja ko no pl pt pt-br ltz ca es sv tw


ForceLanguagePriority Prefer Fallback


AddDefaultCharset ISO-8859-1


AddCharset ISO-8859-1 .iso8859-1 .latin1
AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen
AddCharset ISO-8859-3 .iso8859-3 .latin3
AddCharset ISO-8859-4 .iso8859-4 .latin4
AddCharset ISO-8859-5 .iso8859-5 .latin5 .cyr .iso-ru
AddCharset ISO-8859-6 .iso8859-6 .latin6 .arb
AddCharset ISO-8859-7 .iso8859-7 .latin7 .grk
AddCharset ISO-8859-8 .iso8859-8 .latin8 .heb
AddCharset ISO-8859-9 .iso8859-9 .latin9 .trk
AddCharset ISO-2022-JP .iso2022-jp .jis
AddCharset ISO-2022-KR .iso2022-kr .kis
AddCharset ISO-2022-CN .iso2022-cn .cis
AddCharset Big5 .Big5 .big5

AddCharset WINDOWS-1251 .cp-1251 .win-1251
AddCharset CP866 .cp866
AddCharset KOI8-r .koi8-r .koi8-ru
AddCharset KOI8-ru .koi8-uk .ua
AddCharset ISO-10646-UCS-2 .ucs2
AddCharset ISO-10646-UCS-4 .ucs4
AddCharset UTF-8 .utf8


AddCharset GB2312 .gb2312 .gb
AddCharset utf-7 .utf7
AddCharset utf-8 .utf8
AddCharset big5 .big5 .b5
AddCharset EUC-TW .euc-tw
AddCharset EUC-JP .euc-jp
AddCharset EUC-KR .euc-kr
AddCharset shift_jis .sjis


AddType application/x-tar .tgz
AddType image/x-icon .ico




AddHandler type-map var





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


BrowserMatch &quot;Microsoft Data Access Internet Publishing Provider&quot; redirect-carefully
BrowserMatch &quot;^WebDrive&quot; redirect-carefully
BrowserMatch &quot;^WebDAVFS/1.[012]&quot; redirect-carefully
BrowserMatch &quot;^gnome-vfs&quot; redirect-carefully



<IfModule mod_ssl.c>
Include conf/ssl.conf
</IfModule>



NameVirtualHost *

<VirtualHost *:80>

UseCanonicalName off

ServerName
ServerAlias crackerentertainment.com

ServerAdmin kknapp@tampabay.rr.com.com

DocumentRoot c:/
ScriptAlias /cgi-bin/ &quot;c:/
ErrorLog logs/crackerentertainment.com/error.log
CustomLog logs/crackerentertainment.com/access.log common
CustomLog logs/crackerentertainment.com/referer.log referer
CustomLog logs/crackerentertainment.com/agent.log agent

ServerSignature EMail

</VirtualHost>




<VirtualHost *:80>

UseCanonicalName off

ServerName
ServerAlias hleonegraphics.com

ServerAdmin heather@hleonegraphics.com

DocumentRoot c:\
ScriptAlias /cgi-bin/ &quot;c:/
ErrorLog logs/hleonegraphics.com/error.log
CustomLog logs/hleonegraphics.com/access.log common
CustomLog logs/hleonegraphics.com/referer.log referer
CustomLog logs/hleonegraphics.com/agent.log agent

ServerSignature EMail

</VirtualHost>
 
I am completely baffled as well. I never had problems like this with the older version. but to answer your questions.. my original version was run as a service. I installed the new version on a freshly installed version of xp so theres no older version it could possible be pulling from. there is only 1 instance of apache running. i installed apache using the msi.there were no old files to delete after the format.It is pull from the right conf, i can make it so that it works or doesnt work but i can make it pull from my document root which is c:/www. I have heard that v2 of apache is configured differently but i can't find anything in the help files that backs this up so i just don't know. i am almost ready to give up on v2 and reconfigure v1.whatever it was.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top