RE: apache question
Arend <[email protected]>
| Newsgroups | gmane.linux.redhat.release.seawolf |
|---|---|
| Message-ID | <[email protected]> |
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