Taalasmaa Posted March 21, 2010 Share Posted March 21, 2010 Hey, I have a question about webmap.. How does it work and how do I install it to linux server? Sorry about short information Link to comment
Gamesnert Posted March 21, 2010 Share Posted March 21, 2010 what is "webmap"? It is exactly as name suggests. Anyway, webmap should be on your server by default. Type "start webmap" in your server console and connect to your server through your internet browser: (not MTA itself) http://: For instance, if running a local server with HTTP port of 22005: http://127.0.0.1:22005 You should connect to the server, and you should now be prompted to enter your username and password. Enter the username and password of an account with admin rights in-game. Now look on the left of the screen, there should be something called "webmap" there. Click on it and there it is, you can now see where everyone is on your server without being on it. Link to comment
Taalasmaa Posted March 21, 2010 Author Share Posted March 21, 2010 what is "webmap"? It is exactly as name suggests. Anyway, webmap should be on your server by default. Type "start webmap" in your server console and connect to your server through your internet browser: (not MTA itself) http://: For instance, if running a local server with HTTP port of 22005: http://127.0.0.1:22005 You should connect to the server, and you should now be prompted to enter your username and password. Enter the username and password of an account with admin rights in-game. Now look on the left of the screen, there should be something called "webmap" there. Click on it and there it is, you can now see where everyone is on your server without being on it. Working now. Is there way to make it visible for everyone, because currently only accounts who have admin rights, can connect.. This would be good if everybody could see webmap Link to comment
Gamesnert Posted March 21, 2010 Share Posted March 21, 2010 Look up "general.http" in your ACL file. Give rights to it to whoever you want. Note though that this also allows them to access stuff like webadmin; So be sure to stop webadmin or block them from accessing it using httpRequestLogin. (Note: This function has to be used in HTML files, NOT LUA) Link to comment
eAi Posted March 23, 2010 Share Posted March 23, 2010 You can block HTTP access to individual resources in the ACL too. Link to comment
Axis Posted June 6, 2011 Share Posted June 6, 2011 How about the contrary? Can you allow HTTP access to individual resources in the ACL? That would be alot better security-wise. Because I found this information on a resource's comment page: #15 [DRuG]NikT I found after fiddling a bit that I was able to get it working using the acl.xml modding instructions included in 50p's advice for the webmap resource... edit your default acl group adding then EDITING to add this to any groups you want to be able to see theese resources Following this, I am now able to access the web scoreboard without a password, thus allowing it's use on our site. Wich (modified) could make the Webmap show and yet restrict Admin Access. But that would also allow HTTP access to any other resource as well. It would require us to manually update the ACL file with any new resource we add in order to restrict HTTP Access. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now