Jump to content
Dustloop Forums

IreulTheSlayer

Members
  • Posts

    35
  • Joined

  • Last visited

Everything posted by IreulTheSlayer

  1. //Jais you have to map ports for both TCP and UDP, not TCP only like you did.
  2. How to set up a server running M$ Windoze: 1) Get Apache 2.2.4 for Windoze. http://httpd.apache.org/download.cgi 2) Get ActivePerl for Windoze. http://www.activestate.com/Products/ActivePerl/ 3) Install both. Then you have to edit httpd.conf by going to Start -> Programs -> Apache HTTP Server 2.2.4 -> Configure Apache Server -> Edit the Apache httpd.conf... There you have to find line #ScriptInterpreterSource registry And remove # at the beginning of this line, so it would look like ScriptInterpreterSource registry 4) rename ggnlobby.cgi to ggnlobby.pl 5) Change the first line of ggnlobby.pl to: #!C:\Program%20Files\Perl\Bin Where C:\Program%20Files\Perl\Bin is a directory where perl.exe is located, and %20 should be used instead of space. With ActivePerl, it might be C:\perl\bin 6) Put ggnlobby.pl into cgi-bin folder of Apache installation. 7) Run Apache. You can test if it is working by typing http://127.0.0.1/cgi-bin/ggnlobby.pl in your browser and if you see "user count = 0" - it's working, and if you see "Internal Server Error" - then it's not. Don't forget you have to reboot your PC and configure your firewall for Apache. The URL we have to input in ggxxnet_config to connect to your server will be "your_ip_or_domain_name/cgi-bin/ggnlobby.pl" You may check out server I set up on my brother's windoze machine while writing this at 89.151.141.47/cgi-bin/ggnlobby.pl, but don't expect it to be available for too long...
  3. Not quite right. I'm deep in Russia and my best connection is with EnigmaXT
  4. I tried to experiment with it - tested 7 different HTTP-servers and conclusion is: 1) Each works fine on Linux. Just needs a Perl support, since it's a Perl script. 2) On M$ Windoze, you need a Perl support, like ActivePerl, and you have to change the first line of ggnlobby.cgi to: #!(path to perl.exe here, without trailing '\' and 'perl.exe' itself) Example: #!C:\Program Files\Perl\bin Apache worked just like that, and almost all servers did it after renaming of ggnlobby.cgi to ggnlobby.pl Don't forget it should be laying in CGI-enabled folder. That's "cgi-bin" by default. Almost forgot - couldn't get it to work with port other than 80...
  5. You can't do that to make CGI-script work, man. Need an HTTP-server.
  6. IreulTheSlayer | RUS-IREUL | Russia, Cheboksary | Delay 6
×
×
  • Create New...