Jump to content


Photo
- - - - -

Need help with Apache on Linux


  • Please log in to reply
1 reply to this topic

#1 Gremlin

Gremlin

    Certified Geek

  • Members
  • PipPipPipPip
  • 1259 posts
  • Location:Sacramento, CA

Posted 09 November 2012 - 09:16 AM

Hi Guys,
I am not a linux guru and I am still learning it. Installed apache/http package on box. The error_log file is getting huge and I am trying to figure out how to make that file roll or file be deleted after certain number of days. Is there a line I can use in the httpd.conf file?

Thank you for any help..
Posted Image

#2 Nerm

Nerm

    OCC Beefcake

  • Forum Admin
  • PipPipPipPipPipPip
  • 9479 posts
  • Gender:Male
  • Location:Madison, IN

Posted 09 November 2012 - 09:26 AM

I use bash or php scripts in conjunction with cron jobs for this type of thing. Just google those and you will see all kinds of howto's etc.

Rig #1 :: Q6600 @ 3.8Ghz :: 2x HD4850 Crossfire :: Asus P5K3 Premium Black Pearl ::

Rig #2 :: i7-3930K @ 4Ghz :: 32GB G.Skill Ripjaws Z Series :: Evga GTX 670 :: Asus P9X79 Pro :: OCZ Vertex 256GB SSD ::
HTPC :: 4850e :: HD2600xt :: Gigabyte GA-MA78GM-S2H :: 1TB Storage ::
OCC Site Rules :: Site Help FAQ :: Extreme Cooling FAQ :: OCC Benchmark Team