httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Mohanty" <ashutoshin...@gmail.com>
Subject Re: [users@httpd] Virtual host
Date Fri, 14 Jul 2006 12:24:09 GMT
thanks Boyel/Everybody, it seem to be working now,

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, and i want to give
restriction to ouside subnet users,

>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" <Owen.Boyle@swx.com>
To: <users@httpd.apache.org>
Sent: Friday, July 14, 2006 5:38 PM
Subject: RE: [users@httpd] Virtual host


> -----Original Message-----
> From: Ashutosh Mohanty [mailto:ashutoshinbox@gmail.com]
> Sent: Friday, July 14, 2006 1:24 PM
> To: Users@Httpd.Apache.Org
> Subject: [users@httpd] 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 ashutosh@mydomain.com
>     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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message