httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan....@chi.ddb.com
Subject RE: [users@httpd] Name based virtual server problems
Date Wed, 14 Jan 2004 01:09:32 GMT




How about just allowing a certain IP range?


                                                                           
             "Roger B.A.                                                   
             Klorese"                                                      
             <rogerk@queernet.                                          To 
             org>                      <users@httpd.apache.org>            
                                                                        cc 
             01/13/04 07:08 PM                                             
                                                                   Subject 
                                       RE: [users@httpd] Name based        
             Please respond to         virtual server problems             
             users@httpd.apach                                             
                   e.org                                                   
                                                                           
                                                                           
                                                                           
                                                                           




Um, no...

Order, Allow, and Deny are legal only in a <Directory ...> / </Directory>
block or in a .htaccess.



> -----Original Message-----
> From: Ryan.Nix@chi.ddb.com [mailto:Ryan.Nix@chi.ddb.com]
> Sent: Tuesday, January 13, 2004 5:06 PM
> To: users@httpd.apache.org
> Subject: RE: [users@httpd] Name based virtual server problems
>
>
>
>
>
>
> Sorry, I removed it but the error remains the same.
>
> "order not allowed here"
>
>
>
>
>              "Roger B.A.
>
>              Klorese"
>
>              <rogerk@queernet.
>           To
>              org>
> <users@httpd.apache.org>
>
>           cc
>              01/13/04 07:00 PM
>
>
>      Subject
>                                        RE: [users@httpd] Name
> based
>              Please respond to         virtual server
> problems
>              users@httpd.apach
>
>                    e.org
>
>
>
>
>
>
>
>
>
>
>
>
>
> Where's the <Directory ...> to match the </Directory>?
>
>
>
>
>  -----Original Message-----
> From: Ryan.Nix@chi.ddb.com [mailto:Ryan.Nix@chi.ddb.com]
> Sent: Tuesday, January 13, 2004 4:58 PM
> To: users@httpd.apache.org
> Subject: RE: [users@httpd] Name based virtual server problems
>
>
>
>  Ben, I put this diretive in and it tells me that "order" is
> not allowed.
>  All I did was copy and paste from my existing conf file.
>
>
>
>
>
>  NameVirtualHost 172.20.10.138:80
>
>
>  <VirtualHost 172.20.10.138>
>
>
>  ServerName www.ddbchi.com
>
>
>  DocumentRoot /YellowTipWS/htdocs/ddbchi
>
>
>  </VirtualHost>
>
>
>  <VirtualHost 172.20.10.138>
>
>
>  ServerName www.cultureddb.com
>
>
>  DocumentRoot /YellowTipWS/htdocs/
>
>
>  Order allow,deny
>
>
>  Allow from 172.20.0.0/255.255.0.0 172.90.0.0/255.255.0.0 172.36.16.0
>  /255.255.0.0 172.36.20.0/255.255.0.0 172.37.16.0/255.255.0.0
> 172.37.20.0
>  /255.255.0.0 172.38.16.0/255.255.0.0 172.38.20.0/255.255.0.0
> 172.39.16.0
>  /255.255.0.0 172.39.20.0/255.255.0.0 172.40.16.0/255.255.0.0
> 172.40.20.0
>  /255.255.0.0 172.41.16.0/255.255.0.0 172.41.20.0/255.255.0.0
> 172.42.16.0
>  /255.255.0.0 172.42.20.0/255.255.0.0 64.60.95.131/255.255.255.0
>  64.60.95.138/255.255.255.0
>
>
>  </Directory>
>
>
>  </VirtualHost>
>
>
>  -----"Ben Yau" <byau@cardcommerce.com> wrote: -----
>
>  To: <users@httpd.apache.org>
>  From: "Ben Yau" <byau@cardcommerce.com>
>  Date: 01/13/2004 06:45PM
>  Subject: RE: [users@httpd] Name based virtual server problems
>
>
>  >
>  >
>  >
>  > Ok, the server is started so never mind about that.
>  >
>  > I'm getting a permission denied when pulling up the site now.
>  >
>  > Here is the EXACT error:
>  >
>  > Forbidden
>  > You don't have permission to access / on this server.
>  >
>  > Apache/1.3.27 Server at www.cultureddb.com Port 80
>  >
>  > Here is what is exactly in the conf file
>  >
>  > NameVirtualHost 172.20.10.138:80
>  >
>  > <VirtualHost 172.20.10.138>
>  > ServerName www.ddbchi.com
>  > DocumentRoot /htdocs/ddbchi
>  > </VirtualHost>
>  >
>  > <VirtualHost 172.20.10.138>
>  > ServerName www.cultureddb.com
>  > DocumentRoot /htdocs/
>  > </VirtualHost>
>  >
>  >
>  >
>
>  Great.. Now that it starts you can add back in your Order,Allow
>  statements.
>  Start small and slowly work your way back to the IP config
> you wanted.
>
>  Try
>
>  Order allow,deny
>  Allow from all
>
>  first.
>
>  Make sure to check your config syntax each time and from
> there you should
>  be
>  able to do the rest on your own.  Make sure to read the apache
>  documentation
>  on the config files.  It will give you a lot of info on how to put
>  together
>  your http.conf . Since you'e on Apache 1.3 go here:
>  http://httpd.apache.org/docs/
>
>
>
>
>
>  Ben Yau
>
>  =================================
>  310.235.2500 x232
>  Card Commerce International, Inc.
>  http://www.cardcommerce.com
>  =================================
>
>  >
>
>
>  ---------------------------------------------------------------------
>  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
>  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




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