<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="/templates/modified/atom.css" type="text/css" ?>

<feed version="0.3" 
   xmlns="http://purl.org/atom/ns#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <link href="http://mollyleadrive.org/rss.php?version=atom0.3" rel="service.feed" title="Mollylea Drive 70815" type="application/x.atom+xml" />
    <link href="http://mollyleadrive.org/"                        rel="alternate"    title="Mollylea Drive 70815" type="text/html" />
    <link href="http://mollyleadrive.org/rss.php?version=2.0"     rel="alternate"    title="Mollylea Drive 70815" type="application/rss+xml" />
    <title mode="escaped" type="text/html">Mollylea Drive 70815</title>
    <tagline mode="escaped" type="text/html">Baton Rouge, Louisiana, USA, Earth</tagline>
    <id>http://mollyleadrive.org/</id>
    <modified>2007-03-27T00:57:07Z</modified>
    <generator url="http://www.s9y.org/" version="1.3.1">Serendipity 1.3.1 - http://www.s9y.org/</generator>
    <dc:language>en</dc:language>
    <info mode="xml" type="text/html">
        <div xmlns="http://www.w3.org/1999/xhtml">You are viewing an ATOM formatted XML site feed. Usually this file is inteded to be viewed in an aggregator or syndication software. If you want to know more about ATOM, please visist <a href="http://atomenabled.org/">Atomenabled.org</a></div>
    </info>

    <entry>
        <link href="http://mollyleadrive.org/archives/1-Give-Me-A-Minute-And-I-Can-Break-Anything.html" rel="alternate" title="Give Me A Minute And I Can Break Anything" type="text/html" />
        <author>
            <name>Dale Medley</name>
            <email>nospam@example.com</email>
        </author>
    
        <issued>2007-03-27T00:55:00Z</issued>
        <created>2007-03-27T00:55:00Z</created>
        <modified>2007-03-27T00:57:07Z</modified>
        <wfw:comment>http://mollyleadrive.org/wfwcomment.php?cid=1</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://mollyleadrive.org/rss.php?version=atom0.3&amp;type=comments&amp;cid=1</wfw:commentRss>
    
        <id>http://mollyleadrive.org/archives/1-guid.html</id>
        <title mode="escaped" type="text/html">Give Me A Minute And I Can Break Anything</title>
        <content type="application/xhtml+xml" xml:base="http://mollyleadrive.org/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                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 <a href="http://mollyleadrive.org/uploads/index.php"  title="Pictures from before the crash.">pictures</a>. I may put it back like it was or just start over I haven'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'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 <a href="http://no-www.org/"  title="no-www.org">these guys</a> originally as far as I know and is really just a few lines in a <a href="http://httpd.apache.org/docs/2.0/howto/htaccess.html"  title="Apache Tutorial: .htaccess files">.htaccess</a> file with the help of  <a href="http://httpd.apache.org/docs/2.0/misc/rewriteguide.html"  title="URL Rewriting Guide">mod_rewrite</a>.<blockquote>...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.<br />
<br />
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.<br />
<br />
    RewriteEngine On<br />
    RewriteBase /<br />
    RewriteCond %{HTTP_HOST} ^<font color="red">www\.domain\.com</font>$ [NC]<br />
    RewriteRule ^(.*)$ http://domain.com/$1 [R=301,L] </blockquote>Then I have this <a href="http://mollyleadrive.org/open_offsite_links_in_new_window.txt"  title="JavaScript for opening offsite links in a new window">bit of code</a> 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't do it out of respect courtesy that sort of thing. However once on another site I had <a href="http://www.sashagirl.com/displayimage.php?pos=-81"  title="jackolanternmoon.jpg">this picture</a> up around Halloween and the children on <em>MySpace</em> 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. <a href="http://alistapart.com/articles/hotlinking"  title="Smarter Image Hotlinking Prevention">This article</a> makes the most sense of any advice I've seen on the subject of hotlinking. Again however the amazing <a href="http://httpd.apache.org/"  title="Apache HTTP Server">Apache Server</a> is needed, as well as <a href="http://www.php.net"  title="PHP  is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.">PHP</a> though to pull it off.<br />
<br />
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 "sort of" 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'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'll deal with that in another post. 
            </div>
        </content>

        
    </entry>
</feed>