.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   OT: Server Security Crap (http://forum.shrapnelgames.com/showthread.php?t=23005)

Fyron March 6th, 2005 06:48 AM

OT: Server Security Crap
 
I am going to need a volunteer that is knowledgeable about apache/linux web server raw access logs and such to help me out over the next few days to a week...

Instar March 6th, 2005 07:34 PM

Re: OT: Server Security Crap
 
call tech supp... oh wait
depends on what portion of Apache you are talking about here

Atrocities March 6th, 2005 10:33 PM

Re: OT: Server Security Crap
 
Does any one know how to purge Error_Logs? I have tried using the FTP, admin, and such to do so, but cannot touch the logs.

Gandalf Parker March 6th, 2005 11:02 PM

Re: OT: Server Security Crap
 
cp /dev/null error_log

Its an old admin trick. You cant delete a log while its open and being written to. You would have to shut down the server to rotate the files. But you can write to it. Doing a copy of /dev/null actually copies a zero byte file to it which basically restarts it on the fly.

A lot of backup programs copy the file to a backup version then "copy" a zero byte file over it


All times are GMT -4. The time now is 07:42 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.