<?xml version="1.0" encoding="utf-8" ?>

<rss version="0.91" >
<channel>
<title>Mollylea Drive 70815</title>
<link>http://mollyleadrive.org/</link>
<description>Baton Rouge, Louisiana, USA, Earth</description>
<language>en</language>
<image>
        <url>http://mollyleadrive.org/templates/modified/img/s9y_banner_small.png</url>
        <title>RSS: Mollylea Drive 70815 - Baton Rouge, Louisiana, USA, Earth</title>
        <link>http://mollyleadrive.org/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Give Me A Minute And I Can Break Anything</title>
    <link>http://mollyleadrive.org/archives/1-Give-Me-A-Minute-And-I-Can-Break-Anything.html</link>

    <description>
        The thing in question this time is this site. Between a unusually high spam volume and some misbehaving scripts I had decided it was time to change some stuff on the server. At least this time I did back up my database and some key files so I still have all the old content, some key files, and &lt;a href=&quot;http://mollyleadrive.org/uploads/index.php&quot;  title=&quot;Pictures from before the crash.&quot;&gt;pictures&lt;/a&gt;. I may put it back like it was or just start over I haven&#039;t decided. I am slowly putting things back together and actually compared to most of the time I spend on computers these days this sort of made for a nice diversion. Looking at some of my files I noticed that I&#039;ve accumulated quite a few trivial web tricks over time. For instance whether a person types www.mollyleadrive.org or mollyleadrive.org in their address bar they will see the latter. Not a big deal really and the idea came from &lt;a href=&quot;http://no-www.org/&quot;  title=&quot;no-www.org&quot;&gt;these guys&lt;/a&gt; originally as far as I know and is really just a few lines in a &lt;a href=&quot;http://httpd.apache.org/docs/2.0/howto/htaccess.html&quot;  title=&quot;Apache Tutorial: .htaccess files&quot;&gt;.htaccess&lt;/a&gt; file with the help of  &lt;a href=&quot;http://httpd.apache.org/docs/2.0/misc/rewriteguide.html&quot;  title=&quot;URL Rewriting Guide&quot;&gt;mod_rewrite&lt;/a&gt;.&lt;blockquote&gt;...all of the traffic to http://www.yourdomain.com is politely and silently redirected to http://yourdomain.com. This is currently the preferred no-www classification as it does not inconvenience your users, but it does assert the deprecated nature of the www subdomain.&lt;br /&gt;
&lt;br /&gt;
The process of making your domain a Class B is quite simple. All you need to do is create or modify a file called .htaccess located in the root directory of your site and add the following lines, changing the red text to match your domain.&lt;br /&gt;
&lt;br /&gt;
    RewriteEngine On&lt;br /&gt;
    RewriteBase /&lt;br /&gt;
    RewriteCond %{HTTP_HOST} ^&lt;font color=&quot;red&quot;&gt;www\.domain\.com&lt;/font&gt;$ [NC]&lt;br /&gt;
    RewriteRule ^(.*)$ http://domain.com/$1 [R=301,L] &lt;/blockquote&gt;Then I have this &lt;a href=&quot;http://mollyleadrive.org/open_offsite_links_in_new_window.txt&quot;  title=&quot;JavaScript for opening offsite links in a new window&quot;&gt;bit of code&lt;/a&gt; pasted in the head of my page that opens all offsite links in a new window using JavaScript. Someone deserves credit for this one but I honestly do not remember where I found it. Then there is hotlinking images not that I think I really care I just don&#039;t do it out of respect courtesy that sort of thing. However once on another site I had &lt;a href=&quot;http://www.sashagirl.com/displayimage.php?pos=-81&quot;  title=&quot;jackolanternmoon.jpg&quot;&gt;this picture&lt;/a&gt; up around Halloween and the children on &lt;em&gt;MySpace&lt;/em&gt; had it hotlinked all over the place so I decided to put some protection in place. In those days I was squatting on a DSL connection that specifically had no servers of any kind in their terms of service and this picture was getting called up thousands of times a day at one point. &lt;a href=&quot;http://alistapart.com/articles/hotlinking&quot;  title=&quot;Smarter Image Hotlinking Prevention&quot;&gt;This article&lt;/a&gt; makes the most sense of any advice I&#039;ve seen on the subject of hotlinking. Again however the amazing &lt;a href=&quot;http://httpd.apache.org/&quot;  title=&quot;Apache HTTP Server&quot;&gt;Apache Server&lt;/a&gt; is needed, as well as &lt;a href=&quot;http://www.php.net&quot;  title=&quot;PHP  is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.&quot;&gt;PHP&lt;/a&gt; though to pull it off.&lt;br /&gt;
&lt;br /&gt;
Of course as time goes on the complexity of the website changes, scripts and programs get updated, and if one is not very careful (latest stable release are three words I should pay heed to more often) things can go terribly wrong. In my case give me a minute and I can break anything. Then again playing with computers is how I &quot;sort of&quot; relax and these little glitches from time to time are just part of the learning curve for me. This time at least I did at back everything up first so it&#039;s not like I had to start from scratch. In other areas of my life I did just recently go to Japan (well actually got back about a month ago from a two week trip) for some training with my job which was very cool and I&#039;ll deal with that in another post. 
    </description>
</item>

</channel>
</rss>
