You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Kaushal Shriyan <ka...@gmail.com> on 2006/08/23 11:26:06 UTC

[users@httpd] HTTP Status Code

Hi ALL

I have a query here how do i get various status code on the browser,

For example

403 Forbidden

How do i simulate (get ) all the status code from the httpd webserver
in the form of a script or a simple program

Thanks and Regards

Kaushal

---------------------------------------------------------------------
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] HTTP Status Code

Posted by Joshua Slive <jo...@slive.ca>.
[This message was abusively cross-posted.  There is no reason to send
it to so many very busy groups.  Try one at a time and, if you don't
get a response, then try another.]

On 8/23/06, Kaushal Shriyan <ka...@gmail.com> wrote:
> Hi ALL
>
> I have a query here how do i get various status code on the browser,
>
> For example
>
> 403 Forbidden
>
> How do i simulate (get ) all the status code from the httpd webserver
> in the form of a script or a simple program

This question isn't clear to me.  Are you asking how, from the client
side, you can get the server to send responses with all the different
status codes?  If so, I don't think there is a general solution.  You
simply need to make requests that result in that code (a missing file
for 404, a "Deny"ed area for 403, etc).

Perhaps if you explained more clearly what you are really trying to
accomplish and why, someone could provide other suggestions on how to
do it.

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