LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-25-2005, 10:42 AM   #1
Basslord1124
Member
 
Registered: Jun 2004
Location: KY
Distribution: Debian, Mint, Puppy
Posts: 507

Rep: Reputation: 51
Slight problem with Apache


All righty guys, I am having a slight problem with Apache on my Slackware box. The problem I am having is I can view my webpage on the LAN but not the WAN. Our ISP blocks port 80 so I direct Apache on a different port. The thing about it is, is I haven't really changed anything from before I reinstalled Slack. I backed up my config files before I reinstalled and I haven't made any changes to my router. So after the reinstall, I put my old httpd.conf file back in place (and as I said my router settings never changed), restarted apache and on LAN it works but WAN it doesn't. So I am not sure what the problem is. Anyone have any ideas?

Last edited by Basslord1124; 10-25-2005 at 11:43 AM.
 
Old 10-25-2005, 11:43 AM   #2
Basslord1124
Member
 
Registered: Jun 2004
Location: KY
Distribution: Debian, Mint, Puppy
Posts: 507

Original Poster
Rep: Reputation: 51
Nevermind.
 
Old 10-31-2005, 09:58 PM   #3
Basslord1124
Member
 
Registered: Jun 2004
Location: KY
Distribution: Debian, Mint, Puppy
Posts: 507

Original Poster
Rep: Reputation: 51
All righty I thought I had but the problem itself is a little different now. Here's what is happening. I can view my webserver's homepage through my LAN AND WAN address from home...but if I try to access it from school it times out. Asked a friend to try it and it times out for him too. I can not find anything in my router's error log OR apache's error log to indicate problems. Any ideas?
 
Old 10-31-2005, 10:08 PM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Are you redirecting the connections to the port from your router to your server? And, are you sure you're not blocking that port?
 
Old 10-31-2005, 10:17 PM   #5
Basslord1124
Member
 
Registered: Jun 2004
Location: KY
Distribution: Debian, Mint, Puppy
Posts: 507

Original Poster
Rep: Reputation: 51
It should be set right in the router. I have that port to remain opened. Would the firewall in linux block it? I couldn't see why since I can access it. Or does it involve knowing what hosts are allowed to use the server and that it is blocking public IP's? It strikes me as odd b/c before when I ran it, it worked fine. Then when I reinstalled, I had loaded my old config files back up so of anything it shouldn't have given me any problems. I don't think I did anything else to apache last time except change my port settings.
 
Old 11-01-2005, 02:30 AM   #6
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
Don't know how much this helps, but here's some tidbits:

nmap is your freind. Use it on yourself to see that you have Apache at the port you think it should be ("nmap localhost" gives you a good overview of what's up on the LAN side) . Use nmap from a remote computer to see if the ports that you think are open really are (from the WAN side).

When you have a router (that uses NAT), the fact that your ISP blocks port 80 is not that big a deal. What I mean is that it doesn't mean you have to change the setup in your Slackware box. The Slackware box still has a web server, utilizing the default port 80. All that you need to do is configure your router to port forward requests to a specific port (8080 is nice) to your Slackware box's port 80. Doesn't require any tweaks to the Slackware box, though it does require that you know how to configure your router properly.

Slackware doesn't utilize a firewall by default (no rc.firewall). If you are having troubles, first thing to do is try without a firewall. This eliminates the possiblity of firewall issues.
 
  


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
Just a slight problem. Pendu Debian 6 09-10-2005 06:22 PM
Slight Bash Problem...! perry Linux - Software 3 07-25-2004 01:40 AM
Slight problem with my TV-Out traku Linux - Newbie 0 10-27-2003 07:25 PM
Hello, and a slight problem with WINE linux-addict Linux - Software 19 06-11-2003 12:42 PM
Slight problem in KDE... frotzed Linux - Newbie 1 04-07-2002 12:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:14 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