America's Army Forums
http://archive2.forum.americasarmy.com/

How to make screenshots viewable
http://archive2.forum.americasarmy.com/viewtopic.php?f=23&t=6509
Page 1 of 2

Author:  leegreaves [ Wed Jan 30, 2013 9:59 pm ]
Post subject:  How to make screenshots viewable

Ok, so as everyone probly knows, a few of us managed to iron out the minor issues we had with getting a registered server to show publicly on the steam server list which is being hosted from a home IP address. Brilliant!

I now need a new favour, well more a pointer in which direction I need to go. I have screenshots set up locally (obviously) and would like to make them publicly viewable in the standard manner as a GSP would make them, I.E. "http:\\some\IPaddress\PORT\combination\PBSS folder\PBSVSS.HTM".

How would I go about this? I'm running Windows 7, and the only thing I can think of how this would be done is to run some form of web server on the same machine as the server so that I can push the PBSS folder to be viewable as a web page. Would I need something like IIS or Apache to do this?

Maybe if theres anyone here who knows how to do that could just write a short instruction manual on this, then that would be ideal :)

Thanks!

Author:  m_hermann [ Wed Jan 30, 2013 11:25 pm ]
Post subject:  Re: How to make screenshots viewable

You are correct with the file/web server requirement. I've never done it for AA3, so I can't be of specific assistance

Author:  USA_Sammy [ Thu Jan 31, 2013 12:29 am ]
Post subject:  Re: How to make screenshots viewable

http://pewtertech.com/svss/~pbsvss.php

I run Apache, MySQL and PHP on my XP machine to host web services, I also implemented someone else's pbsvss viewer file to the screenshot folder itself and shared that folder (SVSS) as a web folder. I'll do a little write-up on it shortly after I finish my work.

You'll need: Apache (useless for anything but htm(l) unless you also install php) Use their most recent "stable" version: http://www.apache.org/

Author:  -Silversurfer- [ Thu Jan 31, 2013 4:21 pm ]
Post subject:  Re: How to make screenshots viewable

when you want it easy to handle just put XAMPP on your system.
then you have:

Apache
mysql
tomcat
Filezilla for some FTP accessfor your admins !!! try to use SFTP for secure FTP!!! FTP normal mode is hackable because password and username is viewable
Tomcat

you have to configure all utilities to make its secure.

Author:  leegreaves [ Thu Jan 31, 2013 6:39 pm ]
Post subject:  Re: How to make screenshots viewable

Thank you so far, for your advice. Keep it coming! :)

Would still like a small write up on the easiest method of configuring all modules, and in which order they should be configured prior to getting it all up online n running.

Author:  USA_Sammy [ Fri Feb 01, 2013 6:29 am ]
Post subject:  Re: How to make screenshots viewable

Download and install Apache using the default settings during the installation. In MY case, I used port 81 since my ISP has an outgoing block on port 80. Also, in MY case, I have my aa3_ds setup on an E: drive in a "Games" folder, remember to adjust all the folder locations and names to suit your own settings.

  1. Make sure your Apache server is running properly after installation. It should be accessible and already have a page that simply states, "It Works!" If this isn't the case, you'll need to go to the Apache support forums for assistance on that, then return here for a continuation of the pbsvss setup.
    .
  2. Within the httpd.conf file of Apache, make sure you have an alias for the svss folder, strict security settings on all drives, then an accessible svss folder, settings are the following;
    .
    1. Add data to http.conf file; In the <IfModule alias_module> section, add the following lines (Add the following to this section, do not add a duplicate section name):
      Code:
          # FORMAT:  Alias /webpath  /full/filesystem/path
          Alias /SVSS "E:/Games/aa3_ds/Binaries/pb/svss/"

    2. LOCK DOWN ALL DRIVES' SECURITY by adding the following lines after the aliases section (below your last section entry):
      Code:
      <Directory C:/>
          Options FollowSymLinks
          AllowOverride None
          Order deny,allow
          Deny from all
      </Directory>
      #
      <Directory D:/>
          Options FollowSymLinks
          AllowOverride None
          Order deny,allow
          Deny from all
      </Directory>
      #
      <Directory E:/>
          Options FollowSymLinks
          AllowOverride None
          Order deny,allow
          Deny from all
      </Directory>
      #

    3. Add the folder svss for sharing by adding the following lines (below your last entry):
      Code:
      # "/svss" should be changed to whatever your Alias is
       <Directory "E:/Games/aa3_ds/Binaries/pb/svss">
           AllowOverride All
           Options All Multiviews
           Order allow,deny
           Allow from all
       </Directory>

      .
  3. Use your IPAddress:Port (whatever they may be, you set the port or it defaults to 80) http://24.231.136.38:81/svss/pbsvss.htm to view the screenshots -or- optionally use a third-party viewer like this one: http://www.msgamers.com/pbssv/ which is basically, copy the file to the svss folder and then it does the rest.
    *NOTE* IF you use the 'php' file, you'll need to install PHP to your Apache server for that to function.

    .

I adjusted my php viewer just a bit to align left and provide a refresh link but other than that, this is all I had to do to get the svss visible online here: http://24.231.136.38:81/svss/~pbsvss.php (I have a DNS so this is my public but same exact place: http://pewtertech.com/svss/~pbsvss.php)

Hope this gets you going with publicly viewable screenshots :)

Author:  [VGO]mmchaos [ Fri Feb 01, 2013 6:33 am ]
Post subject:  Re: How to make screenshots viewable

sticky

Author:  GBGangsta [ Fri Feb 01, 2013 7:36 am ]
Post subject:  Re: How to make screenshots viewable

Nice guide Sammy.

Author:  leegreaves [ Fri Feb 01, 2013 1:08 pm ]
Post subject:  Re: How to make screenshots viewable

Thanks sammy, Im about to give it a go and follow these instructions step by step, I did have a go see if I could work it out myself, I think I managed to set up everything apart from the "Alias" part. Gotta say awesome and agree that may be your individual post should be copied/pasted to its OWN stickied topic! Nice work!

Author:  leegreaves [ Fri Feb 01, 2013 6:46 pm ]
Post subject:  Re: How to make screenshots viewable

*Edited this post to remove the information I had posted to avoid confusion*

Removed XAMPP and installed a copy of Apache 2.2

New post will be made referencing problems getting apache to work/

Page 1 of 2 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/