Re: Apache httpd does not respect the HTTP RFCs !

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



William A. Rowe Jr. schrieb:
> I agree it should be easier, Rich and I have it down to 3-4 lines of rewrite magic
> to kick out a 400, but we should probably allow this to be explicit [default?]

That would be nice. And if I'm be able to set the status code in a
RewriteRule and/or Header directive.
I guess you have seen my RewriteRule with the Perl script in my other message.
Well, I'm only using a Perl script, because this is not possible (assuming
httpd-multilang-errordoc.conf is enabled):
| RewriteRule ^.*$ /error/HTTP_BAD_REQUEST.html.var \
  [PT,NS,E=REDIRECT_STATUS:400]
| Header set Status "400 Bad Request"

I'm getting my multi language error document, but I can't set the status
header in this way.

Regards,
Carsten


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux