What is complicated ruins the beautiness of fun.
And also i am familiar with that release ive been developing on it since it came out and i love it and i still use it.
Printable View
I do have a question though...
Whenever I am trying to access pwAdmin from the outside, as example my phone's 3G network, it simply gives me the following message: "HTTP Status 403 - Access to the specific resource () has been forbidden."
I have opened both 8080 and 8443, but somehow this error keeps showing up.
No clue what I am overlooking at this point o.o (Unless the SQL also has to be open, but I can't imagine that it has something to do with this error)
What have you opened the ports on? Depending on your setup, if you have a firewall on Ubuntu it would need to be opened there, router? it would need to be opened there, do you have dsl? does that modem have a built in firewall? It would need to be opened there.
I can assure you this package does work, and is beyond simple to install, modify and use. Not trying to be rude, but if you can't run this package you don't need to run a server.
What ip are you using to connect? also are you connected to the same internet as the host computer or using the service providers internet for your cellphone?
If you are connected to the same wifi as the computer did you try to use the lanIP? and if that didnt work what happened when you used the wanip?
Connecting through the same network to my server on cable and wifi works perfectly fine without restrictions or errors, ports are opened and checked through some website where you can check if you ports appears to open or not. Still, from what I've understand from Post #2 , 8443 is being used for pwAdmin, this was also opened(which is even warned that it actually shouldn't be opened), but still results into "HTTP Status 403 - Access to the specific resource () has been forbidden." once I try it out through my cellphone's 3G network.
Should have followed the ports instructions precisely, so I don't know what I am overlooking. Unless some configuration file from tomcat needs some editing?
Second... I thought the forum was also meant to help and sharing stuff, it's kinda rude to post such thing as: "I can assure you this package does work, and is beyond simple to install, modify and use. Not trying to be rude, but if you can't run this package you don't need to run a server."
If you don't want to be rude, you should have left that message out imo...
Ehm... If I can't run the package, why does port 80 site work from the outside then? And why is the game server running just fine even from outside my local network.
The only thing that appears to be working beyond my knowledge is Tomcat, where I thought all I had to do was opening 8080 and 8443. Appears to be thinking wrong there. Even google doesn't help me that much resolving the error, this is also why I've been posting this on the forum in the hope of finding a solution for it.
However this is what I am seeing once I am trying to access pwAdmin from outside my local network.
Inside my network appears to working just fine, no matter from which PC in the network I'm accessing it.
Well, the thing is i cant mount it. Maybe i do it wrong or my computer is bad... Anyway here is the pic http://imgur.com/SWuaDT0
Thanks in advance!
When not on your network, ie on 3g, are you trying to connect with the internal ip, or the external?
External gives the error in the first screenshot.
Probably something with permissions from Tomcat I assume?
Going to 8080 just gives a blanc white page(which is normal, since there's nothing there only folders), which iweb and pwAdmin gives the 403 error from the screenshot.
The error only happen while a connection from the outside tries to fetch the page.
From a computer in the local network, it does work perfectly fine.
The issue is just from the External ways.
Ehh guys, i have installed ubuntu server with Vbox but now, how do i "mount/burn the ISO and run the corresponding installation for it. "./install-pw" will install v136, "./install-131" " in vbox? ;*$
@R3zonance
For security purposes (and the audience this package was designed for in mind), all access to pwAdmin and the "admin" like aspects have been forbidden from external networks. This was accomplished by .htaccess and by tomcat / valve.
I would suggest not eliminating it, but customizing it to fit your needs (assuming you're an advanced user this will be no problem for you).
Simply change or add IP's you want to ALLOW in .htaccess
IE: (current setup)
order deny,allow
deny from all
allow from 127.0.0.0/255.0.0.0
allow from 10.0.0.0/255.0.0.0
allow from 192.0.0.0/255.0.0.0
allow from 172.0.0.0/255.0.0.0
That's just the 'basic' HTTPD security included in this package, add or change that accordingly in ../htdocs/admin/.htaccess
In order to change tomcat / valve, the following is the default set up of this package:
<Valve className="org.apache.catalina.valves.RemoteAddrValve" deny="*" allow="127.*.*.*,10.*.*.*,192.*.*.*,172.*.*.*" />
That's the basic valve security I implemented in tomcat, that can be located in ../webapps/{appname}/META-INF/context.xml
I would not suggest removing those defaults, as those will continue to permit access from a local network, I would suggest adding external IP's (or subnets) that you trust to connect to administrative pages. If you remove this basic security all together then anyone will be able to (or attempt to) connect to your administrative pages (which ya' don't want!)...
~343
Works fine now, ty 343 <3
Oh yea, and do not regard post #2 , that's only here for historical purposes (you no longer have to open 8443 either, and with the most current release there's only ONE instance of tomcat - as where with the first [historical release] there were actually two (redundant copies of) tomcat.
:wink:
and you're welcome :D:
Okay so i have a request,
Can someone please show me where the moon texture is in the files? not show me but tell me where they are / what it is called?
the version im looking for (because i don't know if it changed from 1.3.6 - 1.4.6) but im looking for the 1.4.6 moon texture file.
any help is much appreciated.
This has been asked before, however in the spirit of helping. It is called, are you ready?.........moon
textures.pck.files\textures\nature is the location, there is a dds and a tga, not sure which it reads from though, can't remember.