[Dart] htaccess with Jetty ?

Olivier Warin daffy at xview.net
Tue Feb 28 10:51:51 EST 2006


Le 28 févr. 06 à 15:33, Miller, James V (GE, Research) a écrit :

> Dart is not currently set up to use HTAccess files.  We'd have to
> add some configuration information to Project.xml file and add the
> HTAccessHandler to the contexts.
>
> I'll have to read up on this wrt to servlets. Most the Dart content
> is served by servlets whcih we'll need to constrain with HTAccess.

-> ToDo List :-)

Just filtering on an IP basis sucks. Using restrictions to the usage  
of POST & GET (we only trust the fronted proxy) in conjonction can do  
a nice job.

> -----Original Message-----
> From: dart-bounces+millerjv=crd.ge.com at public.kitware.com
> [mailto:dart-bounces+millerjv=crd.ge.com at public.kitware.com]On  
> Behalf Of
> Olivier Warin
> Sent: Monday, February 27, 2006 9:39 PM
> To: dart at public.kitware.com
> Subject: [Dart] htaccess with Jetty ?
>
>
> Hi,
> I want to use a htaccess files with Jetty.
> I saw there were the HTAccessHandler.class and IPAccessHandler.class
> inside the jetty.jar provided with dart2, nevertheless I cannot find
> some good documentation on how/where to put the configuration.
> Basically I want to achieve something like the following:
>
> <Directory "/">
>      <limit GET POST>
>      Order deny,allow
>      deny from all
>      allow from 127.0.0.1
>      </Limit>
> </Directory>
>
> This will prohibe user to get direct access to jetty http server :-)
> Any advice would be appreciated.
> Regards,
> --
> Olivier Warin - http://xview.net
> Stay connected !
--
Olivier Warin - http://xview.net
Stay connected !



More information about the Dart mailing list