.htaccess files ftw?

Junior year is busy, and not good for someone new to the blogging world. Still, I wanted to update with the newest thing I’m learning: .htaccess files. These little gems use regular expressions to redirect traffic for you…or at least thats my impression. My personal example needs to redirect users accessing .rdp files to an authentication check. It looks something like this at the moment:

RewriteEngine On
RewriteCond %{FILE_REQUEST} !-f
RewriteCond ^(.*) rdp.php?file=$1

We’ll see how this looks to my boss next week XP.

Advertisements
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: