You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by ncool007 <nc...@optonline.net> on 2002/12/15 06:43:35 UTC
[users@httpd] virtual servers
can someone tell me what I'm doing wrong? No matter what webpage I try to
go to (say http://dan.guidonet.ws:1101) it always gives me a 404 and this
message in the logs: "File does not exist: C:/apache". I'm really stuck,
I've been wanting to convert to virtual servers for a long time but I can't
seem to get it right.
dan
Re: [users@httpd] virtual servers
Posted by ncool007 <nc...@optonline.net>.
and you spelled my domain wrong smarty pants.
At 01:01 PM 12/15/2002 -0500, you wrote:
>ay, thats cause i switched my configuration files around last night! i
>didn't want to leave it down! a problem exists somewhere in that config
>and i can't find it.
>
>At 02:04 AM 12/15/2002 -0500, you wrote:
>>aiming poorly. speling koountz.
>>
>>
>>you gave the address:
>>http://www.dan.guidonet.sw:1101
>>and I got not a 404, but a directory listing.
>>but this address DOES work:
>>http://dan.guidonet.ws:1101/html/
>>
>>We all do it.
>>
>>ncool007 wrote:
>>>can someone tell me what I'm doing wrong? No matter what webpage I try
>>>to go to (say http://dan.guidonet.ws:1101) it always gives me a 404 and
>>>this message in the logs: "File does not exist: C:/apache". I'm really
>>>stuck, I've been wanting to convert to virtual servers for a long time
>>>but I can't seem to get it right.
>>>dan
---------------------------------------------------------------------
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
Re: [users@httpd] virtual servers
Posted by ncool007 <nc...@optonline.net>.
ay, thats cause i switched my configuration files around last night! i
didn't want to leave it down! a problem exists somewhere in that config
and i can't find it.
At 02:04 AM 12/15/2002 -0500, you wrote:
>aiming poorly. speling koountz.
>
>
>you gave the address:
>http://www.dan.guidonet.sw:1101
>and I got not a 404, but a directory listing.
>but this address DOES work:
>http://dan.guidonet.ws:1101/html/
>
>We all do it.
>
>ncool007 wrote:
>>can someone tell me what I'm doing wrong? No matter what webpage I try
>>to go to (say http://dan.guidonet.ws:1101) it always gives me a 404 and
>>this message in the logs: "File does not exist: C:/apache". I'm really
>>stuck, I've been wanting to convert to virtual servers for a long time
>>but I can't seem to get it right.
>>dan
>>
>>------------------------------------------------------------------------
>>ServerRoot "C:/Apache2"
>>PidFile logs/httpd.pid
>>Timeout 300
>>KeepAlive On
>>MaxKeepAliveRequests 100
>>KeepAliveTimeout 15
>><IfModule mpm_winnt.c>
>>ThreadsPerChild 250
>>MaxRequestsPerChild 0
>></IfModule>
>>Listen 1101
>>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 proxy_module modules/mod_proxy.so
>>LoadModule proxy_connect_module modules/mod_proxy_connect.so
>>LoadModule proxy_http_module modules/mod_proxy_http.so
>>LoadModule negotiation_module modules/mod_negotiation.so
>>LoadModule setenvif_module modules/mod_setenvif.so
>>LoadModule userdir_module modules/mod_userdir.so
>>LoadModule vhost_alias_module modules/mod_vhost_alias.so
>>ServerAdmin guidon@optonline.net
>>UseCanonicalName Off
>><Directory />
>> Options FollowSymLinks
>> AllowOverride None
>></Directory>
>>TypesConfig conf/mime.types
>>DefaultType text/plain
>>HostnameLookups Off
>>ErrorLog logs/error.log
>>LogLevel info
>>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 common
>>ServerTokens Prod
>>ServerSignature Off
>>Alias /icons/ "C:/Apache2/icons/"
>><Directory "C:/Apache2/icons">
>> Options Indexes MultiViews
>> AllowOverride 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 .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
>>AddEncoding x-compress Z
>>AddEncoding x-gzip gz tgz
>>AddDefaultCharset ISO-8859-1
>>AddCharset ISO-8859-1 .iso8859-1 .latin1
>>AddType application/x-tar .tgz
>>AddType image/x-icon .ico
>>#AddType application/x-httpd-cgi .cgi
>>#AddType application/x-httpd-cgi .pl
>>AddHandler cgi-script .cgi
>>AddHandler cgi-script .pl
>>BrowserMatch "Mozilla/2" nokeepalive
>>ScriptAlias /php/ "c:/php/"
>>AddType application/x-httpd-php .php
>>Action application/x-httpd-php "/php/php.exe"
>>ServerName 24.46.53.136
>>
>>------------------------------------------------------------------------
>><VirtualHost 24.46.53.136>
>>ServerName www.guidonet.ws
>>VirtualDocumentRoot C:/Apache2/htdocs1/%1
>><Directory "C:/Apache2/htdocs1">
>> Options Indexes FollowSymLinks
>> AllowOverride None
>> Order allow,deny
>> Allow from all
>></Directory>
>><Directory "C:/Apache2/htdocs1/dan/html/politics">
>> <Files sheehan.html>
>> Order allow,deny
>> Allow from all
>> Deny from 167.206.57
>> AllowOverride None
>> </Files>
>> <Files rosaparks.html>
>> Order allow,deny
>> Allow from all
>> Deny from 167.206.57
>> AllowOverride None
>> </Files>
>></Directory>
>><Directory "C:/Apache2/htdocs1/dan/html/phpbb2">
>> Options none
>> AllowOverride None
>> Order allow,deny
>> Allow from all
>> Deny from 167.206.57
>></Directory>
>>VirtualScriptAlias C:/Apache2/htdocs1/%1/cgi-bin/
>><Directory /cgi-bin/>
>> AllowOverride None
>> Options ExecCGI
>> Order allow,deny
>> Allow from all
>></Directory>
>>DirectoryIndex index.html index.htm index.php index.shtml main.html
>>main.htm index.lf
>></VirtualHost>
>>
>>------------------------------------------------------------------------
>><VirtualHost 24.46.53.136>
>>ServerName www.infiniteedge.net
>>VirtualDocumentRoot C:/Apache2/htdocs2/%1
>><Directory "C:/Apache2/htdocs2">
>> Options Indexes FollowSymLinks
>> AllowOverride None
>> Order allow,deny
>> Allow from all
>></Directory>
>>VirtualScriptAlias C:/Apache2/htdocs2/%1/cgi-bin/
>><Directory /cgi-bin/>
>> AllowOverride None
>> Options ExecCGI
>> Order allow,deny
>> Allow from all
>></Directory>
>>DirectoryIndex index.html
>></VirtualHost>
>>
>>------------------------------------------------------------------------
>>include conf/common.conf
>>NameVirtualHost 24.46.53.136
>>include conf/guidonet.conf
>>include conf/infiniteedge.conf
>>
>>------------------------------------------------------------------------
>>---------------------------------------------------------------------
>>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
>
>
>--
>
>end
>
>Respectfully,
> Kirk D Bailey
>
>
>+---------------------"Thou Art Free." -Eris-----------------------+
>| http://www.howlermonkey.net mailto:highprimate@howlermonkey.net |
>| KILL spam dead! http://www.scambusters.org/stopspam/#Pledge |
>| http://www.tinylist.org +--------+ mailto:grumpy@tinylist.org |
>+------------------Thinking| NORMAL |Thinking----------------------+
> +--------+
>
>---------------------------------------------
>Introducing NetZero Long Distance
>1st month Free!
>Sign up today at: www.netzerolongdistance.com
>
>---------------------------------------------------------------------
>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
---------------------------------------------------------------------
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
Re: [users@httpd] virtual servers
Posted by Kirk Bailey <id...@netzero.net>.
aiming poorly. speling koountz.
you gave the address:
http://www.dan.guidonet.sw:1101
and I got not a 404, but a directory listing.
but this address DOES work:
http://dan.guidonet.ws:1101/html/
We all do it.
ncool007 wrote:
> can someone tell me what I'm doing wrong? No matter what webpage I try
> to go to (say http://dan.guidonet.ws:1101) it always gives me a 404 and
> this message in the logs: "File does not exist: C:/apache". I'm really
> stuck, I've been wanting to convert to virtual servers for a long time
> but I can't seem to get it right.
>
> dan
>
>
> ------------------------------------------------------------------------
>
> ServerRoot "C:/Apache2"
> PidFile logs/httpd.pid
> Timeout 300
> KeepAlive On
> MaxKeepAliveRequests 100
> KeepAliveTimeout 15
>
> <IfModule mpm_winnt.c>
> ThreadsPerChild 250
> MaxRequestsPerChild 0
> </IfModule>
>
> Listen 1101
>
> 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 proxy_module modules/mod_proxy.so
> LoadModule proxy_connect_module modules/mod_proxy_connect.so
> LoadModule proxy_http_module modules/mod_proxy_http.so
> LoadModule negotiation_module modules/mod_negotiation.so
> LoadModule setenvif_module modules/mod_setenvif.so
> LoadModule userdir_module modules/mod_userdir.so
> LoadModule vhost_alias_module modules/mod_vhost_alias.so
>
> ServerAdmin guidon@optonline.net
> UseCanonicalName Off
>
> <Directory />
> Options FollowSymLinks
> AllowOverride None
> </Directory>
>
> TypesConfig conf/mime.types
> DefaultType text/plain
>
> HostnameLookups Off
> ErrorLog logs/error.log
> LogLevel info
> 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 common
> ServerTokens Prod
> ServerSignature Off
>
> Alias /icons/ "C:/Apache2/icons/"
> <Directory "C:/Apache2/icons">
> Options Indexes MultiViews
> AllowOverride 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 .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
>
> AddEncoding x-compress Z
> AddEncoding x-gzip gz tgz
>
> AddDefaultCharset ISO-8859-1
> AddCharset ISO-8859-1 .iso8859-1 .latin1
>
> AddType application/x-tar .tgz
> AddType image/x-icon .ico
> #AddType application/x-httpd-cgi .cgi
> #AddType application/x-httpd-cgi .pl
> AddHandler cgi-script .cgi
> AddHandler cgi-script .pl
>
> BrowserMatch "Mozilla/2" nokeepalive
>
> ScriptAlias /php/ "c:/php/"
> AddType application/x-httpd-php .php
> Action application/x-httpd-php "/php/php.exe"
>
> ServerName 24.46.53.136
>
>
> ------------------------------------------------------------------------
>
> <VirtualHost 24.46.53.136>
>
> ServerName www.guidonet.ws
> VirtualDocumentRoot C:/Apache2/htdocs1/%1
>
> <Directory "C:/Apache2/htdocs1">
> Options Indexes FollowSymLinks
> AllowOverride None
> Order allow,deny
> Allow from all
> </Directory>
>
> <Directory "C:/Apache2/htdocs1/dan/html/politics">
> <Files sheehan.html>
> Order allow,deny
> Allow from all
> Deny from 167.206.57
> AllowOverride None
> </Files>
> <Files rosaparks.html>
> Order allow,deny
> Allow from all
> Deny from 167.206.57
> AllowOverride None
> </Files>
> </Directory>
>
> <Directory "C:/Apache2/htdocs1/dan/html/phpbb2">
> Options none
> AllowOverride None
> Order allow,deny
> Allow from all
> Deny from 167.206.57
> </Directory>
>
> VirtualScriptAlias C:/Apache2/htdocs1/%1/cgi-bin/
> <Directory /cgi-bin/>
> AllowOverride None
> Options ExecCGI
> Order allow,deny
> Allow from all
> </Directory>
>
> DirectoryIndex index.html index.htm index.php index.shtml main.html main.htm index.lf
>
> </VirtualHost>
>
>
> ------------------------------------------------------------------------
>
> <VirtualHost 24.46.53.136>
>
> ServerName www.infiniteedge.net
> VirtualDocumentRoot C:/Apache2/htdocs2/%1
>
> <Directory "C:/Apache2/htdocs2">
> Options Indexes FollowSymLinks
> AllowOverride None
> Order allow,deny
> Allow from all
> </Directory>
>
> VirtualScriptAlias C:/Apache2/htdocs2/%1/cgi-bin/
> <Directory /cgi-bin/>
> AllowOverride None
> Options ExecCGI
> Order allow,deny
> Allow from all
> </Directory>
>
> DirectoryIndex index.html
>
> </VirtualHost>
>
>
> ------------------------------------------------------------------------
>
> include conf/common.conf
>
> NameVirtualHost 24.46.53.136
>
> include conf/guidonet.conf
> include conf/infiniteedge.conf
>
>
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> 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
--
end
Respectfully,
Kirk D Bailey
+---------------------"Thou Art Free." -Eris-----------------------+
| http://www.howlermonkey.net mailto:highprimate@howlermonkey.net |
| KILL spam dead! http://www.scambusters.org/stopspam/#Pledge |
| http://www.tinylist.org +--------+ mailto:grumpy@tinylist.org |
+------------------Thinking| NORMAL |Thinking----------------------+
+--------+
---------------------------------------------
Introducing NetZero Long Distance
1st month Free!
Sign up today at: www.netzerolongdistance.com
---------------------------------------------------------------------
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