WMS on an other server

Sebastian Albrecht albrecht at FIELAX.DE
Mon Sep 19 03:59:28 EDT 2005


Hi Leopold,

> I see a problem that a query on IP:80 could not be assignet to the right
> server...

That is true. You cannot bind two applications to one port.

What you can do is:

- Setup your WMS in the document root directory (htdocs) of the existing 
     port-80 webserver so it is accessible from the web

- Better solution: Setup your WMS in a directory outside the existing 
webserver's document root and add an ALIAS ([1]) to the config file of 
this web server to include that directory. This should be the better way 
because the existing web site will not be touched.

In both cases you will have to setup the mapserv binary and PHP in the 
web server environment.

Regards,
Sebastian


[1]
If your web server is an Apache the ALIAS can look like this:
Alias /your_wms/ "c:\whatever\my_wms\"
<Directory "c:\whatever\my_wms\">
   AllowOverride None
   Options Indexes FollowSymLinks Multiviews
   Order allow,deny
   Allow from all
</Directory>

If your web server is an IIS you should be able to do the same thing by 
clickclickclick in the configuration panels of your IIS.



More information about the mapserver-users mailing list