Hi,
Here comes yet another version of Apache rewrite rule spiced with a per-service
list of authorized users
- if WMS request goes to cgi-bin/my_wms1, use mapfile
home/maps/my_wms1.map
- allow the use of cgi-bin/my_wms1 only for users "user1_wms1" and "
user2_wms1"
RewriteRule ^/cgi-bin/my_wms1$ /cgi-bin/mapserv
[L,E=MS_MAPFILE:${HOME}/maps/my_wms1.map]
<Location "/cgi-bin/my_wms1">
Require user user1_wms1 user2_wms1
</Location>
-Jukka Rahkonen-
[email protected]<mailto:[email protected]> wrote:
easy yes...
I suggest you read this, so you can choose your preferred method to do what you
want
http://mapserver.org/ogc/wms_server.html#changing-the-online-resource-url
we use this method
http://mapserver.org/ogc/wms_server.html#wrapper-script-unix
But I just read that it is not recommended.....
"Mérette,Jacques (Consultant)"
<[email protected]<mailto:[email protected]>>
2015-05-27 09:47
A
"'[email protected]'"
<[email protected]<mailto:[email protected]>>
cc
"'[email protected]'"
<[email protected]<mailto:[email protected]>>,
"[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Objet
RE: RE [mapserver-users] Setting up many vitual hosts
Bonjour Steve,
Excellent....
I want to have only one instance of mapserver bit many virtual hosts on Apache.
Each virtual host will have its own "mapfile" (that is what I mean by "add my
data in a new virtual host"). Following my understanding, it should be quite
easy....
MErci!
J.
From: [email protected]<mailto:[email protected]>
[mailto:[email protected]]
Sent: 27 mai 2015 08:27
To: Mérette, Jacques (Consultant)
Cc: '[email protected]';
[email protected]<mailto:[email protected]>
Subject: RE [mapserver-users] Setting up many vitual hosts
Jacques it is possible to create many virtual host on apache, but what do you
mean by "add my data in a new virtual host". The virtual hosts can use the same
mapserver....Unless you want to have several instance of mapserver...?
"Mérette,Jacques (Consultant)"
<[email protected]<mailto:[email protected]>>
Envoyé par :
[email protected]<mailto:[email protected]>
2015-05-26 18:11
A
"'[email protected]'"
<[email protected]<mailto:[email protected]>>
cc
Objet
[mapserver-users] Setting up many vitual hosts
Hi,
I'm installing Mapserver for the first time. The demo works fine on RHEL but I
would like to add my data in a new virtual host. Is it possible to set up many
vitual hosts on Apache/Mapserver?
Merci!
Jacques Mérette
Architecte technologique
Division des infrastructures technologiques
Service des infrastructures technologiques appliquées aux opérations
Direction des technologies de l'information
Ministère des Transports du Québec
Tél: 418-643-5350 # 24685
[email protected]<mailto:[email protected]>
Boîte commune :
[email protected]<mailto:[email protected]>
_______________________________________________
mapserver-users mailing list
[email protected]<mailto:[email protected]>
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users