Awstat was installed in the server. Does it need to be installed as app for each website?
First of all I will be very thankful to "DatatechUK" to providing us a very good powershell script for solidcp.
I successfully executed the script and installed awstats.
'DatatechUK' Thanks again for this distribution.
@Trabanom , You have to set the 'statistics' option in hosting plan under solidcp.Each site configuration file automatically created at back end in Awstats folder.
Best Regards,
Talha Mansoor
Talha,
Thanks for your answer. I saw Awstat in webapp gallery, so I thought it was neede to each website. Again, thanks.
Dear DatatechUK,
Thank you so much for the helpful script, btw i found a bug at line 2096:
(New-Object System.Net.WebClient).DownloadFile("http://installer.solidcp.com/Files/stable/Tools/SolidCP-AWStatsViewer-$dSolidCPversion.zip", "C:_Install FilesAwStatsSolidCP-AWStatsViewer-$dSolidCPversion.zip")
Have to change to:
(New-Object System.Net.WebClient).DownloadFile("http://installer.solidcp.com/Files/stable/Tools/SolidCP-AWStatsViewer.zip", "C:_Install FilesAwStatsSolidCP-AWStatsViewer.zip")
And second things is about "Function FixServer2012UAC()", seem youre script only specific on C:, but mine is on D:, is the best if you can make an options to ask where the HostingSpaces located.
Anyway your script is marvelous, good job bro.
TQ
Dear Talha,
I have setup Awstat success, but when add service Awstat on SolidCP error.
Add New Service in Server
The expected version of the software is not found on your server.
Service group name:
Statistics
Service name:
Service provider:
<Select Provider>
AWStats Statistics Service
SmarterStats 3.x
SmarterStats 4.x
SmarterStats 5.x +