http://www.challahc.com

October 17, 2006

new site, no more updates here


ubuntu + apache + ssl + mod_rewrite proxy

October 10, 2006

I wanted to be able to get to a couple of internal only sites securely from outside of my home network. So, I added an https virtual server with password that proxies the internal stuff. It goes a little something like this:

enable the ssl module:

a2enmod ssl

make a cert

apache2-ssl-certificate

make an htpasswd file

htpasswd -c /etc/apache2/utility.passwd admin

setup apache to use port 443

echo “Listen 443″ >> /etc/apache2/ports.conf

create your virtual server

vi /etc/apache2/sites-available/utility_proxy

NameVirtualHost *:443
<VirtualHost *:443>
    ServerName yourserver.yourdomain.com
    SSLEngine On
    SSLCertificateFile /etc/apache2/ssl/apache.pem
    <Location "/">
        AuthType Basic
        AuthName "Utility Server"
        AuthUserFile /etc/apache2/utility.passwd
        Require valid-user
    </Location>
    RewriteEngine On
    DocumentRoot /var/www
    #add rules here for your internal stuff
    RewriteRule ^/routerproxy/(.*) http://192.168.1.254/$1 [P]
    RewriteRule ^/localhost8080/(.*) http://localhost:8080/$1 [P]
</VirtualHost>

enable the virtual

ln -s /etc/apache2/sites-available/utility_proxy /etc/apache2/sites-enabled/utility_proxy

restart apache

/etc/init.d/apache2 restart

This is assuming you already have some means of getting to this server from the outside.  Your proxies will be availible at https://yourserver.yourdomain.com/routerproxy/ etc.  I had some trouble with having authentication on when the site that was being proxied also had authentication. So I had to change the Location tag so that rewrite rule was outside of the authenticaion in my apache server and only used the authentication on the proxied server.


coldfusion 7.0.1 and apache 2.2

October 6, 2006

I don’t know how many people really need this but i wanted to put it out there even if it’s just for my own benefit later on.  I just had a little battle getting coldfusion 7 and apache to work so here’s my tips.

I followed this article.  To get it to work though, i had to make sure to use the coldfusion java in /opt/coldfusion7/runtime/bin/java.  The second thing was that I had already tried setting up apache with the connector script, so i had that config already in place.  I had to edit my httpd.conf and remove the coldfusion stuff.  And I also moved the wsconfig directory in {cf_root}/runtime/lib to wsconfig.bkp.  These seem like simple things, but there are no hints that helped me get to these.  I just wanted to try to save somebody an hour or two down the road.


top ten ways to get dugg

October 5, 2006

I’ve been reading digg articles for a while, and have noticed a few trends so:

In no particular order, the top 10 ways to get dugg…

- make a top ten list

- make a title that has a pre-title title like “Apple:” or “Crazy Video:”

- start the title with “How to”

- post a review of a product that has already been dugg, but say there’s “new information!”

- take a video from youtube and post on google video

- rehash that same list of funny domain names (penismightier.com)

- anything about ajax

- anything about ubuntu

- anything about microsoft

- anything about apple

plus, you can make any of these a combo.

top ten ubuntu reviews

how to ajax like microsoft

the sky’s the limit!


pandora and parallels

July 24, 2006

http://www.pandora.com.  very cool internet radio site that pick music for you based on selections and the music genome project.

i did the trial license of parallels, liked it a lot, p-carded a license.  i like parallels so far mainly for the tools that you can install on the virtual os.  on the windows vm this means a mouse driver thing that lets you move the mouse in and out of the vm instead of ctrl+alt to switch.  the speed of the vm is also bearable.  parallels is my favorite so far except that you have to buy it, and also one feature that would make a world of difference: desktop switching.  if i could run a full screen parallels and still switch desktops i would be set.


google radar map

July 1, 2006

one of the guys that posts in the google maps group made this map that throws radar data on top of a gmap > http://mapki.com/radar/

good stuff


how google maps works

June 30, 2006

just in case you were wondering -> http://break.com/index/googleguy29.html


www.gmapme.com/pasty

June 27, 2006

stupid pastebin.com breaks sometimes, so i made this django app. i took out features that i never use on pastebin like user and expire time. > www.gmapme.com/pasty


almost a month

June 27, 2006

i haven’t posted in a month!?!!? working too hard i guess. in any time that i could spare i’ve been working on a new site > http://www.fooshowdown.com. the idea is, post a problem, post solutions, argue about who’s solution is best. sound good? kind of like http://www.thedailywtf.com, only you get the first shot at solving the problem. hopefully leads to hilarious comments and bickering. still haven’t really worked out all of the kinks in http://www.gmapme.com, but i’m getting discouraged because of all of the competition. http://www.platial.com/splash among others.


pininthemap.com

May 30, 2006

this site looks pretty cool, i should have thought of it.  it has caused me to add a quicklink to points on gmapme.com.  good work pininthemap.com guy.