Exporting PPStats to another web server

Dougal

Senior member
Oct 10, 1999
552
0
0
Hi All. This is a bity of a long one but bear with me.

I have a bit of a problem that I hope one of the coding gurus on Team Anandtech can help he with. I have a system at the moment where the byhost.html page from my internal PProxy at work is uploaded to the works web server so I can check on things from the "real world". The problem I have though is that all of the links to the images and shortcuts point back to the original web server which is a Win95 PC running Personal Web Server and unfortunately it's not accessible from outside the firewall. The stats are generated from another PC in work and sent to the internal web server so all the paths still point to the PWS machine and to folders that the external web server can't see.

Does anyone know of an easy and automatic way to get the byhost.html page re-written to point to a set of local files?

I know it's a bit complicated but if I could find some way to crack this it would be great.

Thanks,

Martin
 

Sloth

Senior member
Oct 21, 1999
243
0
0
You should be able to do what you are looking for in the ini file.
I have mine set up to run the app on one machine and to put the output on a different drive.

#--- Output Options ----------------------------------------------------------
# Full path to output file location. This should end in a "/".
HtmlDir = "//crusty/published/webfiles/"

# Full URL of output web file location. This should end in a "/".
HtmlRoot = "http://www.yoursiteherr.com/"

Crusty is the name of the system that holds my pages with "published" ad the drive name and "webfiles" the directory where everything is. I have full access to the published drive so there is no problem with righting the files there.

The url is one that has access to the rest of the world. That way the rest of the pages point to the right place for their links. (http://www.yousitehere.com/byhost.html)


S.
 

Dougal

Senior member
Oct 10, 1999
552
0
0
Hi Sloath,

I'm not sure if that will give me exactly what I need but it's certainly worth a try. I'll have a go from work tommorrow.

Thanks