Programming Programming
Google Teaches MySQL
PHP Jukebox Tutorial
Clear Screen in PHP
Rebuilding Apache Logs
Zipping Files with PHP
Del.icio.us Query String Hack
PHP Blogging Tricks
PHP link validator
Google Video for Programming
Newby Webmaster Tips
Cool Pictures All Categories
Internet Videos [ 576 x RSS ]
Front Page [ 118 x RSS ]
Cool Pictures [ 57 x RSS ]
Cool Sites [ 55 x RSS ]
Video Tutorial [ 19 x RSS ]
My Websites
Best of The Internet
Free Video Tutorials
Best of Youtube
Use Google to Download mp3s
Free Quiz Creator
Online Education
Poetry
Famous Poetry
Printable Sheet Music
JimmyR on Youtube
Free Movies Online

Saturday, 26th of January 2008 (26-01-2008)

Rebuiling Apache Loges

Using PHP

I like to parse my own weblogs easy to read statistics, but at first I couldn't successfully delete and rebuild the weblogs so that apache starts writing them again. I use the unlink() command on the access_log to delete then fopen to create it again but apache no longer writes to it after it's rebuilt.

What I ended up having to do is restart apache with the exec command.

httpd graceful

On fredora linux. I had to look around and see where exactly the apache (httpd) file was on my linux server since it seemed in a really nonstandard location. I knew it was really fast since I've done it several times with webmin. The restarting takes all of 1 second or less, so that's not too bad.

Download mp3s Faster than limewire free!

Checkout my Mp3 and files search that uses google to find music/albums, anime, games and movies with direct downloads. It's very safe and easy to use, just search for a song, then right click save as to download it.

New Forum! Blog by Jimmy Ruska
Add me: Youtube, Twitter, Facebook, MySpace

Free Video Tutorials

I make video tutorials on a variety of topics on youtube. Please help me out by adding me as a friend if you have a youtube account. It really helps.

Free TV from Youtube!

Random: Cute Pets | Video Tutorial | TV | Funny | Anime

Clicking the links above will give you a random but extremely high rated video. There are over 15,000 awesome videos indexed so click as many times as you'd like.



Save To Del.icio.us, Submit to Digg, Stumble it!


Share This Page


Table of Contents

  1. Rebuiling Apache Loges
  2. Using PHP

Featured on JimmyR.com

Free Streaming Anime
Funny Test Answers
[comic] Bunny Suicides
Baby Can't Stop Laughing
Free Movies Online
Video Game Time Attacks
Picture Everyday Videos
Hardest Game Ever
Anime Roleplay
Ear Training

Add me as Friend

My Youtube
Twitter
Facebook
MySpace
My Forums

Google