Forums
| BF2Statistics.com :: Forums :: General :: Tech Support |
|
<< Previous thread | Next thread >> |
| cant go to asp login | ||
| Go to page >> | |
|
Moderators: MrNiceGuy, Twhyman, Chump, hurr1k4ne, The Shadow, Wilson212
|
| Author | Post | ||
| pclarmy |
| ||
![]() Registered Member #2424 Joined: Mon Nov 20 2006, 03:54PMLocation: Lemmer, Netherlands Posts: 17 | Hello, Possibly i asking stupid things now, but: This is the situation: 1. i have an webserver, where everything is installed, like mysql, php everything, whe use it for webhosting. 2. I have an dediacted gameserver, where is running bf2 unranked. The two servers have differend ip adresses, and standing in a data center. At home i have an wireless conenction to my adsl modem, whe have 2 pc`s on this modem. Now the problem: 1. When i upload ASP into my webserver. i have to point to the asp to can create database.. It says in the readme that i have to chache the ip to my home pc. So i did that, BUT..... when i point the browser to my asp dir i get error message that i have no autorisation for that site. ip wrong. duh, in _config.php i give the good one of my home pc. so, i can not install the database becouse i cant come into the website of ASP. 2. The readme files are only for install on home servers, but i have two servers running in a datacenter that is 300 km from here. So i have 1 webserver with an ip. 1 game server with other ip and my home pc with an ip that cant point to the ASP. I running crazy here becouse i realy wanna have the statistics on my server. becouse whe have a nice clan that can use it. Greetings Ed, Please someone help me out here !!!! E. Sander UNPROFOR_{PCL} | ||
| Back to top |
| ||
| gf69 |
| ||
![]() Registered Member #185 Joined: Sat Feb 04 2006, 03:30PMPosts: 21 | The ip of the box the gameserver is on has to be in the allowed list as well in the ASP | ||
| Back to top |
| ||
| pclarmy |
| ||
![]() Registered Member #2424 Joined: Mon Nov 20 2006, 03:54PMLocation: Lemmer, Netherlands Posts: 17 | dont understabd it. I have to setupo the asp database. so, i have to point to the url : This gives error that i have no premission to do this. In the readmo stays, when you are on a remoting machine have to given THAT ip adres. Ok, i am NOT working on my gameserver BUT i am working at my pc, so i ahev to point to the url from my home pc, dont get it why i have to give the ip of the gameserver instead of the ip of my home pc. | ||
| Back to top |
| ||
| The Shadow |
| ||
shadow42![]() ![]() Registered Member #1586 Joined: Tue Jun 27 2006, 02:58AMLocation: Perth, Australia Posts: 333 | That's that secuirty feature kicking in... !dodge The admin scripts, by default, block all IP's except localhost (ie, 127.0.01). You can change this by editting the _config.php directly. Look for the line: $admin_hosts = array('127.0.0.1','192.168.2.0/24'); If you add your IP address (as seen by the web server you host these scripts on), then it will work. The same goes for your game servers "$game_hosts". This check was added to stop those ppl you just like to mess with things that they shouldn't. It also help reduce data injection attacks as only those game servers on the list can send stats. Does this help? | ||
| Back to top |
| ||
| pclarmy |
| ||
![]() Registered Member #2424 Joined: Mon Nov 20 2006, 03:54PMLocation: Lemmer, Netherlands Posts: 17 | No doesnt help me. I put everything in there, even my bank account number LOL, dont work. keeps saying that i not have premission to that file. So, looks like no statistics for my server ??? [ Edited Wed Nov 22 2006, 02:51AM ] | ||
| Back to top |
| ||
| lumo |
| ||
![]() Registered Member #2325 Joined: Wed Nov 01 2006, 08:36AMPosts: 147 | try accessing via VNC | ||
| Back to top | | ||
| Inslaber |
| ||
![]() Registered Member #2184 Joined: Sun Oct 15 2006, 08:58PMLocation: Florida, USA Posts: 100 | try turning the apache server off and then turn it on again. | ||
| Back to top | | ||
| pclarmy |
| ||
![]() Registered Member #2424 Joined: Mon Nov 20 2006, 03:54PMLocation: Lemmer, Netherlands Posts: 17 | i did get the security out the index.php by putting the // before the first rules in the index.php that works so far that i get the login screen, only thing is the login screen wont work now. So have to find a way to login also. | ||
| Back to top |
| ||
| The Shadow |
| ||
shadow42![]() ![]() Registered Member #1586 Joined: Tue Jun 27 2006, 02:58AMLocation: Perth, Australia Posts: 333 | You did add your IP address, as seen by your web server (ie, external IP), to the config.php file right? I guessed your URL and ran a few tests remotely (no I don't have a backdoor, I just know the specific URLs to use). Some observations: 1) You are correct about the access denied, but this is good as it means the PHP code is working. 2) .aspx file are not being processed correctly and are return their contents and NOT the results. BAD!! 3) The login screen is not showing, therefore you still have the IP protection system in-place. 4) The system is correctly detecting IP addresses. GOOD. Post a copy of you _config.php file (mask any usernames & passwords) and I check it over for you. PM it to me direct if you prefer. Oh, what system are you using (Windows/Linux)? XAMPP, Apache, IIS? This will give me more clues as to what the issue is (and it'll be a simple one ) | ||
| Back to top |
| ||
| The Shadow |
| ||
shadow42![]() ![]() Registered Member #1586 Joined: Tue Jun 27 2006, 02:58AMLocation: Perth, Australia Posts: 333 | OK, I have worked out your web server details: Apache/1.3.37 (Unix) mod_ssl/2.8.28 OpenSSL/0.9.7a PHP/4.4.4 mod_perl/1.29 FrontPage/5.0.2.2510 So now we have to work out how to fix this. Can you please try the following: 1) Via FTP edit /ASP/_config.php to add the relevant IP addresses (0.0.0.0/0 means EVERYONE). 2) If that fails with a permision denied error, make sure the /ASP/_config.php has chmod 777 access (overkill, but...). Try the update again. 3) Check the existence of a .htaccess file and that it contains info about .aspx file. This isn't working as .aspx files aren't being processed. 4) Browse to /ASP/index.php. The default login details are: U: admin, P: password. These are case sensitive. 5) Work through the rest of the readme to complete the process. If possible, ask your HOST provider for some help. They may be able to quickly resolve any permission issues (which I believe are your main issues here). Oh, please upgrade to 1.4.2! This fixes a number of bugs. The main one is PHP 4 compatibility on Linux! This could be real root of your issues. | ||
| Back to top |
| ||
| Go to page >> | |
|
|
|
Powered by e107 Forum System







) 



