[svlug] HTTPD Config Settings

Scott DuBois sdubois at linux.com
Wed Nov 12 10:36:55 PST 2014


On 11/11/2014 11:59 PM, Jesse Monroy wrote:
> Scott,
> You should try the "Redirection 3xx", especially 301, 304, 307 & 308
> 
> On this note, 301 should be used when pages are removed, but often
> website just take down the webpages and external links breaks.
> Online magazines and newspapers are notorious for NOT redirecting
> properly.
> 
> You should also do a custom 404, both static and dynamic.
> Rarely done, but would be nice is a custom 500 "Internal Error."
> You might also consider 414 "URI too long" & 415 "Unsupported media type."
> 
> https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#3xx_Redirection
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
> 
> One other thing to try is URL rewriting, which is common for
> PHP and other scripting engines/servers.

Thanks Jesse,

I will work on writing some of these to my future deployments.

http://ec2-54-67-28-69.us-west-1.compute.amazonaws.com/rh3/

http://ec2-54-67-28-69.us-west-1.compute.amazonaws.com/cgi-bin/test.cgi


-- 
Scott DuBois BSIT
President EBLUG
Freenode: Roguehorse




More information about the svlug mailing list