hkewell

Well-Known Member
May 17, 2002
170
0
316
/usr ... coming full ... pls help me ...

How to move /usr/local/apache/domlogs to other folder ?

Which one command for type ???

And Which one file for edit &/usr/local/apache/domlogs to /var/log/httpd/domlogs/& ????

Please help me !

Thanks
 

ecoutez

Well-Known Member
May 23, 2002
152
0
316
Try this...

Stop Apache:
/usr/local/apache/bin/apachectl stop

Move logs to new directory:
mv /usr/local/apache/domlogs /var/log/httpd/

Create symbolic link:
ln -s /var/log/httpd/domlogs /usr/local/apache/domlogs

Start Apache:
/usr/local/apache/bin/apachectl startssl
(or Restart via WHM)

In this manner, Apache will still log to /usr/local/apache/domlogs, but this directory is actually a symbolic link to a directory on your /var partition. Therefore you won't have to worry about changing Apache configuration, log rotations, log analysis, etc.

- Jason