Re: [mapserver-users] change htdocs directory

2015-01-30 Thread geo . graefin

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 tchad...@gmail.com
An:geo.grae...@web.de
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, geo.grae...@web.de 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
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users






___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] change htdocs directory

2015-01-30 Thread geo . graefin

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 tchad...@gmail.com
An:geo.grae...@web.de
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, geo.grae...@web.de 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 tchad...@gmail.com
An:geo.grae...@web.de
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, geo.grae...@web.de 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
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

















___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] change htdocs directory

2015-01-30 Thread Carlos Ruiz
TC,
If you want to change the root document path, then inside httpd.conf you must 
change the DocumentRoot value. MS4W has it like this:

DocumentRoot /ms4w/Apache/htdocs

So you could change it to
DocumentRoot /ms4w/geomoose
Then http://localhost will lead you to the /ms4w/geomoose contents. Remember 
always to restart the Apache service after modifying httpd.conf
If you want to add a path to be reached by an URL (i.e. 
http;//localhost/geomoose), then you have to create a file called 
httpd_geomoose inside the httpd.d directory with the following configuration:
Alias /geomoose /ms4w/apps/geomoose/

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

Then restart Apache service. It is important that the file name starts with 
httpd_, because Apache looks for this pattern when it starts to load its 
configuration.

Another thing you have to watch (I think this can be happening to you) is that 
if you add a slash to the alias in the httpd_xxx file (i.e. Alias /geomoose/), 
then you have to call the URL with the slash at the end, otherwise it doesn't 
work, you will receive the HTTP 1.1 404 error. That is why I prefeer to remove 
it from alias.

Try this !

Mtro. Carlos Ruiz

  From: geo.grae...@web.de geo.grae...@web.de
 To: TC Haddad tchad...@gmail.com; mapserver-users@lists.osgeo.org 
 Sent: Friday, January 30, 2015 12:10 PM
 Subject: Re: [mapserver-users] change htdocs directory
   
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 tchad...@gmail.com
An: geo.grae...@web.de
Betreff: Re: Re: [mapserver-users] change htdocs directoryWell, 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, geo.grae...@web.de 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 tchad...@gmail.com
An: geo.grae...@web.de
Betreff: Re: [mapserver-users] change htdocs directoryHi 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, geo.grae...@web.de 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
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

  ___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] change htdocs directory

2015-01-30 Thread geo . graefin
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
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users