Hi xyzxyz889-dese,
As quoted from [EMAIL PROTECTED]:
> I want to know what is the best way to implement security access to my
> application. Geoserver, mapbuilder and my application are in the same apache
> webserver, each one of them in its own folder, I need them to work as an
> unity.
Your set-up is not uncommon; I have e.g. a Tomcat 5.5 serving Geoserver,
MapBuilder and my own webapp, with a mod_jk connector to Apache 2.
I have set up a VirtualHost config in Apache and JkMount's there for all
these webapps. In this VirtualHost, I set up Basic authentication for
Location "/"; this way, all apps share the same authentication realm and
you don't need to re-authenticate to different webapps. It is the
simplest solution to your problem.
Sample Apache config:
<VirtualHost *>
ServerName demo.example.invalid
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /var/www
JkMount /geoserver ajp13
JkMount /geoserver/* ajp13
JkMount /mapbuilder ajp13
JkMount /mapbuilder/* ajp13
JkMount /my-webapp ajp13
JkMount /my-webapp/* ajp13
<Location "/">
AuthType Basic
AuthName "Demo realm"
AuthUserFile /etc/apache2/passwd
AuthGroupFile /etc/apache2/group
Require group demo-users
Order deny,allow
Deny from all
Satisfy any
</Location>
</VirtualHost>
Kind regards,
--
-- Gertjan van Oosten, [EMAIL PROTECTED], West Consulting B.V., +31 15 2191 600
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mapbuilder-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users