You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ashutosh Mohanty <as...@gmail.com> on 2006/07/14 12:47:00 UTC

[users@httpd] Virtual host Problem

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"



<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
        Order allow,deny
        Allow from 192.168 127.0.0.1
    </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


---------------------------------------------------------------------
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


Re: [users@httpd] Virtual host Problem

Posted by Ashutosh Mohanty <as...@gmail.com>.
Hi siva,

giving a dot didn't work for me., I have already tried it ,but thanks

----- Original Message ----- 
From: <si...@accelfrontline.in>
To: <us...@httpd.apache.org>
Sent: Friday, July 14, 2006 5:28 PM
Subject: Re: [users@httpd] Virtual host Problem


> I assume you are on the same network of 192.168.x.x Have you tried adding
> (.) dot in the end of  192.168 on Allow Directive. Like below:
>
> Allow from 192.168. 127.0.0.1
>
> Siva
>
> > 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"
> >
> >
> >
> > <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
> >         Order allow,deny
> >         Allow from 192.168 127.0.0.1
> >     </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
> >
> >
> > ---------------------------------------------------------------------
> > 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
>


---------------------------------------------------------------------
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


Re: [users@httpd] Virtual host Problem

Posted by si...@accelfrontline.in.
I assume you are on the same network of 192.168.x.x Have you tried adding
(.) dot in the end of  192.168 on Allow Directive. Like below:

Allow from 192.168. 127.0.0.1

Siva

> 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"
>
>
>
> <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
>         Order allow,deny
>         Allow from 192.168 127.0.0.1
>     </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
>
>
> ---------------------------------------------------------------------
> 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