<div>Cheers !</div>
<div>Will get on to it right away. Thanks for helping out !<br><br> </div>
<div><span class="gmail_quote">On 11/11/05, <b class="gmail_sendername">Paul Spencer</b> <<a href="mailto:pspencer@dmsolutions.ca">pspencer@dmsolutions.ca</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br><br>put your application in a directory parallel to the chameleon directory:<br><br>/ms4w/apps/chameleon/
<br>/ms4w/apps/myApp/<br><br>then create an htdocs (or whatever you want to call it) directory<br>inside myApp that will contain only the web-accessible portion of<br>your application<br><br>then create an alias file in /ms4w/httpd.d/ ... see one of the
<br>existing files. It MUST be named httpd_<something>.conf to work.<br>Then restart apache and your new alias will point to your htdocs<br>folder only, the rest of your app is hidden to the web.<br><br>example alias file:
<br><br>Alias /myApp "/ms4w/apps/myApp/htdocs"<br><Directory "/ms4w/apps/myApp/htdocs"><br> AllowOverride None<br> Options Indexes FollowSymLinks Multiviews<br> Order allow,deny<br> Allow from all
<br></Directory><br><br>and the url becomes <a href="http://localhost/myApp">http://localhost/myApp</a><br><br>Cheers<br><br>Paul<br><br>On 11-Nov-05, at 10:56 AM, Steven De Vriendt wrote:<br><br>> I've set up ms4w with chameleon on localhost. I've set up
<br>> an application folder under the chameleon/htdocs folder<br>> now I see that everything in my web directory can be<br>> browsed...How can I set up a working envirnoment where<br>> only access to my application dir is done ??
<br>><br>> Thanks to the list and developpers of mapserver<br>> and chameleon for their great effort making this a<br>> wonderfull tool !<br>><br>><br>> _______________________________________________
<br>> Chameleon mailing list<br>> <a href="mailto:Chameleon@lists.maptools.org">Chameleon@lists.maptools.org</a><br>> <a href="http://lists.maptools.org/mailman/listinfo/chameleon">http://lists.maptools.org/mailman/listinfo/chameleon
</a><br><br>+-----------------------------------------------------------------+<br>|Paul Spencer <a href="mailto:pspencer@dmsolutions.ca">pspencer@dmsolutions.ca</a> |<br>+-----------------------------------------------------------------+
<br>|Applications & Software Development |<br>|DM Solutions Group Inc <a href="http://www.dmsolutions.ca/|">http://www.dmsolutions.ca/|</a><br>+-----------------------------------------------------------------+
<br><br><br><br><br></blockquote></div><br>