Koozali.org: home of the SME Server

Problem with my internet web server

n1546660

Problem with my internet web server
« on: May 02, 2005, 04:06:21 PM »
Hi all,

I have a problem with my internet web server.  I have the html all in place, and I can see it from the internal lan, however the problem is that my ISP blocks port 80.  No problem, I've already setup a port forwarding rule to forward port 8080 to another internal web server and that works fine.  However, I want to move the content of this internal web server to be hosted by the e-smith gateway itself.  However, port 80 is blocked by my ISP.

So what I want to know is how to configure apache and the firewall rules to allow incoming web traffic which needs to be served by the e-smith server itself to have a different port, eg 1080 or something like that?  

I assume you would wither need to set up a port forwarding rule to forward to the local-host (although this doesn't seem to work as I've already tried it)

Or you would need to setup apache to listen on a different port AND setup a hole in the firewall for that port.

Or something like that.

Can someone direct me on how best to do this?

Summary: I need to setup the e-smith server (latest version is currently running) to listen for web traffic and serve it from the local web-repository but on a different non-standard port.

Thanks guys!  I appreciate any help given!

- Andy Gray

n1546660

Problem with my internet web server
« Reply #1 on: May 03, 2005, 09:08:12 AM »
How can you setup e-smith to allow ports open on a non-standard port?  I know how to edit a standard httpd.conf file, but don't know where it is located on my e-smith server.

Help needed.  

Many thanks.

- Andy Gray

thedude

Problem with my internet web server
« Reply #2 on: May 03, 2005, 04:06:41 PM »
/etc/e-smith/templates-custom

n1546660

Problem with my internet web server
« Reply #3 on: May 04, 2005, 12:17:41 PM »

n1546660

Problem with my internet web server
« Reply #4 on: May 04, 2005, 12:28:29 PM »
Hmm, I think that HowTo is quite old.  Some things didn't work (eg there was no Aliases template).  I did the best I could, but without a better HowTo, I'm afraid I'm stuck.  Surely this is a common problem that there is an easy fix to?  

Any help is much appreciated.  Thanks.

- Andrew Gray

ergozd

Problem with my internet web server
« Reply #5 on: May 04, 2005, 12:46:02 PM »
Check out following contrib area, may that'll help...

http://mirror.contribs.org/smeserver/contribs/mblotwijk/Contribs/httpd10080/

n1546660

Fixed!
« Reply #6 on: May 04, 2005, 03:51:25 PM »
Hey that's brilliant!!!  That worked a treat!  Did everything!  Got apache listening on the right port, opened it in the firewall, restarted the services etc.  Worked first go!

Thanks so much for that!

- Andy Gray