LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-14-2004, 10:52 PM   #1
da_tibmeister
Member
 
Registered: Oct 2003
Distribution: SLES 9.3
Posts: 40

Rep: Reputation: 15
Apache and ADSL


My server is Slackware 10, sitting on a Verizon DSL. Got the adsl-start stuff working, but Apache doesn't want to listen to the ppp interface for incoming requests. Everything works fine from the local term, but nothing else, and Webmin, SSH, FTP, Sendmail all work fine, just not apache. It's version 2 of Apache.

Any suggestions?

Thanks,
da_tibmeister
 
Old 07-15-2004, 03:18 AM   #2
london_geezer
Member
 
Registered: Oct 2003
Location: London, UK
Distribution: Debian Sarge & Mac OS X 10.3.8
Posts: 31

Rep: Reputation: 15
Apache not listening.

Sorry to sound dumb, but have you opened ports 80 & 443 for standard and secure http connections on your firewall?

Also verify that the httpd service is up and running.

I assumed Apache would listen to whatever your default net connection was.

LG
 
Old 07-15-2004, 08:19 AM   #3
da_tibmeister
Member
 
Registered: Oct 2003
Distribution: SLES 9.3
Posts: 40

Original Poster
Rep: Reputation: 15
Doesn't sound stupid at all, it was the first thing I looked for, but then I realized I don't have ipchains compiled in my kernel, so no firewall. And httpd is up and running, I can use lynx and pull up the page locally, but not remotly. I remember a problem with Apache 1.3 and dynamic connections, but that was fixed. I'm wondering, since the ppp connection is virtual (pppoe) if Apache can even detect it.....

Thanks,
da_tibmeister
 
Old 07-15-2004, 09:58 AM   #4
TheIrish
Member
 
Registered: Oct 2003
Location: ITALY
Distribution: Debian, Ubuntu, Fedora
Posts: 137

Rep: Reputation: 15
I guess we're actually missing the problem.
I have the same setup and works great. Apache doesn't LISTEN to an interface, all interfaces are good for receiving and transmitting data and a virtual interface is just the same as a real interface to the application layer that doesn't even know about interfaces existence.
Mmm... still I can't realize where the problem could be... assuming you can access the internet with no problem and you don't have a firewall, the problem could be apache configuration itself...
 
Old 07-15-2004, 11:25 AM   #5
mooman_fl
LQ Newbie
 
Registered: Jun 2002
Posts: 6

Rep: Reputation: 0
You might want to check with Verizon. Some ISPs block incoming request to port 80 and 443 because they do not want their customers running servers. This might be your case and would fit the symptoms.
 
Old 07-15-2004, 12:43 PM   #6
da_tibmeister
Member
 
Registered: Oct 2003
Distribution: SLES 9.3
Posts: 40

Original Poster
Rep: Reputation: 15
That just boggles me cause I can pull it up via lynx on the localhost, but no resolution externally. Hmmmmmmmm, It could be the config, but It's fairley straight forward....... Hmmmmmm
 
Old 07-15-2004, 12:56 PM   #7
da_tibmeister
Member
 
Registered: Oct 2003
Distribution: SLES 9.3
Posts: 40

Original Poster
Rep: Reputation: 15
Well darn, found the proble, Verizon DSL blocks port 80 incoming, so I'm screwed on that
Thanks for the help
 
Old 07-15-2004, 04:06 PM   #8
linuxmankev
LQ Newbie
 
Registered: Jan 2004
Distribution: Debian,Red Hat,Fedora
Posts: 10

Rep: Reputation: 0
If your ISP blocks port 80 open it up on port 81 or something like that... yes, http defaults to port 80, but just make your site:

http://your.ip.address:81/


Use the Listen directive:

Listen 80

And slight correction to a post above... Apache /does/ listen to interfaces... it just so happens to bind to all interfaces by default.
 
Old 07-15-2004, 04:18 PM   #9
Galik
Member
 
Registered: Mar 2003
Location: UK
Distribution: gentoo
Posts: 67

Rep: Reputation: 15
Well you may be able to work round that. If your ISP provides you with some webspace as part of your account then you can point your domain name at your webspace at your ISP and insert a 'pass through' page using frames. Something like:

Code:
<html>
  <head>
    <title>My Homepage</title>
  </head>
  <frameset rows="100%,*" border="0" frameborder="0" framespacing="0" framecolor="#000000">
    <frame src="http://my-local-machines-external-ip-address:8000/" name="local-appache-server">
  </frameset>
  <noframes>
    Your browser doesn't appear to support frames - please click
    <a href="my-local-machines-external-ip-address:8000/">here</A> to view the site.
  <CENTER></CENTER><EM><EM></EM></EM><B></B></noframes>

</html>
Basically you run apache so that it listens on port 8000 rather than the default port 80. You create one webpage at your ISP webspace that loads your local webpage into a single frame.
 
Old 07-15-2004, 05:52 PM   #10
da_tibmeister
Member
 
Registered: Oct 2003
Distribution: SLES 9.3
Posts: 40

Original Poster
Rep: Reputation: 15
This is for a b iz website, so I don't feel comfy with any of the workarounds, so I'm just going to lease a co-located server, which is better in the longrun anyway, and not all that more expensive then a biz class DSL ($149.00/month)

Thanks again,
da_tibmeister
 
Old 07-16-2004, 02:57 AM   #11
falcon79
LQ Newbie
 
Registered: Jun 2004
Posts: 15

Rep: Reputation: 0
Maybe it is the virtual host configuration
Try with a default virtual host
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
adsl-setup or adsl-start not found as user! bnchakraborty Linux - Newbie 2 01-18-2008 10:23 PM
Accessing apache from outside through ADSL Recirqie Linux - Networking 12 11-02-2005 04:40 PM
Cant access apache with through ADSL virtual server Mr_Minh Linux - Networking 3 01-30-2004 01:06 AM
apache + adsl gbg Linux - Networking 7 10-01-2003 05:26 AM
Apache and ADSL vous Linux - Networking 1 03-10-2003 04:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration