Re: [users@httpd] Networking problem?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It works now. I can do
http://(hostname)/example.html from my Windows PC now.
I could also see the log info on access_log. I think
iptables -F deleted the rules and made it work.

Thank you, all, for your great help.
Joe

--- "Ivan Barrera A." <Bruce@xxxxxx> wrote:

> > But when I entered http://(hostname)/example.html
> from
> > another computer, it just kept processing. The
> > access_log did not show any log info. So it was
> > blocked by the firewall on the Linux server.
> 
> 
> Ok.. first things firts.
> 
> Do you have networking between the two machines ??
> (ping from one to
> another)
> 
> Dont use hostname. Use IP. And be sure not to be
> using a proxy.
> 
> http://192.168.1.1/example.html (in example)
> 
> If you dont see the page (or logs in the
> access/error log) , in your
> linux box, use tcpdump to "see" the packets that
> came in :
> 
> tcpdump -n -nn -i eth0
> 
> and then, try again the url with the ip.
> 
> If still nothing, you may have some restrictions
> either on the linux
> firewall (if iptables, clear with iptables -F) or in
> the windows box (??
> weird, but could happen).
> 
> 
> 
> 
> > 
> > The link you mentioned has a section for "Allowing
> WWW
> > and SSH access to your firewall", but I am not
> sure
> > how to do that. If I just want to let host1 access
> the
> > apache web server on host2, what should I do on
> the
> > firewall?
> > 
> > Thanks,
> > Joe
> > 
> > --- Boyle Owen <Owen.Boyle@xxxxxxx> wrote:
> > 
> > 
> >>>-----Original Message-----
> >>>From: Joseph Lee [mailto:joe_sun_lee@xxxxxxxxx]
> >>>Sent: Mittwoch, 29. Juni 2005 22:26
> >>>To: users@xxxxxxxxxxxxxxxx
> >>>Subject: RE: [users@httpd] Networking problem?
> >>>
> >>>
> >>>
> >>>Do I need a SSL server certificate for the Linux
> >>>machine, in order to run Apache web server?
> >>
> >>You don't need a SSL cert unless you want to run
> an
> >>SSL virtual Host (ie, HTTPS). Don't even dream
> about
> >>doing this until you have fully mastered plain old
> >>HTTP first...
> >>
> >>
> >>>Is there any way to know there is a firewall
> >>
> >>blocking
> >>
> >>>between Linux runing Apache web server, and a
> >>
> >>Windows
> >>
> >>>PC?
> >>
> >>Just to be clear where the FW is; It's running on
> >>the webserver machine and is sitting in front of
> >>apache. All requests to apache (or anything else,
> >>like mail, telnet etc.) have to go through it
> first.
> >>It's like the doorman at a nightclub.
> >>
> >>From the outside (ie, the browser PC) there is no
> >>way to identify a FW. This is a security feature -
> >>FW's act silently and don't give reasons for their
> >>refusals. The only way you can guess you have a FW
> >>is if requests go into a black hole and don't give
> >>any response. If you only have two machines
> >>connected via a LAN then it's pretty obvious it
> must
> >>be a FW (especially if ping works), but imagine if
> >>you were attacking a machine over the internet -
> you
> >>wouldn't know if the lack of response was due to a
> >>FW at the target or just a network problem en
> route.
> >>
> >>To identify the FW, you need to check the linux
> >>machine - I think it's called ipchains or iptables
> >>(see
> >>
> > 
> >
>
http://www.siliconvalleyccie.com/linux-hn/iptables-intro.htm)
> > 
> >>but maybe Linux gurus could help you more...
> >>
> >>Rgds,
> >>Owen Boyle
> >>Disclaimer: Any disclaimer attached to this
> message
> >>may be ignored. 
> >>
> >>
> >>
> >>>Thanks,
> >>>Joe
> >>>
> >>>--- Joseph Lee <joe_sun_lee@xxxxxxxxx> wrote:
> >>>
> >>>
> >>>>
> >>>>--- Boyle Owen <Owen.Boyle@xxxxxxx> wrote:
> >>>>
> >>>>
> >>>>>>-----Original Message-----
> >>>>>>From: Joseph Lee
> >>
> >>[mailto:joe_sun_lee@xxxxxxxxx]
> >>
> >>>>>>Sent: Mittwoch, 29. Juni 2005 17:12
> >>>>>>To: users@xxxxxxxxxxxxxxxx;
> >>>>
> >>>>info@xxxxxxxxxxxxxxxx
> >>>>
> >>>>>>Subject: Re: [users@httpd] Networking
> >>
> >>problem?
> >>
> >>>>>>
> >>>>>>Thank you, all, for trying to help me.
> >>>>>>
> >>>>>>I tried http://(ipaddress)/example.html on
> >>
> >>my
> >>
> >>>>>Windows
> >>>>>
> >>>>>>PC, but still could not get example.html
> >>
> >>from my
> >>
> >>>>>Linux
> >>>>>
> >>>>>>machine running Apache web server.
> >>>>>>
> >>>>>>I also did:
> >>>>>>
> >>>>>>- modified /etc/hosts on the Linux machine
> >>
> >>to
> >>
> >>>>have
> >>>>
> >>>>>the
> >>>>>
> >>>>>>entry for my Windows PC
> >>>>>
> >>>>>The problem is the other way around - the
> >>
> >>windows
> >>
> >>>>PC
> >>>>
> >>>>>needs to be able to resolve the machine name
> >>
> >>of
> >>
> >>>>the
> >>>>
> >>>>>Linux machine (see Hosts file).
> >>>>
> >>>>I modified /WINDOWS/system32/drivers/etc/hosts,
> >>
> >>and
> >>
> >>>>added an entry for my Linux machine.
> >>>>
> >>>>
> >>>>>>- ping from Linux to Windows using hostname
> >>>>>
> >>>>>without a
> >>>>>
> >>>>>>problem
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux