Need a little advice for Apache

Bleep

Diamond Member
Oct 9, 1999
3,972
0
0
The problem I am having is I cannot acess the acess log for my server unless I shut down Apache first, it tells me that the log files are being used by another application. Any way around this?
Secondly I get about a ton of scans a day for Nimbda and the Google robot is killing me even though I contacted Google and they said my site name would be taken off there scan. As a result I want to run my site off of another port like 5050 or something like that. Is all I have to do is change the listen port in Apache to 5050---->forward the site to port 5050 on my router? Also what do I add to my url to send the request to 5050? I am using dynu for my forwarding service.

Thanks
Bleep
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Read up on using robots.txt to have google skip over you.

As for the log file thing, it's a Windows-ism that you can't open already open files. There's probably a way around it, but it would require editing the source of either apache or the program you're using to open the logs, or both.