You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by John Burge <we...@techemail.com> on 2004/11/05 01:17:55 UTC

[users@httpd] Status Codes 288, 289, 302 and 306 (among others) from new Apache 1.3.31 installation on XP home

I have just installed Apache 1.3.31 on my XP Home (SP2) machine.

In spite of the fact that index.html exists:

-----C:\>dir "\Program Files\Apache Group\Apache\htdocs\index.html"
----- Volume in drive C has no label.
----- Volume Serial Number is 44AB-7789
-----
----- Directory of C:\Program Files\Apache Group\Apache\htdocs
-----
-----05/03/2001  04:00 PM             1,494 index.html
-----               1 File(s)          1,494 bytes
-----               0 Dir(s)  14,296,887,296 bytes free
-----C:\>

and the following entries in httpd.conf:

-----NameVirtualHost 127.0.0.1

-----<VirtualHost 127.0.0.1:80>
-----    ServerAdmin webgineering@techemail.com
-----    DocumentRoot htdocs/
-----    ServerName localhost.local
-----    ErrorLog logs/error.log
-----    CustomLog logs/access.log common
-----</VirtualHost>

and in C:\WINDOWS\system32\drivers\etc\hosts

-----127.0.0.1       localhost
-----127.0.0.1       localhost.local

and

    apache -k restart

when I type into Mozilla Firefox

    http://localhost.local/index.html

I get

-----Not Found
-----The requested URL /index.html was not found on this server.
-----
-----Apache/1.3.31 Server at localhost.local Port 80

and the access.log says

127.0.0.1 - - [04/Nov/2004:16:00:35 -0800] "GET /index.html HTTP/1.1" 404 288
127.0.0.1 - - [04/Nov/2004:16:00:36 -0800] "GET /favicon.ico HTTP/1.1" 404 289

and error.log says

[Thu Nov 04 16:00:35 2004] [error] [client 127.0.0.1] File does not exist: htdocs/index.html
[Thu Nov 04 16:00:36 2004] [error] [client 127.0.0.1] File does not exist: htdocs/favicon.ico

This also applies to my other Virtual Host

-----<VirtualHost 127.0.0.1:80>
-----    ServerAdmin webgineering@celebritylicenceplates.com
-----    DocumentRoot htdocs/celebritylicenceplates
-----    ServerName celebritylicenceplates.local
-----    ErrorLog htdocs/celebritylicenceplates/logs/error.log
-----    CustomLog htdocs/celebritylicenceplates/logs/access.log common
</VirtualHost>

where I get (in spite of the fact that index-test.html is there)

Not Found
The requested URL /index-test.html was not found on this server.

Apache/1.3.31 Server at celebritylicenceplates.local Port 80

and in the access log

127.0.0.1 - - [04/Nov/2004:16:08:39 -0800] "GET /index-test.html HTTP/1.1" 404 306
127.0.0.1 - - [04/Nov/2004:16:08:39 -0800] "GET /favicon.ico HTTP/1.1" 404 302

and in the error.log:

[Thu Nov 04 16:08:39 2004] [error] [client 127.0.0.1] File does not exist: htdocs/celebritylicenceplates/index-test.html
[Thu Nov 04 16:08:39 2004] [error] [client 127.0.0.1] File does not exist: htdocs/celebritylicenceplates/favicon.ico

In screwing around with this (although all this configuration is the truth right now), I removed the "read-only" from recursively from all folders in ...Apache\htdocs\ with Windows Explorer.

What is going on? What did I not do? Some of these status codes are not documented.
--John

_____________________________________________________________
Are you a Techie? Get Your Free Tech Email Address Now! Visit http://www.TechEmail.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


Re: [users@httpd] Status Codes 288, 289, 302 and 306 (among others) from new Apache 1.3.31 installation on XP home

Posted by Joshua Slive <js...@gmail.com>.
On Fri, 5 Nov 2004 01:30:32 +0100, Ralf Glauberman
<rg...@michaeli-gymnasium.de> wrote:

> enter a full path for documentroot

Exactly.  DocumentRoot should always be a full filesystem path.

Joshua.

---------------------------------------------------------------------
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] Status Codes 288, 289, 302 and 306 (among others) from new Apache 1.3.31 installation on XP home

