Hi Vora,

you server is resolving the site's name to your external address because of
the dns server it is using. That's why adding the allow for you external
address worked. You might want to modify the hosts file and add your sites
name and the server internal address, that way the site isn't resolving to
the external address and causing you to run into the block. In order for the
average person to hit this site from your external address they would have
to come from inside of your network. That is basically the only place
packets can originate from with your external ip address on it. (unless
spoofed) Leaving your external address in the allow list is a reasonably
cautious practice. But if I were you I'd rather update my hosts file and
remove the external address from the allow list.

Hope this helps...
Gregory Malsack

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of vvor
Sent: Tuesday, January 21, 2003 10:25 AM
To: [EMAIL PROTECTED]
Subject: RE: apache question


i put in

Allow from xxx.xxx.xxx.xxx (my external ip address)

and it works. is this a bad idea? somehow, i think it is.

vora

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Arend
> Sent: Tuesday, January 21, 2003 10:52 AM
> To: [EMAIL PROTECTED]
> Subject: RE: apache question
>
>
> On Tue, 21 Jan 2003, vvor wrote:
>
> > > > i have a virtual web to which i deny from outside my net.
> however, i can't
> > > > access it from the server computer, 192.168.0.1. everyone else can
> > > access it,
> > > > though.
> > > >
> > > > <VirtualHost *>
> > > > ServerName www.MyVirtualDomain.com
> > > > DocumentRoot /web/MyVirtualDomain.com
> > > > DirectoryIndex Index.php
> > > >         <Directory "/web/####.com">
> > > >                 AllowOverride None
> > > >                 Order Allow,Deny
> > > >                 Allow from 192.168.0.0/255.255.255.0
> > > >         </Directory>
> > > >
> > > > Is there something I need to do with Hosts? I am lost...
> > >
> > >
> > > Add allow from 127.0.0.1 ??
> > >
> > hi,
> > i tried adding an "allow from 127.0.0.1", but that didn't do it, i still
get
> > denied from the server.
> > any other suggestions?
>
> Allow from 127.0.0.1/255.255.255.0
>
> I guess I was really asking you if 192.168.0.1 is the localhost. What
> error do you get?  Denied, or do you just get a different virtualhost?
> What is in the logs?  Did you restart apache?
>
> --
> Arend
>
>
>
>
> _______________________________________________
> Seawolf-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/seawolf-list



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to