Browsing archives for 'Programming'

Forcing SSL and HTTPS with Redirects on Symfony 1.2

Programming,symfony 1 September 2009 | View Comments

Forcing SSL on certain modules and actions used to be pretty simple with Symfony’s sfSslRequirementPlugin, however since Symfony 1.2 came out – it isn’t necessarily compatible. I took a look around the internet for options, however I was rather unsatisfied with the options. Because I need to be able to secure modules and actions, I [...]

Sane Pre-Commit Hooks for Symfony + Git

Programming,symfony 24 August 2009 | View Comments

Throughout my history of working with Symfony, I’ve noticed a trend that I’ll make a minor edit in a database configuration file, forget to actually regenerate the models and forms, commit the edit, and then find several days later (when I do want to regenerate the models) that they’re breaking. I then do this little dance of going through the history finding out where exactly I went wrong.

Tagged in , , , , , , , , ,

Creating SSL keys, CSRs, self-signed certificates, and .pem files.

Programming 14 July 2009 | View Comments

SSL, that oh so incredibly confusing and distorted system for encryption between servers… oh how I loath thee. I’ve found myself setting up another server, and with that server comes a new set of SSL certificates for the various daemons – SMTP, IMAP, POP, Apache… You name it, I’ve probably had to set it up at one point or another. The hard part, though, is every time I have to do it again – I end up searching the internet, trying haphazardly everything I can get my hands on to do it right. Boy is it exhausting to not have anything succeed while you’re trying to get something done, so for me – and all of your enjoyment – I have documented my SSL-ventures herein.

Tagged in , , , , , , , , ,

Listing Users with Database Access

Programming 24 May 2009 | View Comments

As a part of my server migration, I’ve begun noting which databases to transfer, which I can trash, and who owns them. This is pretty eye-opening, as it lets me know which users I had forgotten to purge as they left my services. SELECT User FROM mysql.db WHERE Db = ‘databasename’; That will retrieve all [...]

Tagged in , , , , ,

Fleshing Out Stablr

Programming 25 May 2008 | View Comments

With the advent of the Stablr concept, I’ve gotten a huge amount of interest from the general community. People have been throwing suggestions, ideas, and their talent my way. The good part of this is, I’ve fleshed out so many important aspects about Stablr its not funny. The unfortunate part, is I didn’t have the [...]

Tagged in , ,