Posted by Ralf Glauberman <rg...@michaeli-gymnasium.de>.
try to access it via http://127.0.0.1/index.html, if that doesn't work, 
enter a full path for documentroot, i.e.
DocumentRoot "C:/Program Files/Apache Group/Apache/htdocs".
try to configure a document-root outside the virtual-host with an other 
index-page, so you can see if apache is using the virtual host.

----- Original Message ----- 
From: "John Burge" <we...@techemail.com>
To: <us...@httpd.apache.org>
Sent: Friday, November 05, 2004 1:17 AM
Subject: [users@httpd] Status Codes 288, 289, 302 and 306 (among others) 
from new Apache 1.3.31 installation on XP home


>I have just installed Apache 1.3.31 on my XP Home (SP2) machine.
>
> In spite of the fact that index.html exists:
>
> -----C:\>dir "\Program Files\Apache Group\Apache\htdocs\index.html"
> ----- Volume in drive C has no label.
> ----- Volume Serial Number is 44AB-7789
> -----
> ----- Directory of C:\Program Files\Apache Group\Apache\htdocs
> -----
> -----05/03/2001  04:00 PM             1,494 index.html
> -----               1 File(s)          1,494 bytes
> -----               0 Dir(s)  14,296,887,296 bytes free
> -----C:\>
>
> and the following entries in httpd.conf:
>
> -----NameVirtualHost 127.0.0.1
>
> -----<VirtualHost 127.0.0.1:80>
> -----    ServerAdmin webgineering@techemail.com
> -----    DocumentRoot htdocs/
> -----    ServerName localhost.local
> -----    ErrorLog logs/error.log
> -----    CustomLog logs/access.log common
> -----</VirtualHost>
>
> and in C:\WINDOWS\system32\drivers\etc\hosts
>
> -----127.0.0.1       localhost
> -----127.0.0.1       localhost.local
>
> and
>
>    apache -k restart
>
> when I type into Mozilla Firefox
>
>    http://localhost.local/index.html
>
> I get
>
> -----Not Found
> -----The requested URL /index.html was not found on this server.
> -----
> -----Apache/1.3.31 Server at localhost.local Port 80
>
> and the access.log says
>
> 127.0.0.1 - - [04/Nov/2004:16:00:35 -0800] "GET /index.html HTTP/1.1" 404 
> 288
> 127.0.0.1 - - [04/Nov/2004:16:00:36 -0800] "GET /favicon.ico HTTP/1.1" 404 
> 289
>
> and error.log says
>
> [Thu Nov 04 16:00:35 2004] [error] [client 127.0.0.1] File does not exist: 
> htdocs/index.html
> [Thu Nov 04 16:00:36 2004] [error] [client 127.0.0.1] File does not exist: 
> htdocs/favicon.ico
>
> This also applies to my other Virtual Host
>
> -----<VirtualHost 127.0.0.1:80>
> -----    ServerAdmin webgineering@celebritylicenceplates.com
> -----    DocumentRoot htdocs/celebritylicenceplates
> -----    ServerName celebritylicenceplates.local
> -----    ErrorLog htdocs/celebritylicenceplates/logs/error.log
> -----    CustomLog htdocs/celebritylicenceplates/logs/access.log common
> </VirtualHost>
>
> where I get (in spite of the fact that index-test.html is there)
>
> Not Found
> The requested URL /index-test.html was not found on this server.
>
> Apache/1.3.31 Server at celebritylicenceplates.local Port 80
>
> and in the access log
>
> 127.0.0.1 - - [04/Nov/2004:16:08:39 -0800] "GET /index-test.html HTTP/1.1" 
> 404 306
> 127.0.0.1 - - [04/Nov/2004:16:08:39 -0800] "GET /favicon.ico HTTP/1.1" 404 
> 302
>
> and in the error.log:
>
> [Thu Nov 04 16:08:39 2004] [error] [client 127.0.0.1] File does not exist: 
> htdocs/celebritylicenceplates/index-test.html
> [Thu Nov 04 16:08:39 2004] [error] [client 127.0.0.1] File does not exist: 
> htdocs/celebritylicenceplates/favicon.ico
>
> In screwing around with this (although all this configuration is the truth 
> right now), I removed the "read-only" from recursively from all folders in 
> ...Apache\htdocs\ with Windows Explorer.
>
> What is going on? What did I not do? Some of these status codes are not 
> documented.
> --John
>
> _____________________________________________________________
> Are you a Techie? Get Your Free Tech Email Address Now! Visit 
> http://www.TechEmail.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