05-21-2009, 03:17 AM
Yes. The configuration is inside the program file itself, so it requires restart on changes.
Have you got the rates.html somewhere?
Have you got the rates.html somewhere?
|
Player rate tracking system using Linux's firewall (iptables)
|
|
05-21-2009, 03:17 AM
Yes. The configuration is inside the program file itself, so it requires restart on changes.
Have you got the rates.html somewhere?
error:
Code: Can't locate Date/Format.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /srcds/ratetables/ratetables3.pl line 168.
05-22-2009, 02:17 AM
OK. This is because you don't have perl's Date::Format module installed.
You can install RPM package perl-TimeDate to install it. If you're on debian it's called libtimedate-perl. See either of these: RPM: http://dag.wieers.com/rpm/packages/perl-TimeDate/ (rpm -Uvh perl-TimeDate-1.16-1.2.el5.rf.noarch.rpm) DEB: http://packages.debian.org/lenny/libtimedate-perl (apt-get install libtimedate-perl) If you're hard core Linux user then you obviously use CPAN: 1. perl -MCPAN -e shell 2. install Date::Format
Ok now it is running
will get back with a link when i finds it hehe hardcore nah... ![]() cant find rates.html
05-22-2009, 04:25 AM
Does it say something about HTML::Template when you start the script now?
You also need HTML::Template perl modele ( http://dag.wieers.com/rpm/packages/perl-HTML-Template/ ) The configuration variable is "htmlfile" Code: htmlfile => "/home/user/public_html/rates.html"
05-22-2009, 04:56 AM
it starts fine now
have installed the template for html but it is not created any file anywhere
05-22-2009, 10:00 PM
Doesn't it say any error? Have you verified the "htmlfile" configuration setting is something sensible?
Was drunk during the installation. Will look at it now again. But htmlfile config? explain more
htmlfile => "/home/user/public_html/rates.html", ^ is unchanged... perhaps change the bold ^ to root or what? but i have my ratetracking installed into. Dont uses my home dir for my servers at all /srcds/ratetables
05-25-2009, 01:42 AM
Now i have created the dir´s for the rates.html and chmodded it
It works but it is not accesible from the outside
/public_html/ <-- chmodded to 755 rates.html <-- chmodded to 744
05-25-2009, 04:17 AM
Correct. Do you have any files accessible from the outside? Usually on default install the public web files are at /var/www/. So if you set htmlfile => /var/www/rates.html, then you should see it at http://yourdomain.com/rates.html.
05-25-2009, 06:36 AM
No files accessible from the outside. Now i have my rates.html in /var/www
rates.html is chmodded to 744 /www/ is chmodded to 755 The file rates.html is created by the system and if i open it it shows my rate. But it is not accesable from the outside. How does i fix that?
05-25-2009, 06:54 AM
You have to have apache installed (or other web server, but apache is what everybody uses). In Ubuntu it installs with "apt-get install apache2".
worked fine. Will give you the url after i have modded the output some... tomorrow
08-29-2009, 11:12 AM
I would like to use this but the OP download link is broken/dead. Can someone upload the file(s) in question please?. Thank you!.
|
|
« Next Oldest | Next Newest »
|