You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jonas Voss <jo...@gmail.com> on 2004/09/09 11:23:58 UTC

svn, mod_dav_svn, and two apaches

Hi there,

I run my own apache 1.3.29 webserver [OS X 10.3.5 client) at home,
serving webpages. I installed apache 2.0.50 with darwinports, and set
it to listen to port 8800 for svn. I pretty much followed the tutorial
from O'reilly:

http://www.macdevcenter.com/pub/a/mac/2004/08/10/subversion.html

Now, If I point my browser to http://mydomain.com:8800/svn/, it times
out, But if I point it to http://localhost:8800/svn/ it works fine.

I would like it to be able to work on http://mydomain.com:8800/svn as
well, otherwise having the webenabled view of the repository seems
kind of useless.

I've look in the subversion manual (the pdf-version) from the website,
and it says it's easy, just set it up to listen on a different port,
and the two apaches will happily work together. I think that's what I
did, but could there be any obvious points I am missing here? Maybe
some DNS kung fu or somesuch?

The only things I've modified in httpd.conf are the things pointed out
in the article from O'reilly, those being:

* Change the port it listens on.
* Add the <Location /svn> directive at the end of the file.

Anyone feels like swinging the cluebat  at me? (:

Cheers, Jonas

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

RE: svn, mod_dav_svn, and two apaches

Posted by bruce <be...@earthlink.net>.
jonas...

i've come in on the tail of this thread....

so, simplify. do you already have the ability to create/see a simple test
site from your apache server via http://myserver/testpage.html.

i want to make sure that you actually have apache setup correctly to allow
websites/information to be sent/received by the httpd/apache.

if this works, then it says that apache itself is running ok, and that we
can look to the issue of possible port problems.

also, do you have multiple systems behind your firewall, or only the single
system??

-bruce


-----Original Message-----
From: Jonas Voss [mailto:jonas.voss@gmail.com]
Sent: Thursday, September 09, 2004 4:59 AM
To: Anthony Metcalf
Cc: users@subversion.tigris.org
Subject: Re: svn, mod_dav_svn, and two apaches


Hi Anthony,

Thanks for your reply.

On Thu, 9 Sep 2004 12:34:25 +0100, Anthony Metcalf
<an...@anferny.ath.cx> wrote:

> Does you isp block 8080? RThat it works using localhost says to me its
set-up right,
> but something is blocking the 8080 port outside of localhost. First guess
is you isp,
> second is your firewall.

Oh, I completely forgot all that firewall hoohaa. I've disabled the
firewall on the box, so that shouldn't be a problem, and I've set port
forward up to point requests on port 8800 to the ip address of the box
with the apaches on it.

My ISP could very well be blocking port 8800. I'll look into that.

Cheers, Jonas

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svn, mod_dav_svn, and two apaches

Posted by Jonas Voss <jo...@gmail.com>.
Hi Anthony,

Thanks for your reply.

On Thu, 9 Sep 2004 12:34:25 +0100, Anthony Metcalf
<an...@anferny.ath.cx> wrote:

> Does you isp block 8080? RThat it works using localhost says to me its set-up right,
> but something is blocking the 8080 port outside of localhost. First guess is you isp,
> second is your firewall.

Oh, I completely forgot all that firewall hoohaa. I've disabled the
firewall on the box, so that shouldn't be a problem, and I've set port
forward up to point requests on port 8800 to the ip address of the box
with the apaches on it.

My ISP could very well be blocking port 8800. I'll look into that.

Cheers, Jonas

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svn, mod_dav_svn, and two apaches

Posted by Anthony Metcalf <an...@anferny.ath.cx>.
On Thu, 9 Sep 2004 13:23:58 +0200
Jonas Voss <jo...@gmail.com> wrote:

> Hi there,
> 
> I run my own apache 1.3.29 webserver [OS X 10.3.5 client) at home,
> serving webpages. I installed apache 2.0.50 with darwinports, and set
> it to listen to port 8800 for svn. I pretty much followed the tutorial
> from O'reilly:
> 
> http://www.macdevcenter.com/pub/a/mac/2004/08/10/subversion.html
> 
> Now, If I point my browser to http://mydomain.com:8800/svn/, it times
> out, But if I point it to http://localhost:8800/svn/ it works fine.
> 

Does you isp block 8080? RThat it works using localhost says to me its set-up right, but something is blocking the 8080 port outside of localhost. First guess is you isp, second is your firewall.

Re: svn, mod_dav_svn, and two apaches

Posted by Jonas Voss <jo...@gmail.com>.
On Thu, 9 Sep 2004 14:22:13 +0200, Jonas Voss <jo...@gmail.com> wrote:

[,,,]

> It  really *does* sound like a firewall problem, but i am sure I
> disabled it. I might have to be thoroughly whipped if I actully
> enabled it again, and tried other troubleshooting things.

And so it went. The Firewall was on <smack>.

Digging into the ipfw rules, it turned out there was one denying all
traffic to and from my machine, right after allowing all traffic to
flow to and from my machine on port 8800. Deleting that rule, and
apache happily answers calls on port 8800.

Congratulations on your puny brain Jonas.

So, who will take the first swing at me? Now-now, you can't all do it
at once, please form a line, and you will get your chance.

Thank you (:

Cheers, Jonas

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svn, mod_dav_svn, and two apaches

Posted by Jonas Voss <jo...@gmail.com>.
Hi Helge,

Thanks for your reply.

On Thu, 9 Sep 2004 13:42:24 +0200, Helge Jung
<he...@eco-logic-software.de> wrote:

> I assume you are directly connected to the internet and your machine is
> mydomain.com, right?

Yes, well, I am behind a router, but otherwise I am directly
connected. Usually I can connect to mydomain.com from my own machine,
and get through to it properly (as if I wasn't on the network).

> So if you are able to connect by accessing
> localhost and not over the net the problem is most likely your
> firewall. Easy to understand if you make yourself clear what's going
> on:
> 
> 1) command: connect to mydomain.com
> 2) dns-lookup mydomain.com -> 1.2.3.4
> 3) connect to 1.2.3.4
> 4) 1.2.3.4 (your machine) denied access over the internet from 1.2.3.4
>    (because it assumes that local traffic is done local, too - don't
>     change this behaviour!)
> 5) the connect times out or fails
> 
> The solution is easy: in /etc/hosts just add a line saying "127.0.0.1
> mydomain.com" (on Windoze it's <WinDir>\System32\drivers\etc\hosts) so
> that in future all requests to mydomain.com are resolved to localhost.
> By the way, if you have no access restrictions in Apache you should be
> able to connect to mydomain.com from anywhere else but your network.

