mod_rewrite and the death of my sanity
So I decided temporarily to forgoe finishing the site in order to setup wordpress and attempt my first use of mod_rewrite to integrate the blog with the rest of my site, I had to choose a theme for wordpress that only consisted of one column in order to fit it in nicely with the iframe (I hate iframes but eh). This all seemed to go fine and I managed to get mod_rewrite to integrate internal links into the iframe I use.
Unfortunately trying to abuse mod_rewrite to accept a url as a parameter and put this as the source of the iframe doesn’t seem to work, it strips the http:/ off the front of the url and thus tries to access it as if it was local. I managed todo an ugly hack like this: RewriteRule ^links/http:/(.+)$ index.php?iframe=http://$1 [L] to make it work. I’m guessing something like // escapes the slash and thus only one is found. All seems to be working now, so yay.
Now to get back to coding ircbots to stalk people.