• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Error downloading http://...login.php - server replied: Forbidden

boby psaico

Member
Joined
Oct 17, 2009
Messages
84
Reaction score
5
Hello for everyone.

I was absent from OTserv for 5 years and now I decided to open a new server just to 4fun with some friends.
But as usual I got some problems on it.

What I did until now:
  • I've downloaded this server: Qwizer/realmap11 (https://github.com/Qwizer/realmap11)
  • I'm hosting a database using Uniform Server 13.3.2
  • Changed the Apache standard port 80 to 8090 and 443 to 4499 on Uniform Server
  • I'm using GesiorAAC
  • I've downloaded client from: Qwizer/tools (https://github.com/Qwizer/tools)
  • I've already imported a schema mysql.sql to database
  • I've created a domain: napaot3.servegame.com on noip.com
  • I've put my IPv4 and the created domain on Hosts (system32) (192.168.1.100 napaot3.servegame.com)
  • I edited a client IP using hex editor.
35332

- I created forwarding ports and virtual servers on my router (pics below) and also added them on Windows Firewall
35328
35329
35330

- My router model is TP-LINK TL-WR741ND and its connected to a provider modem.
When I run the server using IP 127.0.0.1 on config.lua everything works well. In the website I can create an account as well as characters, and also I'm able to login in game with it.
When I put my domain (napaot3.servegame.com) on config.lua I cannot either login in game or website.
What am I missing? Any suggestions?

The error:
35331
 
Solution
You need to remove the .htaccess file that restricts anything that is not localhost/127.0.0.1/::1 from accessing your web service. This is default configuration on Uniform Server. For security reasons.

In:
UniServerZ\vhosts\yourDomain\

or in:
UniServerZ\www\

Remove this .htaccess file (might be a hidden file depending on your file explorers configuration)
Code:
#------------------------------------------------------------------------------
# This file provides server security limiting access to the localhost only.
# Comment next four lines to deactivate. (Allows external access)
#------------------------------------------------------------------------------

Order Deny,Allow
Deny from all
Allow from 127.0.0.1
Allow from ::1...
Hello for everyone.

I was absent from OTserv for 5 years and now I decided to open a new server just to 4fun with some friends.
But as usual I got some problems on it.

What I did until now:
  • I've downloaded this server: Qwizer/realmap11 (https://github.com/Qwizer/realmap11)
  • I'm hosting a database using Uniform Server 13.3.2
  • Changed the Apache standard port 80 to 8090 and 443 to 4499 on Uniform Server
  • I'm using GesiorAAC
  • I've downloaded client from: Qwizer/tools (https://github.com/Qwizer/tools)
  • I've already imported a schema mysql.sql to database
  • I've created a domain: napaot3.servegame.com on noip.com
  • I've put my IPv4 and the created domain on Hosts (system32) (192.168.1.100 napaot3.servegame.com)
  • I edited a client IP using hex editor.
View attachment 35332

- I created forwarding ports and virtual servers on my router (pics below) and also added them on Windows Firewall
View attachment 35328
View attachment 35329
View attachment 35330

- My router model is TP-LINK TL-WR741ND and its connected to a provider modem.
When I run the server using IP 127.0.0.1 on config.lua everything works well. In the website I can create an account as well as characters, and also I'm able to login in game with it.
When I put my domain (napaot3.servegame.com) on config.lua I cannot either login in game or website.
What am I missing? Any suggestions?

The error:
View attachment 35331
No-ip will not update the information right away.

Port 3306 is normally used for a database why would you port forward that?
Also have you tried pinging the ip/dns?

Just open a command prompt and type
Code:
ping napaot3.servegame.com

Also this is not your ip
Code:
192.168.1.100

It's your sub-ip on the network, go to whatismyip.com and register that with no-ip it will say on the page where X is a number
Code:
Your Public IPv4 is:XXX:XXX:XXX:XXX

oh and thanks for the links!
 
You need to remove the .htaccess file that restricts anything that is not localhost/127.0.0.1/::1 from accessing your web service. This is default configuration on Uniform Server. For security reasons.

In:
UniServerZ\vhosts\yourDomain\

or in:
UniServerZ\www\

Remove this .htaccess file (might be a hidden file depending on your file explorers configuration)
Code:
#------------------------------------------------------------------------------
# This file provides server security limiting access to the localhost only.
# Comment next four lines to deactivate. (Allows external access)
#------------------------------------------------------------------------------

Order Deny,Allow
Deny from all
Allow from 127.0.0.1
Allow from ::1

#------------------------------------------------------------------------------
# To allow execution of cgi scripts in this directory uncomment next two lines.
#------------------------------------------------------------------------------.

AddHandler cgi-script .bat .exe .pl .cgi
Options +ExecCGI +FollowSymLinks
 
Last edited:
Solution
Steve and Znote, thank you both for the answers.
I removed the .htaccess file from UniServer folder and it worked fine! That was why I had problems.

Thanks a lot!
 
Back
Top