I've tried adding the entry to my /etc/hosts file, but it doesn't
change the behaviour. Still times out.

I've disabled the firewall on the box, and aparently it isn't my ISP
that is blocking port 8800, as a tcpdump on port 8800 shows plenty of
traffic coming in (in a telnet session), but nothing coming out.
Fishy.

It  really *does* sound like a firewall problem, but i am sure I
disabled it. I might have to be thoroughly whipped if I actully
enabled it again, and tried other troubleshooting things.

> If you're not on mydomain.com which is connected to the internet then
> forget about everything I wrote above ;-)

I was, so should work. (:

Cheers, Jonas

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svn, mod_dav_svn, and two apaches

Posted by Helge Jung <he...@eco-logic-software.de>.
Jonas Voss wrote:
> Now, If I point my browser to http://mydomain.com:8800/svn/, it times
> out, But if I point it to http://localhost:8800/svn/ it works fine.

I assume you are directly connected to the internet and your machine is 
mydomain.com, right? So if you are able to connect by accessing 
localhost and not over the net the problem is most likely your 
firewall. Easy to understand if you make yourself clear what's going 
on: 

1) command: connect to mydomain.com
2) dns-lookup mydomain.com -> 1.2.3.4
3) connect to 1.2.3.4
4) 1.2.3.4 (your machine) denied access over the internet from 1.2.3.4
   (because it assumes that local traffic is done local, too - don't 
    change this behaviour!)
5) the connect times out or fails

The solution is easy: in /etc/hosts just add a line saying "127.0.0.1 
mydomain.com" (on Windoze it's <WinDir>\System32\drivers\etc\hosts) so 
that in future all requests to mydomain.com are resolved to localhost. 
By the way, if you have no access restrictions in Apache you should be 
able to connect to mydomain.com from anywhere else but your network.

If you're not on mydomain.com which is connected to the internet then 
forget about everything I wrote above ;-)

Good luck,
  Helge Jung

-- 
CityMaxx24 Development Team
http://www.citymaxx24.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org