I have a redmine server running on ubuntu. I also host an svn repository on the same server.
The svn virtual directory has authorization restrictions per user, but I want to allow the redmine application to be able to access it without providing username.
So, I have put: "Allow from 10.10.10.10", which is the external IP of the server, and it works OK.
But I would like to put the real host name there, and not the external IP.
# dnsdpmainname mydomain.com # hostname myserver.mydomain.com # ping myserver PING myserver.mydomain.com (10.10.10.10) ... works
BUT ..
# ping myserver.mydomain.com PING myserver.mydomain.com (127.0.1.1) ... also works, but different IP
I have tried to use both myserver and myserver.mydomain.com in the "Allow from" directive, but none of this works.
I guess the problem is somewhere in the fact that myserver and myserver.mydomain.com resolve to different IPs - one to the external IP, and one of some internal.
Any idea how to fix this? I'd prefer to use a hostname in the Allow directive, and not the IP address (which in theory may change).
Thanks