Forums
| BF2Statistics.com :: Forums :: General :: BF2 Server Administration |
|
<< Previous thread | Next thread >> |
| Cant assess Bf2statistics admin | ||
| Go to page >> | |
|
Moderators: MrNiceGuy, Twhyman, Chump, hurr1k4ne, The Shadow, Wilson212
|
| Author | Post | ||
| sumknt |
| ||
![]() Registered Member #6222 Joined: Mon Apr 06 2009, 02:04AMPosts: 9 | hi i have installed iis7, php 5.2.9.9 and mssql server express 2008. i have php running and tested with iis7 working ok. for some reason when i try to log onto localhost/asp i get error message "ERROR: You are NOT Authorised to access this Page!" i have added my ip to hosts array also tried hosts array 0.0.0.0/0 but still get same error. tested with both firewall on and off. any ideas on what i am doing wrong? [ Edited Sat May 09 2009, 07:45PM ] | ||
| Back to top | | ||
| Leon_tbk |
| ||
Leon_tbk![]() Registered Member #4870 Joined: Thu Apr 03 2008, 04:11AMLocation: Deutschland Posts: 99 | The right Key in ASP/_config.php is $admin_hosts = array('127.0.0.1','192.168.178.0/24'); 127.0.0.1 = Access from Localhost 192.168.178.0/24 = Access in HomeNet | ||
| Back to top |
| ||
| sumknt |
| ||
![]() Registered Member #6222 Joined: Mon Apr 06 2009, 02:04AMPosts: 9 | yes i have tried that but still not working. is it possable that php cant see my ip? | ||
| Back to top | | ||
| Leon_tbk |
| ||
Leon_tbk![]() Registered Member #4870 Joined: Thu Apr 03 2008, 04:11AMLocation: Deutschland Posts: 99 | If everything is set correctly, php has no problem to identify your IP. Three questions. 1. Runs the server in a home network, or is the server externally. 2. If there is an external server, you have a permanent Internet connection at home with a fixed IP? 3. If there is a home network is the IP range 192.168.178.0/24 for your home network is valid? | ||
| Back to top |
| ||
| sumknt |
| ||
![]() Registered Member #6222 Joined: Mon Apr 06 2009, 02:04AMPosts: 9 | i have webserver running on machine im trying to log on with. my local ip is 192.168.2.251. i have a network switch with ip 192.168.2.1 and my gaming comp with ip 192.168.2.232 . i get same response from both computers. | ||
| Back to top | | ||
| sumknt |
| ||
![]() Registered Member #6222 Joined: Mon Apr 06 2009, 02:04AMPosts: 9 | is it to do with dchp? | ||
| Back to top | | ||
| Leon_tbk |
| ||
Leon_tbk![]() Registered Member #4870 Joined: Thu Apr 03 2008, 04:11AMLocation: Deutschland Posts: 99 | The server should have a fixed IP address, no DHCP support. (Is easier and prevents mistakes.) The _config.php for you, should look something like this: $ admin_hosts = array ('127 .0.0.1 ','192 .168.2.0/24'); Do you have a browser on the server, can you visit the page on the server with 'http://127.0.0.1/asp' call? | ||
| Back to top |
| ||
| sumknt |
| ||
![]() Registered Member #6222 Joined: Mon Apr 06 2009, 02:04AMPosts: 9 | ok that maybe the problem. doesnt connect with that address. only http//localhost/asp | ||
| Back to top | | ||
| sumknt |
| ||
![]() Registered Member #6222 Joined: Mon Apr 06 2009, 02:04AMPosts: 9 | ok i have it working with 127.0.0.1 but still get the error message. | ||
| Back to top | | ||
| Leon_tbk |
| ||
Leon_tbk![]() Registered Member #4870 Joined: Thu Apr 03 2008, 04:11AMLocation: Deutschland Posts: 99 | I'm sorry, I did not understand. The call 127.0.0.1/ASP works? The call from another PC does not work? Or what? | ||
| Back to top |
| ||
| Go to page >> | |
|
|
|
Powered by e107 Forum System








