Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Well, I suppose I should title this "user issues not using Apache correctly," but I think you get the point. I've just recently installed and configged XAMPP on my rig and am trying to setup Apache to host a small site. After having everything setup, I can view the site at http://localhost/, but when i try to access it from another computer using my IP address, I can't see the pages. Perhaps this has something to do with my firewall settings in hosts.allow and hosts.deny? Or possibly my router/ISP (2WIRE wireless and SBC Yahoo/AT&T respectively) are just being difficult? I'd appreciate any info you guys have.
do you try to access the server from within a local network or via internet? If in a local network maybe your browser is using the default gateway to the router? Can you ping the ip?
iptables -L
Is everything set to ACCEPT ?
if not, is there a rule to allow port 80 ?
is the listen directive set to localhost only ?
Quote:
The Listen directive specifies the port, and optionally the IP address, Apache2 should listen on. If the IP address is not specified, Apache2 will listen on all IP addresses assigned to the machine it runs on. The default value for the Listen directive is 80. Change this to 127.0.0.1:80 to cause Apache2 to listen only on your loopback interface so that it will not be available to the Internet, to (for example) 81 to change the port that it listens on, or leave it as is for normal operation.
Post the output of the iptables command if you are unsure..
well, iptables output this when i used iptables -L:
FATAL: Module ip_tables not found
iptables v1.3.8: can't initialize iptables table "filter": iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded
Apache is set to listen on 80
Unfortunately I don't know enough to decipher the above output, other than that maybe I'll have to recompile my kernel with iptable support? I'm currently running 2.6.21.5.
Nope, I definitely ran it as root the first time. Just to be sure, I tried running it again as root this time and it produced the same results as before :-P. What's insmod?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.