[Chameleon] How do I limit the access of the Chameleon folder

Steven De Vriendt gisaalter at gmail.com
Fri Nov 11 11:33:41 EST 2005


Cheers !
Will get on to it right away. Thanks for helping out !

 On 11/11/05, Paul Spencer <pspencer at dmsolutions.ca> wrote:
>
> Hi,
>
> put your application in a directory parallel to the chameleon directory:
>
> /ms4w/apps/chameleon/
> /ms4w/apps/myApp/
>
> then create an htdocs (or whatever you want to call it) directory
> inside myApp that will contain only the web-accessible portion of
> your application
>
> then create an alias file in /ms4w/httpd.d/ ... see one of the
> existing files. It MUST be named httpd_<something>.conf to work.
> Then restart apache and your new alias will point to your htdocs
> folder only, the rest of your app is hidden to the web.
>
> example alias file:
>
> Alias /myApp "/ms4w/apps/myApp/htdocs"
> <Directory "/ms4w/apps/myApp/htdocs">
> AllowOverride None
> Options Indexes FollowSymLinks Multiviews
> Order allow,deny
> Allow from all
> </Directory>
>
> and the url becomes http://localhost/myApp
>
> Cheers
>
> Paul
>
> On 11-Nov-05, at 10:56 AM, Steven De Vriendt wrote:
>
> > I've set up ms4w with chameleon on localhost. I've set up
> > an application folder under the chameleon/htdocs folder
> > now I see that everything in my web directory can be
> > browsed...How can I set up a working envirnoment where
> > only access to my application dir is done ??
> >
> > Thanks to the list and developpers of mapserver
> > and chameleon for their great effort making this a
> > wonderfull tool !
> >
> >
> > _______________________________________________
> > Chameleon mailing list
> > Chameleon at lists.maptools.org
> > http://lists.maptools.org/mailman/listinfo/chameleon
>
> +-----------------------------------------------------------------+
> |Paul Spencer pspencer at dmsolutions.ca |
> +-----------------------------------------------------------------+
> |Applications & Software Development |
> |DM Solutions Group Inc http://www.dmsolutions.ca/|
> +-----------------------------------------------------------------+
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20051111/197e1a5f/attachment.html


More information about the Chameleon mailing list