|
Support: Tech Notes
Tech note FS1414
Description
Can I run FlashStats from the WebSTAR cgi-bin folder? [Mac]
Answer
Normally, FlashStats runs from the default document folder (ie, your main WebSTAR folder). This is fine for most users. However, if you want to move it into your cgi-bin folder, you may do so. Here's what you need to do to support this configuration:
- Copy FlashStats.acgi and FlashStats.ini into your cgi directory.
- Edit the index.html file in your FlashStats document directory. Find the line that starts with:
<form action="/FlashStats.acgi"
and change it to:
<form action="/cgi-bin/FlashStats.acgi"
- Edit the FlashStats.ini file in your cgi directory. Find the user=webstar line at the end of the file, and edit the values associated to AccessLog= and Logs= to make sure they are still correct. They are correct by default since they're relative to the main folder, but since you've moved the .acgi file into another folder you will need to change them. For example, you may need to change them from:
AccessLog=WebSTAR.log
Logs=:Archived Logs:*.log
to:
AccessLog=My Disk:WebSTAR 2.1 Folder:WebSTAR.log
Logs=My Disk:WebSTAR 2.1 Folder:Archived Logs:*.log
Of course, these two parameters need to remain on one line, instead of being on two separate lines as I've shown here for sake of example. Also, you'll need to provide a full path to the files using the actual name of your hard disk and folders; there are just some sample names.
That's all! Now you can load up the Report Request Form and generate
statistics.
|