Forum

> > CS2D > Servers > protect folders (server stats for webserver)
Forums overviewCS2D overview Servers overviewLog in to reply

English protect folders (server stats for webserver)

9 replies
To the start Previous 1 Next To the start

moved protect folders (server stats for webserver)

Marcell
Super User Off Offline

Quote
How can i disable access to cs2d/sys/server.cfg file or same configs on linux..
because if i set chmod to disallow access by others...
then i start a server... i don't see it in serverlist...
if i enable to access by others... then start a server... the server is see in serverlist...
i already tried .htaccess but no works..
please help.

old Re: protect folders (server stats for webserver)

DC
Admin Off Offline

Quote
You can use the setting stats_folder (followed by an absolute path to the right webserver folder) to make this possible even without having the game itself in your webserver folder.

old Re: protect folders (server stats for webserver)

oxytamine
User Off Offline

Quote
user Marcell has written
really?:OO do you can complain this?

1
2
3
4
5
6
<?php
// Create a PHP page in your web directory and put this.
include "/etc/cs2d/serv/stats.html";
// Make sure you insert full path.
// Page will be available @ http://www.cs2dhungary.org/stats.php (in case you call it stats.php, of course)
?>
To the start Previous 1 Next To the start
Log in to reply Servers overviewCS2D overviewForums overview