RE: apache question

"vvor" <[email protected]>
Newsgroups gmane.linux.redhat.release.seawolf
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.