Bookmark: Covert SSL Certificate from Apache to IIS
Here is a quick example how to use OpenSSL to convert an Apache SSL certificate for use in IIS.
https://support.ssl.com/Knowledgebase/Article/View/18/12/how-to-convert-apache-ssl-certificate-to-iis-7
Bookmark: Squashing Commits
Tutorials about the Git version control system are plentiful and just about any how-to question has been asked but finding the answers can be a little tricky. Came across the need to squash several commits into a single commit and did it using this tip.
Bookmark: FlickRiver
Came across this site randomly and found it to be a good aggregate of Flickr images in an easy to view list. Well worth viewing if you like Flickr photography.
Bookmark – Apache URL Rewrite to Control Access
Was looking for some quick examples to block access to URL’s based on a rewrite rule and found this blog post: http://www.netshinesoftware.com/blog/restricting-access-to-a-url-by-ip-address-using-mod-rewrite/ I’m copying the best bits here for easy reference.
Redirect traffic from specific hosts with specific query string
RewriteEngine On
RewriteCond %{REMOTE_ADDR} ^123\.255\.123\.255 [OR]
RewriteCond %{REMOTE_ADDR} ^124\.255\.124\.255 [OR]
RewriteCond %{REMOTE_ADDR} ^125\.255\.125\.255
RewriteCond %{QUERY_STRING} option=com_my_special_component [NC]
RewriteRule ^(.*)$ index.php [F,L]
Don’t redirect traffic from these hosts with specific query string
RewriteEngine On
RewriteCond %{REMOTE_ADDR} !^123\.255\.123\.255
RewriteCond %{REMOTE_ADDR} !^124\.255\.124\.255
RewriteCond %{REMOTE_ADDR} !^125\.255\.125\.255
RewriteCond %{QUERY_STRING} option=com_my_special_component [NC]
RewriteRule ^(.*)$ index.php [F,L]
Bookmark – Useful Online Text Conversion Tools
These are two useful sites that I found useful for converting text between different formats. My thanks to each of the site authors!
Converting XML Escaped Text
To convert text with XML escaped characters such as > or ĵ this tool at Freeformatter.com came in handy.
Convert Serialized PHP Strings
The PHP Online Unserializer was useful to quickly convert PHP serialized strings into readable text.