October 3rd, 2007


RegEx Drain Brammage

Whats this do? ^([^.?]+)$ Or rather, how does it do it, and why wouldn't something simpler work, like ^(.+)$ ?

RewriteEngine on
# Rewrite /foo/bar to /foo/bar.php
RewriteRule ^([^.?]+)$ %{REQUEST_URI}.php [L]
# Return 404 if original request is /foo/bar.php
RewriteCond %{THE_REQUEST} "^[^ ]* .*?\.php[? ].*$"
RewriteRule .* - [L,R=404]
from: http://us2.php.net/manual/en/security.hiding.php#72630

Collapse )

State of the $noun

I think I've been to a similar place before, but not past it. This itself is remarkable, as I could not have said that even three years ago. Perhaps. Still, being able to hang out and get to know someone new over a few months and grow close is new and good.

It remains to be seen how things go from here. I'm kidding of course, as my overactive forebrain (hindbrain?) has 'seen' all of it, or insists it has anyway ... stoopid narrative consciousness always blabbing on about everything, even things that aren't going to happen.

Er, right. In this point it seems I need to figure out what going any farther (further?) would entail, assessing the costs and benefits, and deciding whether it's worthwhile. And then, likely enough, going for it anyway in some fashion .. what ever it is *sigh* Did I mention I'm not good at this / new at this / confused / scared ?

The rational cant of the voicing of these may be seen by some as an indication one way or the other, either as prejudice or that there seems to be no emotional involvement, but I do not believe this is particularly indicated, nor true.

The most recent other case in which I may have reached this stage before has, I think, been concluded peacefully with both parties declining warmly. Other, older, negotiations appear to be at glasnost or detante levels right now.
  • Current Music
    Feist - Intuition