Home / News | My Blogs | Projects | Archive |
Username Password
Posted by smileaf

I've replaced Apache with Lighttpd for the fun of it. Configuring it for the first time was a headache and a half, but now that I understand it, its really nice.
I was able to setup all of my virtual hosts with minimal effort being they were all so simular.

I have 4 rewrite rules that handle all 4 that would have normally been duplicated in all vhosts.

All vhosts have been setup in 1-3 lines depending on how you look at it.

$HTTP["host"] =~ ".smileaf.org" {
  evhost.path-pattern = "/srv/www/%3.%0/htdocs/"
}

If this isn't cool, I'm not sure what is :D

Comment | Quote | 0 Comments | 0 Views

Posted by smileaf

As you can tell I've finally modified the layout slightly. Still wondering what all I can do to improve the look of it. never satisfied with my work :)

I'm always open to suggestions so if you really wanna take a stab at it feel free to!

Comment | Quote | 1 Comments | 57 Views

Posted by smileaf

Due to some idiot posting content which I will not mention as I wanna puke just thinking about it... I have created a temporary addition to the posting page to help in making it slightly more dificult for people that can't read, and bots from posting crap like that on my site.

I have also finally Added a logged in only option to delete posts. Finally no more going into the database to manually delete! yay.

As a side not I don't know why people find it amusing to post links to discusting, horrible content on websites that having nothing to do with what they are trying to advertise. Ugh... I'd love to punch whoever did that.. You give people an option to reply to things and it only ends up getting abused and for absolute CRAP.. What is the fun in ruining a perfectly good blog site with stuff like that?.. If its not a legit reply to a post I make... DON'T POST IT! .... PERIOD! NO EXCEPTIONS!

Comment | Quote | 0 Comments | 93 Views

Posted by smileaf

As you can see... well unless your an IE user. The date/time for the posts are now done using SVG! pretty cool thing in that you can do so much with them without too much work. Not sure how far I'll take this bit, but we'll see :)

While trying to figure out how to do what I wanted I found out its possible to do javascript on the images. Which could be quite useful for things such as hover icons? could even get even more crazy and do more user interaction with them as well.

Comment | Quote | 1 Comments | 104 Views

Posted by smileaf

Due to the ice storm in Iowa I lost power for a few hours. Luckally this time nothing hardware related went completely wrong. However upon booting when I arrived home it failed. So I decided to test to see if I just wasn\'t getting a visual. First I removed my new NVidia card, and put the display up to the integrated video card. It booted. So I then put the card back in, and removed my old PCI NVidia card. hooked the display back up from the integrated card, and it booted. Put the PCI back in and it booted... I have no idea what went wrong there. Only thing I can think of is my bios has a bug in it some place with dealing with PCI-ex16, PCI and the Integrated card.

I must say tho, the trees with all their ice caked on them, is quite a view. Tomarrow I\'ll take a picture of it and post it.

Comment | Quote | 1 Comments | 170 Views

Posted by smileaf

A few days ago I implemented in highlighting certain keywords on any page by adding a ?highlight=word to the url.

I've finished implementing in the ability to highlight based on your referer, So if your coming from google for instance your search words are highlighted. If you ever see some big red text, thats whats going on.

Comment | Quote | 0 Comments | 191 Views

Posted by smileaf

Interesting Apache Module I found called mod_macro
With it, it makes adding a new Virtual host as simple as a 1 liner.
for example:
Use VHost dev
This is all I now have to do to setup a dev.smileaf.org virtual host.
Worth checking out if you host a lot of sites and are constantly copy/pasting new domains in.

Comment | Quote | 0 Comments | 194 Views

Posted by smileaf

Upgraded Apache which is the reason the website was offline for a good 9+ hours.
Gentoo decided they wanted to move the Listen config option inside their default vhost, which if not enabled will make apache die with the error:
no listening sockets available, shutting down
Unable to open logs

Not a very informational message IMO.
They also decided that each <VirtualHost> should now require a <Directory> Otherwise it'll reject by default.

Comment | Quote | 0 Comments | 255 Views

Posted by smileaf

About a week earlier my motherboard decided to keel over on me. But luckally I had just enough time to order a new motherboard before it locked up and stopped booting.
The problem was mostly my fault. over a month ago we had a poweroutage. and if any of you know anytime that happens it almost always means -something- hardware related fails on me. This time it was a chip fan on the motherboard. I figured I had 2 case fans on the back, 1 in front, 1 on my 2 500G HDs, 1 on my video card and then my CPU fan, that surely is enough fans right? Well I monitored the temp inside which never got above ~38-40°C well within a safe range. However problems started happening when I tried burning a DVD. about 50% through the process it failed with an I/O error and refused to read anything. figuring it was just some stupid cdrom issue with linux I rebooted.
grub loaded and failed with a 'file not found' error. after figuring out somehow my drive numbering changed I fixed my boot entry and it booted. (I also tried loading a liveCD which failed.) Confirmed my cdrom drive was dead I got a spare one, installed that and this time it sporatically worked. So I changed the IDE cable and boom everything works again. Then started the lock-ups, I ordered and yah.
damage report? 1 Motherboard, DVD/CD Burner, an IDE cable and all Animes starting with U, V, W, X, Y and Z. (possibly more not sure)
For the record The data loss happened with an ext3 filesystem. A-O are stored on a ReiserFS partition and no dataloss (to my knowledge).
Set me back about $70 and over a week on a freelance job. Moral of the story, get your fans replaced quickly, watch out for ext3 and be sure to call your freelance employer the day you figure out you can't boot your computer. don't wait to send an email when you get a semi-usable computer up.
Also Ichigo is not named after the main character in Bleach, but because I love strawberries ... and catgirls (see Tokyo Mew Mew.) ftw =p (side note: no I am not into furry. add the ears/tail and they are so cute~ XD)

Comment | Quote | 0 Comments | 220 Views

Posted by smileaf

Email Services have ceased I was getting too many spammers hitting up my server flooding me with not only spam emails but also wanting to relay spam. I find it amazing how many do things like that knowing no one (including themselves) want to be spammed.
I'm about to kill off beta.smileaf.org and move it back to smileaf.org which was the intended purpose for the site to begin with. So just let it be known that beta.smileaf.org is dead and change all links to use just smileaf.org

Comment | Quote | 0 Comments | 228 Views

Generated in 0.0402300357819 secs, using 42 database queries.
Donate
Valid XHTML 1.1!Valid CSS!Any Browser!rss xml feed