AWstats 7.0 not updating automatically

I setup AWstats and it won't update automatically. The account that needs permissions is Internet Guest User, right? I might have missed a step that sets up new text files but after a few days it won't create the text files where the stats are stored. Also, if I manually update (command prompt), it has an error unless I manually add a text file with the correct name and manually update again.
LVL 1
rpmcclyAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
rpmcclyConnect With a Mentor Author Commented:
I used Task Scheduler to get it to automatically update.
0
 
Cris HannaCommented:
Are you running a public website on your SBS Server?
0
 
rpmcclyAuthor Commented:
Yes
0
[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

 
Cris HannaCommented:
Well first I feel obliged to point out that this is a very bad idea and threatens the security of the whole network.

With regard to your question, did the install create the http.conf file
Have you reviewed the permissions on each of the paths layed out in that file?

Have you verified the log file format according to the instructions here?
http://awstats.sourceforge.net/docs/awstats_setup.html
0
 
rpmcclyAuthor Commented:
Can you explain the security issue in more detail? Why does it threaten the security?

I used that link to set it up in the first place, the conf file the setup made was the "awstats.mysite.conf"
0
 
Cris HannaCommented:
There are a couple of issues
1. Port 80 is the singularly most attacked port on the internet
2. Allowing anonymous access to your server creates the potential for folks to drop all kinds of bad things on the server

Secondly,  having apache and iis on the same box is going to eventually cause port/application conflicts

I understand the site was created but inside the http.conf file it should spell out the path and format for your logging.   That's where you'll need to verify permissions
0
 
rpmcclyAuthor Commented:
Are you thinking it is a bad idea because of giving rights to the Internet Guest account? I could see why you would say that but if they are only given rights to the folders where the txt log files are, they shouldn't be able to get into anything correct?
0
 
Cris HannaCommented:
Hosting any public facing website on port 80 and is open to the entire world is a huge security risk.  None of my customers host their public website on their SBS server because of the risk to their confidential information.   And no company I've ever worked for in the past has ever hosted their public website on their server that also hosts their private information

Web servers which face the public are always stand alone boxes which have no direct connection to the private servers
0
 
rpmcclyAuthor Commented:
ok, I might look into getting another computer for the public website. It would still have to be on the network though right? When you say direct connection, what do you mean? Would it be fairly simple to setup the new computer? Could I just move the files to the new computer and redirect IIS to those files? Or how would I do that?

Thanks for your concern.
0
 
Cris HannaCommented:
The new computer can be plugged into the network, but should not be joined to the domain
Give it a Static IP
Create the website on the new computer
Forward port 80 from the router to the new computer.
0
 
rpmcclyAuthor Commented:
I have the manual update working now but how do I get it to automatically update?
0
 
rpmcclyAuthor Commented:
Make a shortcut to your awstats with the update command. Then schedule a task, starting in your perl folder then where your awstats file is.
0
All Courses

From novice to tech pro — start learning today.