C
codesmith
Guest
We just migrated to a new CentOS 4.3 server with Plesk 8.1. Web statistic files are being downloaded by the browser instead of viewed in the browser. Looks like there's a different configuration for web stats but not sure. There's a apache conf to serve requests to DOMAIN.COM/webstat from the /statistics/webstat directory. There's also a symlink index.thml to another file awstats.DOMAIN.COM-http.html.
So the file that gets downloaded is the proper stat file but there's no extension. Perhaps that's why it's getting downloaded instead of serverd as an html file? So I'm thinking some Apache conf file problem with it being a symlink? Any ideas?
Update: just tried creating an index1.html file in the statistics/webstat/ directory and hitting it through http://www.DOMAIN.COM/webstat/index1.html. The actual file index1.html just downloads and isn't viewed in the browser. Weird.
So the file that gets downloaded is the proper stat file but there's no extension. Perhaps that's why it's getting downloaded instead of serverd as an html file? So I'm thinking some Apache conf file problem with it being a symlink? Any ideas?
Update: just tried creating an index1.html file in the statistics/webstat/ directory and hitting it through http://www.DOMAIN.COM/webstat/index1.html. The actual file index1.html just downloads and isn't viewed in the browser. Weird.