You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by jimmyhendrix <nl...@yahoo.fr> on 2012/01/09 13:37:53 UTC
[users@httpd] Re: Apache httpd does not respect the HTTP RFCs !
Hi guys,
When requesting a non-existing page, like:
http://cmsboprd/notre-offre/services/pied-de-page/masque/index.html
I will get a non-available page
http://cmsboprd/page-indisponible/index.html?fmt=default with a status code 302.
I would like to change that status code on my httpd.conf and set to the value
404 on the same page http://cmsboprd/page-indisponible/index.html?fmt=default
Please help me, It is almost one month that I looking for that solution.
Regards,
Jimmy
---------------------------------------------------------------------
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] Re: Apache httpd does not respect the HTTP RFCs
!
Posted by Pete Houston <ph...@openstrike.co.uk>.
On Mon, Jan 09, 2012 at 12:37:53PM +0000, jimmyhendrix wrote:
> I would like to change that status code on my httpd.conf and set to the value
> 404 on the same page http://cmsboprd/page-indisponible/index.html?fmt=default
Have a read of this:
http://httpd.apache.org/docs/2.2/mod/core.html#errordocument
particularly the paragraph referring to remote URLs and then look through
your configuration to find where you have introduced this behaviour so
you can fix it.
HTH,
Pete
--
Openstrike - improving business through open source
http://www.openstrike.co.uk/ or call 01722 770036 / 07092 020107