Unfortunately, it still does not work.
"http://localhost" displays the ms4w start page, but "http://localhost/geomoose2/geomoose.html" is empty (error 404).
 
Can you help me again? Thank you in advance!
 
Gesendet: Freitag, 30. Januar 2015 um 18:11 Uhr
Von: "TC Haddad" <[email protected]>
An: [email protected]
Betreff: Re: Re: [mapserver-users] change htdocs directory
Well, the URL you must use will have to contain the name of the alias that you put in http.d
 
so if your alias is called "geomoose" then your URL would be
 
http://localhost/geomoose/
 
Here is the example http.d file that comes with Geomoose for MS4W web mercator demo (http://www.geomoose.org/downloads/GeoMOOSE-2.7.1-MS4W.zip)
 
-------------- fwd ----------------------- >>

Alias /geomoose2/ "/ms4w/apps/geomoose2/htdocs/"

<Directory "/ms4w/apps/geomoose2/htdocs/">
  AllowOverride None
  Options Indexes FollowSymLinks Multiviews
  Order allow,deny
  Allow from all
</Directory>

------------------------------------------------
 
In this example the alias is called geomoose2, so the URL will be

http://localhost/geomoose2/
 
Normally all you have to do with the package above is unzip the contents into the MS4W directory and restart Apache. The package assumes that you did not mess with the other parts of MS4W...
 
Tanya
 
 
On Fri, Jan 30, 2015 at 9:04 AM, <[email protected]> wrote:
Hi Tanya, thank you for your answer!
 
I created the file with content as decribed in the instruction of README_HTTPD.txt and restarted the Apache, but still I can not go to the changed htdocs directory.
 
Anything else what I have to do?
 
 
Gesendet: Freitag, 30. Januar 2015 um 17:54 Uhr
Von: "TC Haddad" <[email protected]>
An: [email protected]
Betreff: Re: [mapserver-users] change htdocs directory
Hi Geograefin

you have to put a file in
 
ms4w/httpd.d/
 
with your geomoose home location . leace the regular Apache http.conf file alone.
 
look at the other httpd example files in ms4w for example of the syntax.
 
Tanya
 
On Fri, Jan 30, 2015 at 2:54 AM, <[email protected]> wrote:
Hello,
 
I installed the package MS4W 3.0.6. Now I will change the directory from "ms4w/Apache/htdocs" to "ms4w/apps/geomoose/htdocs". Where I have to change the directory settings? A change in the httpd.conf file (ms4w/Apache/conf) did not lead to success.
 
I would be very grateful if you help me!
 
Thank you!
 
Geograefin

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to