> -----Original Message-----
> From: Ashutosh Mohanty [mailto:[EMAIL PROTECTED] 
> Sent: Friday, July 14, 2006 2:24 PM
> To: users@httpd.apache.org
> Subject: Re: [EMAIL PROTECTED] Virtual host
> 
> thanks Boyel/Everybody, it seem to be working now,
> 

There was actually nothing "wrong" - apache was doing exactly what you
told it to ("deny access from all except localhost and 192.168" - you
came in from a network outside of 192.168 and so were denied).

> when I changed
> 
> from
> 
> Allow from 192.168 127.0.0.1
> 
> to
> 
> Allow from all
> 
> but the thing is i am working from 192.168 subnet,

Are you sure? Apache thinks not... check the client-IP in the server
access log. It looks like you are coming in from a different network,
even though you think its a local private network (192.168.).

> and i want to give
> restriction to ouside subnet users,

Then your original config was correct - I think the problem is that your
browser is not where you think it is...

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

> 
> >What is "it"? The browser or the error_log?
> 
> "it ":: The browser
> 
> >Is the "this" in the message you quote an edit by you? Did 
> it previously
> >ahve the servername?
> 
> "this": the m/c's FQDN
> 
> Ashutosh
> 
> 
> ----- Original Message ----- 
> From: "Boyle Owen" <[EMAIL PROTECTED]>
> To: <users@httpd.apache.org>
> Sent: Friday, July 14, 2006 5:38 PM
> Subject: RE: [EMAIL PROTECTED] Virtual host
> 
> 
> > -----Original Message-----
> > From: Ashutosh Mohanty [mailto:[EMAIL PROTECTED]
> > Sent: Friday, July 14, 2006 1:24 PM
> > To: Users@Httpd.Apache.Org
> > Subject: [EMAIL PROTECTED] Virtual host
> >
> > Hi,
> >  the following is my virtual host setting for our companies internal
> > webserver,is their anything worng,because in web browser when
> > ever i try to
> > access  it s saying "you have no permmision to access this 
> on port 80"
> 
> What is "it"? The browser or the error_log?
> 
> Is the "this" in the message you quote an edit by you? Did it 
> previously
> ahve the servername?
> 
> Based on the limited, edited information you provided, I would take a
> wild guess that it is your directives:
> 
> >         Order allow,deny
> >         Allow from 192.168 127.0.0.1
> 
> that are the problem. Read the docs to understand what these do:
> http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html
> 
> Maybe you are trying to access from a network that does not start with
> 192.168?
> 
> If that doesn't fix it, post back:
> 
> - the URL you hot the server on
> - full browser error message (switch off "friendly errors")
> - the error_log message
> 
> Rgds,
> Owen Boyle
> Disclaimer: Any disclaimer attached to this message may be ignored.
> 
> PS - apache version and OS would be interesting too...
> 
> 
> 
> >
> >
> >
> > <VirtualHost *>
> >     ServerAdmin [EMAIL PROTECTED]
> >     DocumentRoot /home/ashutosh/html
> >     ServerName abc.mydomain.com
> >     ServerAlias abc
> >     ErrorLog /home/ashutosh/logs/error_log
> >     CustomLog /home/ashutosh/logs/access_log common
> >
> > <Directory "/home/ashutosh//html">
> >         Options Indexes FollowSymLinks
> >         AllowOverride None
> >     </Directory>
> >  <IfModule mod_mime.c>
> >             AddType text/html .html .htm
> >             AddType application/x-httpd-php .html .htm .php4 .php
> >     </IfModule>
> > </VirtualHost>
> >
> > Is there any suggestion anybody want to give ? thanks
> >
> > Ashutosh
> >
> >
> 
> 
> This message is for the named person's use only. It may contain
> confidential, proprietary or legally privileged information. No
> confidentiality or privilege is waived or lost by any 
> mistransmission. If
> you receive this message in error, please notify the sender 
> urgently and
> then immediately delete the message and any copies of it from 
> your system.
> Please also immediately destroy any hardcopies of the 
> message. You must not,
> directly or indirectly, use, disclose, distribute, print, or 
> copy any part
> of this message if you are not the intended recipient. The 
> sender's company
> reserves the right to monitor all e-mail communications through their
> networks. Any views expressed in this message are those of 
> the individual
> sender, except where the message states otherwise and the sender is
> authorised to state them to be the views of the sender's company.
> 
> ---------------------------------------------------------------------
> 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: [EMAIL PROTECTED]
>    "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> 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: [EMAIL PROTECTED]
>    "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
 
 
This message is for the named person's use only. It may contain confidential, 
proprietary or legally privileged information. No confidentiality or privilege 
is waived or lost by any mistransmission. If you receive this message in error, 
please notify the sender urgently and then immediately delete the message and 
any copies of it from your system. Please also immediately destroy any 
hardcopies of the message. You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the intended 
recipient. The sender's company reserves the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are 
those of the individual sender, except where the message states otherwise and 
the sender is authorised to state them to be the views of the sender's company.

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to