Re: h5bp: Achieving config consistency

8 views
Skip to first unread message

Paul Irish

unread,
Feb 1, 2012, 3:51:18 PM2/1/12
to Andy Dawson, seancaet...@gmail.com, h5bp...@googlegroups.com
Oh this is awesome.

[+cc h5bp-dev, Andy (ad7six) built an app to provide consistency checking across the various server configs.]

Nice work so far.
Seeing this makes me think of Redbot, which is an HTTP Lint tool essentially. It might save you some extra time.

Good stuff.

On Wed, Feb 1, 2012 at 5:21 AM, Andy Dawson <andyda...@gmail.com> wrote:
Hi Sean, Paul,

I'd like to let you know my intentions - or thereabouts.

I feel the only way to be consistent is simply to write a test based on how the h5bp .htaccess file works (since everyone and his dog should at least be able to read it) and use that as the basis for modifying other configs. Based on that idea, last night I thrashed together https://github.com/AD7six/h5bp-server-check

It's ghetto. All it does it check the headers for various responses match expectations (based on apache)

This is what it looks like right now running on nginx: http://ad7six.com/dump/server-config-consistency.png (There are some false negatives).

If you're interested at all, feel free to jump in/steal - otherwise this mail is just a courtesy heads up.

Cheers,

Andy

AD7six

unread,
Feb 1, 2012, 4:46:34 PM2/1/12
to h5bp-dev
I remember redbot from one of your presentations - I didn't know the
source was available though, thanks for pointing it out :)

I went with a js only idea to avoid any server-side-language wars and
make it easy to 'install'/run
However, I'll be sure to give RED a spin to see if it changes my ideas
any.

Cheers,
AD
On Feb 1, 9:51 pm, Paul Irish <paul.ir...@gmail.com> wrote:
> Oh this is awesome.
>
> [+cc h5bp-dev, Andy (ad7six) built an app to provide consistency checking
> across the various server configs.]
>
> Nice work so far.
> Seeing this makes me think of Redbot, which is an HTTP Lint tool
> essentially. It might save you some extra time.http://redbot.org/ http://mnot.github.com/redbot/
>
> Good stuff.
>
>
>
>
>
>
>
> On Wed, Feb 1, 2012 at 5:21 AM, Andy Dawson <andydawso...@gmail.com> wrote:
> > Hi Sean, Paul,
>
> > I'd like to let you know my intentions - or thereabouts.
>
> > I feel the only way to be consistent is simply to write a test based on
> > how the h5bp .htaccess file works (since everyone and his dog should at
> > least be able to read it) and use that as the basis for modifying other
> > configs. Based on that idea, last night I thrashed together
> >https://github.com/AD7six/h5bp-server-check
>
> > It's ghetto. All it does it check the headers for various responses match
> > expectations (based on apache)
>
> > This is what it looks like right now running on nginx:
> >http://ad7six.com/dump/server-config-consistency.png(There are some
Reply all
Reply to author
Forward
0 new messages