Demo works in HostLinux but not Ubuntu 8.04 Server

8 messages Options
Embed this post
Permalink
Andrew Parker-3

Demo works in HostLinux but not Ubuntu 8.04 Server

Reply Threaded More More options
Print post
Permalink
I got the Fusion Demo working as discussed in
http://n2.nabble.com/Mapfile-not-displaying-in-Fusion-for-MapServer-td1379147.html.  
The working Demo uses HostLinux offered by HostGIS.

When I try to view the Demo using Ubuntu 8.04 server (and Ubuntu 7.10) I
can only see the html layout, no layer tree or toolbars.  However, I can
see the mapfile using
http://localhost/cgi-bin/mapserv?mode=map&map=/var/www/chp2/hello.map.

I think the problem is where Fusion and MapServer is storing the
temporary files.  So I started playing around with the paths.  The
config.json file is as follows:


/* This is the fusion configuration file.  Adjust as necessary. */
{
    /* The general section contains settings that are general to
       fusion as a whole. */
    "general": {
        /* PHP is the default and only script language supported.
           Don"t change this. */
        "scriptLanguage": "php",

        /* A directory on this system that fusion can use for
           temporary files. */
        "temporaryDirectory": "/tmp"
    },
    /* The MapGuide section is required if you are installing
       fusion for MapGuide. */
    "mapguide": {
        /* The WebTierURL is the url to mapguide, it should start
           with http and end with /mapguide.  If you have installed
           fusion inside the www directory of MapGuide, then you can
           leave this empty as it will be automatically calculated. */
           "webTierUrl": ""
    },
    /* The MapServer section is required if you are installing fusion
       for MapServer. */
   "mapserver": {
        /* The URL of the mapserver CGI that you want to use.  */
        "cgi": "/cgi-bin/mapserv",
        /* The file system path to where mapserver should put
            web-accessible temporary images. */
        "imagePath": "/tmp/ms_tmp",
        /* The URL to the image path configured above. */
        "imageUrl": "http://localhost/tmp/ms_tmp",
        /* The file system path to where mapserver should put
            web-accessible temporary legend images. */
        "legendIconCacheDir":"/tmp/ms_tmp"
    }
}

The ServerRoot in apache2 is /etc/apache2.  The apache2 DocumentRoot is
/var/www.

Therefore, I created the directory tmp (/etc/apache2/tmp) and set
permission to 777.  Restarted apache2 and tested the demo.  Same
results.  Looked in /etc/apache2/tmp and did not see any Fusion session
files.  I also create the /tmp/ms_tmp directories in /var/www and /var.  
No temp files were saved in these directories.

Then I decided to change the SeverRoot to /var and /var/www to see what
happens.  Restarted apache2 and same results, only the html layout.

Know I am out of ideas.  Does anyone have an idea how to fix this.  I
really want to include how to get Fusion working in Ubuntu in my HowTo I
am writing for grad school.

Thank you very much.

--
Andrew

_______________________________________________
fusion-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users
Paul Deschamps

Re: Demo works in HostLinux but not Ubuntu 8.04 Server

Reply Threaded More More options
Print post
Permalink
Your problem is right there in your config.

      /* A directory on this system that fusion can use for
         temporary files. */
      "temporaryDirectory": "/tmp"

should be:

      "temporaryDirectory": "/etc/apache2/tmp"

also look at the image path and imageURL values.

      "imagePath": "/tmp/ms_tmp",
      /* The URL to the image path configured above. */
      "imageUrl": "http://localhost/tmp/ms_tmp",
      /* The file system path to where mapserver should put
          web-accessible temporary legend images. */
      "legendIconCacheDir":"/tmp/ms_
tmp"


Cheers

Paul D



On Tue, Oct 28, 2008 at 9:51 AM, Andrew Parker <[hidden email]> wrote:
I got the Fusion Demo working as discussed in http://n2.nabble.com/Mapfile-not-displaying-in-Fusion-for-MapServer-td1379147.html.  The working Demo uses HostLinux offered by HostGIS.

When I try to view the Demo using Ubuntu 8.04 server (and Ubuntu 7.10) I can only see the html layout, no layer tree or toolbars.  However, I can see the mapfile using http://localhost/cgi-bin/mapserv?mode=map&map=/var/www/chp2/hello.map.
I think the problem is where Fusion and MapServer is storing the temporary files.  So I started playing around with the paths.  The config.json file is as follows:


/* This is the fusion configuration file.  Adjust as necessary. */
{
  /* The general section contains settings that are general to
     fusion as a whole. */
  "general": {
      /* PHP is the default and only script language supported.
         Don"t change this. */
      "scriptLanguage": "php",

      /* A directory on this system that fusion can use for
         temporary files. */
      "temporaryDirectory": "/tmp"
  },
  /* The MapGuide section is required if you are installing
     fusion for MapGuide. */
  "mapguide": {
      /* The WebTierURL is the url to mapguide, it should start
         with http and end with /mapguide.  If you have installed
         fusion inside the www directory of MapGuide, then you can
         leave this empty as it will be automatically calculated. */
         "webTierUrl": ""
  },
  /* The MapServer section is required if you are installing fusion
     for MapServer. */
 "mapserver": {
      /* The URL of the mapserver CGI that you want to use.  */
      "cgi": "/cgi-bin/mapserv",
      /* The file system path to where mapserver should put
          web-accessible temporary images. */
      "imagePath": "/tmp/ms_tmp",
      /* The URL to the image path configured above. */
      "imageUrl": "http://localhost/tmp/ms_tmp",
      /* The file system path to where mapserver should put
          web-accessible temporary legend images. */
      "legendIconCacheDir":"/tmp/ms_tmp"
  }
}

The ServerRoot in apache2 is /etc/apache2.  The apache2 DocumentRoot is /var/www.

Therefore, I created the directory tmp (/etc/apache2/tmp) and set permission to 777.  Restarted apache2 and tested the demo.  Same results.  Looked in /etc/apache2/tmp and did not see any Fusion session files.  I also create the /tmp/ms_tmp directories in /var/www and /var.  No temp files were saved in these directories.
Then I decided to change the SeverRoot to /var and /var/www to see what happens.  Restarted apache2 and same results, only the html layout.

Know I am out of ideas.  Does anyone have an idea how to fix this.  I really want to include how to get Fusion working in Ubuntu in my HowTo I am writing for grad school.

Thank you very much.

--
Andrew

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



--
   Paul Deschamps
   Applications Specialist
   DM Solutions Group Inc.

   Office: (613) 565-5056 x28
   [hidden email]
   http://www.dmsolutions.ca
   http://research.dmsolutions.ca
   


_______________________________________________
fusion-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users
Andrew Parker-3

Re: Demo works in HostLinux but not Ubuntu 8.04 Server

Reply Threaded More More options
Print post
Permalink
Ok, I must be missing the obvious as I still cannot see the demo.  I
made the changes per Paul D's suggestions (see below).

This is what I did:
1. verified that the ServerRoot is "/etc/apache2"
2. verified that the DocumentRoot is set to "/var/www"
3. verified that "/etc/ apache2/tmp" exists and permissions set to 777
4. verfied that "/var/www/tmp/ms_tmp" exists and permissions set to 777
5. Modified Fusions' config.json as shown below
5. Restarted apache2


current configuration of config.json:

/* This is the fusion configuration file.  Adjust as necessary. */
{
    /* The general section contains settings that are general to
       fusion as a whole. */
    "general": {
        /* PHP is the default and only script language supported.
           Don"t change this. */
        "scriptLanguage": "php",

        /* A directory on this system that fusion can use for
           temporary files. */
        "temporaryDirectory": "/etc/apache2/tmp"
    },
    /* The MapGuide section is required if you are installing
       fusion for MapGuide. */
    "mapguide": {
        /* The WebTierURL is the url to mapguide, it should start
           with http and end with /mapguide.  If you have installed
           fusion inside the www directory of MapGuide, then you can
           leave this empty as it will be automatically calculated. */
           "webTierUrl": ""
    },
    /* The MapServer section is required if you are installing fusion
       for MapServer. */
   "mapserver": {
        /* The URL of the mapserver CGI that you want to use.  */
        "cgi": "/cgi-bin/mapserv",
        /* The file system path to where mapserver should put
            web-accessible temporary images. */
        "imagePath": "/var/www/tmp/ms_tmp",
        /* The URL to the image path configured above. */
        "imageUrl": "http://localhost/tmp/ms_tmp",
        /* The file system path to where mapserver should put
            web-accessible temporary legend images. */
        "legendIconCacheDir":"/var/www/tmp/ms_tmp"
    }
}

Any other setting/configurations I should check?

In a twisted sort of way, I love this debugging stuff!

~andrew




Paul Deschamps wrote:

> Your problem is right there in your config.
>
>       /* A directory on this system that fusion can use for
>          temporary files. */
>       "temporaryDirectory": "/tmp"
>
> should be:
>
>       "temporaryDirectory": "/etc/apache2/tmp"
>
> also look at the image path and imageURL values.
>
>       "imagePath": "/tmp/ms_tmp",
>       /* The URL to the image path configured above. */
>       "imageUrl": "http://localhost/tmp/ms_tmp",
>       /* The file system path to where mapserver should put
>           web-accessible temporary legend images. */
>       "legendIconCacheDir":"/tmp/ms_
>
>     tmp"
>
>
>
> Cheers
>
> Paul D
>
>
>
> On Tue, Oct 28, 2008 at 9:51 AM, Andrew Parker <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     I got the Fusion Demo working as discussed in
>     http://n2.nabble.com/Mapfile-not-displaying-in-Fusion-for-MapServer-td1379147.html.
>      The working Demo uses HostLinux offered by HostGIS.
>
>     When I try to view the Demo using Ubuntu 8.04 server (and Ubuntu
>     7.10) I can only see the html layout, no layer tree or toolbars.
>      However, I can see the mapfile using
>     http://localhost/cgi-bin/mapserv?mode=map&map=/var/www/chp2/hello.map
>     <http://localhost/cgi-bin/mapserv?mode=map&map=/var/www/chp2/hello.map>.
>
>     I think the problem is where Fusion and MapServer is storing the
>     temporary files.  So I started playing around with the paths.  The
>     config.json file is as follows:
>
>
>     /* This is the fusion configuration file.  Adjust as necessary. */
>     {
>       /* The general section contains settings that are general to
>          fusion as a whole. */
>       "general": {
>           /* PHP is the default and only script language supported.
>              Don"t change this. */
>           "scriptLanguage": "php",
>
>           /* A directory on this system that fusion can use for
>              temporary files. */
>           "temporaryDirectory": "/tmp"
>       },
>       /* The MapGuide section is required if you are installing
>          fusion for MapGuide. */
>       "mapguide": {
>           /* The WebTierURL is the url to mapguide, it should start
>              with http and end with /mapguide.  If you have installed
>              fusion inside the www directory of MapGuide, then you can
>              leave this empty as it will be automatically calculated. */
>              "webTierUrl": ""
>       },
>       /* The MapServer section is required if you are installing fusion
>          for MapServer. */
>      "mapserver": {
>           /* The URL of the mapserver CGI that you want to use.  */
>           "cgi": "/cgi-bin/mapserv",
>           /* The file system path to where mapserver should put
>               web-accessible temporary images. */
>           "imagePath": "/tmp/ms_tmp",
>           /* The URL to the image path configured above. */
>           "imageUrl": "http://localhost/tmp/ms_tmp",
>           /* The file system path to where mapserver should put
>               web-accessible temporary legend images. */
>           "legendIconCacheDir":"/tmp/ms_tmp"
>       }
>     }
>
>     The ServerRoot in apache2 is /etc/apache2.  The apache2
>     DocumentRoot is /var/www.
>
>     Therefore, I created the directory tmp (/etc/apache2/tmp) and set
>     permission to 777.  Restarted apache2 and tested the demo.  Same
>     results.  Looked in /etc/apache2/tmp and did not see any Fusion
>     session files.  I also create the /tmp/ms_tmp directories in
>     /var/www and /var.  No temp files were saved in these directories.
>     Then I decided to change the SeverRoot to /var and /var/www to see
>     what happens.  Restarted apache2 and same results, only the html
>     layout.
>
>     Know I am out of ideas.  Does anyone have an idea how to fix this.
>      I really want to include how to get Fusion working in Ubuntu in
>     my HowTo I am writing for grad school.
>
>     Thank you very much.
>
>     --
>     Andrew
>
>     _______________________________________________
>     fusion-users mailing list
>     [hidden email] <mailto:[hidden email]>
>     http://lists.osgeo.org/mailman/listinfo/fusion-users
>
>
>
>
> --
>    Paul Deschamps
>    Applications Specialist
>    DM Solutions Group Inc.
>
>    Office: (613) 565-5056 x28
>    [hidden email] <mailto:[hidden email]>
>    http://www.dmsolutions.ca
>    http://research.dmsolutions.ca
>    
>
_______________________________________________
fusion-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users
Mike Adair

Re: Demo works in HostLinux but not Ubuntu 8.04 Server

Reply Threaded More More options
Print post
Permalink
Not sure if this is an issue on Ubuntu, but on my Windows machine,
MapServer doesn't let you use localhost as the domain name (check the
error coming back from the image request in Firebug by opening that URL
in a new tab - i get an 'invalid mode' error).  I get around this by
setting the MapServer cgi parameter to something like:
       "cgi": "http://127.0.0.1/cgi-bin/mapserv",

Mike


Andrew Parker wrote:

> Ok, I must be missing the obvious as I still cannot see the demo.  I
> made the changes per Paul D's suggestions (see below).
>
> This is what I did:
> 1. verified that the ServerRoot is "/etc/apache2"
> 2. verified that the DocumentRoot is set to "/var/www"
> 3. verified that "/etc/ apache2/tmp" exists and permissions set to 777
> 4. verfied that "/var/www/tmp/ms_tmp" exists and permissions set to 777
> 5. Modified Fusions' config.json as shown below
> 5. Restarted apache2
>
>
> current configuration of config.json:
>
> /* This is the fusion configuration file.  Adjust as necessary. */
> {
>    /* The general section contains settings that are general to
>       fusion as a whole. */
>    "general": {
>        /* PHP is the default and only script language supported.
>           Don"t change this. */
>        "scriptLanguage": "php",
>
>        /* A directory on this system that fusion can use for
>           temporary files. */
>        "temporaryDirectory": "/etc/apache2/tmp"
>    },
>    /* The MapGuide section is required if you are installing
>       fusion for MapGuide. */
>    "mapguide": {
>        /* The WebTierURL is the url to mapguide, it should start
>           with http and end with /mapguide.  If you have installed
>           fusion inside the www directory of MapGuide, then you can
>           leave this empty as it will be automatically calculated. */
>           "webTierUrl": ""
>    },
>    /* The MapServer section is required if you are installing fusion
>       for MapServer. */
>   "mapserver": {
>        /* The URL of the mapserver CGI that you want to use.  */
>        "cgi": "/cgi-bin/mapserv",
>        /* The file system path to where mapserver should put
>            web-accessible temporary images. */
>        "imagePath": "/var/www/tmp/ms_tmp",
>        /* The URL to the image path configured above. */
>        "imageUrl": "http://localhost/tmp/ms_tmp",
>        /* The file system path to where mapserver should put
>            web-accessible temporary legend images. */
>        "legendIconCacheDir":"/var/www/tmp/ms_tmp"
>    }
> }
>
> Any other setting/configurations I should check?
>
> In a twisted sort of way, I love this debugging stuff!
>
> ~andrew
>
>
>
>
> Paul Deschamps wrote:
>> Your problem is right there in your config.
>>
>>       /* A directory on this system that fusion can use for
>>          temporary files. */
>>       "temporaryDirectory": "/tmp"
>>
>> should be:
>>
>>       "temporaryDirectory": "/etc/apache2/tmp"
>>
>> also look at the image path and imageURL values.
>>
>>       "imagePath": "/tmp/ms_tmp",
>>       /* The URL to the image path configured above. */
>>       "imageUrl": "http://localhost/tmp/ms_tmp",
>>       /* The file system path to where mapserver should put
>>           web-accessible temporary legend images. */
>>       "legendIconCacheDir":"/tmp/ms_
>>
>>     tmp"
>>
>>
>>
>> Cheers
>>
>> Paul D
>>
>>
>>
>> On Tue, Oct 28, 2008 at 9:51 AM, Andrew Parker <[hidden email]
>> <mailto:[hidden email]>> wrote:
>>
>>     I got the Fusion Demo working as discussed in
>>    
>> http://n2.nabble.com/Mapfile-not-displaying-in-Fusion-for-MapServer-td1379147.html.
>>
>>      The working Demo uses HostLinux offered by HostGIS.
>>
>>     When I try to view the Demo using Ubuntu 8.04 server (and Ubuntu
>>     7.10) I can only see the html layout, no layer tree or toolbars.
>>      However, I can see the mapfile using
>>    
>> http://localhost/cgi-bin/mapserv?mode=map&map=/var/www/chp2/hello.map
>>    
>> <http://localhost/cgi-bin/mapserv?mode=map&map=/var/www/chp2/hello.map>.
>>
>>     I think the problem is where Fusion and MapServer is storing the
>>     temporary files.  So I started playing around with the paths.  The
>>     config.json file is as follows:
>>
>>
>>     /* This is the fusion configuration file.  Adjust as necessary. */
>>     {
>>       /* The general section contains settings that are general to
>>          fusion as a whole. */
>>       "general": {
>>           /* PHP is the default and only script language supported.
>>              Don"t change this. */
>>           "scriptLanguage": "php",
>>
>>           /* A directory on this system that fusion can use for
>>              temporary files. */
>>           "temporaryDirectory": "/tmp"
>>       },
>>       /* The MapGuide section is required if you are installing
>>          fusion for MapGuide. */
>>       "mapguide": {
>>           /* The WebTierURL is the url to mapguide, it should start
>>              with http and end with /mapguide.  If you have installed
>>              fusion inside the www directory of MapGuide, then you can
>>              leave this empty as it will be automatically calculated. */
>>              "webTierUrl": ""
>>       },
>>       /* The MapServer section is required if you are installing fusion
>>          for MapServer. */
>>      "mapserver": {
>>           /* The URL of the mapserver CGI that you want to use.  */
>>           "cgi": "/cgi-bin/mapserv",
>>           /* The file system path to where mapserver should put
>>               web-accessible temporary images. */
>>           "imagePath": "/tmp/ms_tmp",
>>           /* The URL to the image path configured above. */
>>           "imageUrl": "http://localhost/tmp/ms_tmp",
>>           /* The file system path to where mapserver should put
>>               web-accessible temporary legend images. */
>>           "legendIconCacheDir":"/tmp/ms_tmp"
>>       }
>>     }
>>
>>     The ServerRoot in apache2 is /etc/apache2.  The apache2
>>     DocumentRoot is /var/www.
>>
>>     Therefore, I created the directory tmp (/etc/apache2/tmp) and set
>>     permission to 777.  Restarted apache2 and tested the demo.  Same
>>     results.  Looked in /etc/apache2/tmp and did not see any Fusion
>>     session files.  I also create the /tmp/ms_tmp directories in
>>     /var/www and /var.  No temp files were saved in these directories.
>>     Then I decided to change the SeverRoot to /var and /var/www to see
>>     what happens.  Restarted apache2 and same results, only the html
>>     layout.
>>
>>     Know I am out of ideas.  Does anyone have an idea how to fix this.
>>      I really want to include how to get Fusion working in Ubuntu in
>>     my HowTo I am writing for grad school.
>>
>>     Thank you very much.
>>
>>     --     Andrew
>>
>>     _______________________________________________
>>     fusion-users mailing list
>>     [hidden email] <mailto:[hidden email]>
>>     http://lists.osgeo.org/mailman/listinfo/fusion-users
>>
>>
>>
>>
>> --
>>    Paul Deschamps
>>    Applications Specialist
>>    DM Solutions Group Inc.
>>
>>    Office: (613) 565-5056 x28
>>    [hidden email] <mailto:[hidden email]>
>>    http://www.dmsolutions.ca
>>    http://research.dmsolutions.ca
>>  
> _______________________________________________
> fusion-users mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/fusion-users
>
_______________________________________________
fusion-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users
Paul Deschamps

Re: Demo works in HostLinux but not Ubuntu 8.04 Server

Reply Threaded More More options
Print post
Permalink
In reply to this post by Andrew Parker-3
If you put an image in /etc/apache2/tmp/ms_tmp/

and your browse to http://localhost/tmp/ms_tmp do you see the image in the web browser.

Also you have not told us what error message you are receiving when you browse to the fusion application.

Cheers

Paul D

On Tue, Oct 28, 2008 at 12:17 PM, Andrew Parker <[hidden email]> wrote:
Ok, I must be missing the obvious as I still cannot see the demo.  I made the changes per Paul D's suggestions (see below).

This is what I did:
1. verified that the ServerRoot is "/etc/apache2"
2. verified that the DocumentRoot is set to "/var/www"
3. verified that "/etc/ apache2/tmp" exists and permissions set to 777
4. verfied that "/var/www/tmp/ms_tmp" exists and permissions set to 777
5. Modified Fusions' config.json as shown below
5. Restarted apache2


current configuration of config.json:


/* This is the fusion configuration file.  Adjust as necessary. */
{
  /* The general section contains settings that are general to
     fusion as a whole. */
  "general": {
      /* PHP is the default and only script language supported.
         Don"t change this. */
      "scriptLanguage": "php",

      /* A directory on this system that fusion can use for
         temporary files. */
      "temporaryDirectory": "/etc/apache2/tmp"

  },
  /* The MapGuide section is required if you are installing
     fusion for MapGuide. */
  "mapguide": {
      /* The WebTierURL is the url to mapguide, it should start
         with http and end with /mapguide.  If you have installed
         fusion inside the www directory of MapGuide, then you can
         leave this empty as it will be automatically calculated. */
         "webTierUrl": ""
  },
  /* The MapServer section is required if you are installing fusion
     for MapServer. */
 "mapserver": {
      /* The URL of the mapserver CGI that you want to use.  */
      "cgi": "/cgi-bin/mapserv",
      /* The file system path to where mapserver should put
          web-accessible temporary images. */
      "imagePath": "/var/www/tmp/ms_tmp",

      /* The URL to the image path configured above. */
      "imageUrl": "http://localhost/tmp/ms_tmp",
      /* The file system path to where mapserver should put
          web-accessible temporary legend images. */
      "legendIconCacheDir":"/var/www/tmp/ms_tmp"
  }
}

Any other setting/configurations I should check?

In a twisted sort of way, I love this debugging stuff!

~andrew




Paul Deschamps wrote:
Your problem is right there in your config.

     /* A directory on this system that fusion can use for
        temporary files. */
     "temporaryDirectory": "/tmp"

should be:

     "temporaryDirectory": "/etc/apache2/tmp"

also look at the image path and imageURL values.

     "imagePath": "/tmp/ms_tmp",
     /* The URL to the image path configured above. */
     "imageUrl": "http://localhost/tmp/ms_tmp",
     /* The file system path to where mapserver should put
         web-accessible temporary legend images. */
     "legendIconCacheDir":"/tmp/ms_

   tmp"



Cheers

Paul D



On Tue, Oct 28, 2008 at 9:51 AM, Andrew Parker <[hidden email] <mailto:[hidden email]>> wrote:

   I got the Fusion Demo working as discussed in
   http://n2.nabble.com/Mapfile-not-displaying-in-Fusion-for-MapServer-td1379147.html.
    The working Demo uses HostLinux offered by HostGIS.

   When I try to view the Demo using Ubuntu 8.04 server (and Ubuntu
   7.10) I can only see the html layout, no layer tree or toolbars.
    However, I can see the mapfile using
   http://localhost/cgi-bin/mapserv?mode=map&map=/var/www/chp2/hello.map
   <http://localhost/cgi-bin/mapserv?mode=map&map=/var/www/chp2/hello.map>.

   I think the problem is where Fusion and MapServer is storing the
   temporary files.  So I started playing around with the paths.  The
   config.json file is as follows:


   /* This is the fusion configuration file.  Adjust as necessary. */
   {
     /* The general section contains settings that are general to
        fusion as a whole. */
     "general": {
         /* PHP is the default and only script language supported.
            Don"t change this. */
         "scriptLanguage": "php",

         /* A directory on this system that fusion can use for
            temporary files. */
         "temporaryDirectory": "/tmp"
     },
     /* The MapGuide section is required if you are installing
        fusion for MapGuide. */
     "mapguide": {
         /* The WebTierURL is the url to mapguide, it should start
            with http and end with /mapguide.  If you have installed
            fusion inside the www directory of MapGuide, then you can
            leave this empty as it will be automatically calculated. */
            "webTierUrl": ""
     },
     /* The MapServer section is required if you are installing fusion
        for MapServer. */
    "mapserver": {
         /* The URL of the mapserver CGI that you want to use.  */
         "cgi": "/cgi-bin/mapserv",
         /* The file system path to where mapserver should put
             web-accessible temporary images. */
         "imagePath": "/tmp/ms_tmp",
         /* The URL to the image path configured above. */
         "imageUrl": "http://localhost/tmp/ms_tmp",
         /* The file system path to where mapserver should put
             web-accessible temporary legend images. */
         "legendIconCacheDir":"/tmp/ms_tmp"
     }
   }

   The ServerRoot in apache2 is /etc/apache2.  The apache2
   DocumentRoot is /var/www.

   Therefore, I created the directory tmp (/etc/apache2/tmp) and set
   permission to 777.  Restarted apache2 and tested the demo.  Same
   results.  Looked in /etc/apache2/tmp and did not see any Fusion
   session files.  I also create the /tmp/ms_tmp directories in
   /var/www and /var.  No temp files were saved in these directories.
   Then I decided to change the SeverRoot to /var and /var/www to see
   what happens.  Restarted apache2 and same results, only the html
   layout.

   Know I am out of ideas.  Does anyone have an idea how to fix this.
    I really want to include how to get Fusion working in Ubuntu in
   my HowTo I am writing for grad school.

   Thank you very much.

   --    Andrew

   _______________________________________________
   fusion-users mailing list
   [hidden email] <mailto:[hidden email]>

   http://lists.osgeo.org/mailman/listinfo/fusion-users




--
  Paul Deschamps
  Applications Specialist
  DM Solutions Group Inc.

  Office: (613) 565-5056 x28
  [hidden email] <mailto:[hidden email]>
_______________________________________________
fusion-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users



--
   Paul Deschamps
   Applications Specialist
   DM Solutions Group Inc.

   Office: (613) 565-5056 x28
   [hidden email]
   http://www.dmsolutions.ca
   http://research.dmsolutions.ca
   


_______________________________________________
fusion-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users
Andrew Parker-3

Re: Demo works in HostLinux but not Ubuntu 8.04 Server

Reply Threaded More More options
Print post
Permalink
In reply to this post by Mike Adair
Thanks Mike for the suggestion.  I tried using 127.0.0.1.  Same issue.  
In addition, I do not think that MapServer is blocking the localhost
since I can see the mapfile when I enter
http://localhost/cgi-bin/mapserv?mode=map&map=/var/www/chp2/hello.map.

Furthermore, Firebug is not showing any errors; or at least I do not see
any.

~ andrew



Mike Adair wrote:

> Not sure if this is an issue on Ubuntu, but on my Windows machine,
> MapServer doesn't let you use localhost as the domain name (check the
> error coming back from the image request in Firebug by opening that
> URL in a new tab - i get an 'invalid mode' error).  I get around this
> by setting the MapServer cgi parameter to something like:
>       "cgi": "http://127.0.0.1/cgi-bin/mapserv",
>
> Mike
>
>
> Andrew Parker wrote:
>> Ok, I must be missing the obvious as I still cannot see the demo.  I
>> made the changes per Paul D's suggestions (see below).
>>
>> This is what I did:
>> 1. verified that the ServerRoot is "/etc/apache2"
>> 2. verified that the DocumentRoot is set to "/var/www"
>> 3. verified that "/etc/ apache2/tmp" exists and permissions set to 777
>> 4. verfied that "/var/www/tmp/ms_tmp" exists and permissions set to 777
>> 5. Modified Fusions' config.json as shown below
>> 5. Restarted apache2
>>
>>
>> current configuration of config.json:
>>
>> /* This is the fusion configuration file.  Adjust as necessary. */
>> {
>>    /* The general section contains settings that are general to
>>       fusion as a whole. */
>>    "general": {
>>        /* PHP is the default and only script language supported.
>>           Don"t change this. */
>>        "scriptLanguage": "php",
>>
>>        /* A directory on this system that fusion can use for
>>           temporary files. */
>>        "temporaryDirectory": "/etc/apache2/tmp"
>>    },
>>    /* The MapGuide section is required if you are installing
>>       fusion for MapGuide. */
>>    "mapguide": {
>>        /* The WebTierURL is the url to mapguide, it should start
>>           with http and end with /mapguide.  If you have installed
>>           fusion inside the www directory of MapGuide, then you can
>>           leave this empty as it will be automatically calculated. */
>>           "webTierUrl": ""
>>    },
>>    /* The MapServer section is required if you are installing fusion
>>       for MapServer. */
>>   "mapserver": {
>>        /* The URL of the mapserver CGI that you want to use.  */
>>        "cgi": "/cgi-bin/mapserv",
>>        /* The file system path to where mapserver should put
>>            web-accessible temporary images. */
>>        "imagePath": "/var/www/tmp/ms_tmp",
>>        /* The URL to the image path configured above. */
>>        "imageUrl": "http://localhost/tmp/ms_tmp",
>>        /* The file system path to where mapserver should put
>>            web-accessible temporary legend images. */
>>        "legendIconCacheDir":"/var/www/tmp/ms_tmp"
>>    }
>> }
>>
>> Any other setting/configurations I should check?
>>
>> In a twisted sort of way, I love this debugging stuff!
>>
>> ~andrew
>>
>>
>>
>>
>> Paul Deschamps wrote:
>>> Your problem is right there in your config.
>>>
>>>       /* A directory on this system that fusion can use for
>>>          temporary files. */
>>>       "temporaryDirectory": "/tmp"
>>>
>>> should be:
>>>
>>>       "temporaryDirectory": "/etc/apache2/tmp"
>>>
>>> also look at the image path and imageURL values.
>>>
>>>       "imagePath": "/tmp/ms_tmp",
>>>       /* The URL to the image path configured above. */
>>>       "imageUrl": "http://localhost/tmp/ms_tmp",
>>>       /* The file system path to where mapserver should put
>>>           web-accessible temporary legend images. */
>>>       "legendIconCacheDir":"/tmp/ms_
>>>
>>>     tmp"
>>>
>>>
>>>
>>> Cheers
>>>
>>> Paul D
>>>
>>>
>>>
>>> On Tue, Oct 28, 2008 at 9:51 AM, Andrew Parker <[hidden email]
>>> <mailto:[hidden email]>> wrote:
>>>
>>>     I got the Fusion Demo working as discussed in
>>>    
>>> http://n2.nabble.com/Mapfile-not-displaying-in-Fusion-for-MapServer-td1379147.html.
>>>
>>>      The working Demo uses HostLinux offered by HostGIS.
>>>
>>>     When I try to view the Demo using Ubuntu 8.04 server (and Ubuntu
>>>     7.10) I can only see the html layout, no layer tree or toolbars.
>>>      However, I can see the mapfile using
>>>    
>>> http://localhost/cgi-bin/mapserv?mode=map&map=/var/www/chp2/hello.map
>>>    
>>> <http://localhost/cgi-bin/mapserv?mode=map&map=/var/www/chp2/hello.map>.
>>>
>>>
>>>     I think the problem is where Fusion and MapServer is storing the
>>>     temporary files.  So I started playing around with the paths.  The
>>>     config.json file is as follows:
>>>
>>>
>>>     /* This is the fusion configuration file.  Adjust as necessary. */
>>>     {
>>>       /* The general section contains settings that are general to
>>>          fusion as a whole. */
>>>       "general": {
>>>           /* PHP is the default and only script language supported.
>>>              Don"t change this. */
>>>           "scriptLanguage": "php",
>>>
>>>           /* A directory on this system that fusion can use for
>>>              temporary files. */
>>>           "temporaryDirectory": "/tmp"
>>>       },
>>>       /* The MapGuide section is required if you are installing
>>>          fusion for MapGuide. */
>>>       "mapguide": {
>>>           /* The WebTierURL is the url to mapguide, it should start
>>>              with http and end with /mapguide.  If you have installed
>>>              fusion inside the www directory of MapGuide, then you can
>>>              leave this empty as it will be automatically
>>> calculated. */
>>>              "webTierUrl": ""
>>>       },
>>>       /* The MapServer section is required if you are installing fusion
>>>          for MapServer. */
>>>      "mapserver": {
>>>           /* The URL of the mapserver CGI that you want to use.  */
>>>           "cgi": "/cgi-bin/mapserv",
>>>           /* The file system path to where mapserver should put
>>>               web-accessible temporary images. */
>>>           "imagePath": "/tmp/ms_tmp",
>>>           /* The URL to the image path configured above. */
>>>           "imageUrl": "http://localhost/tmp/ms_tmp",
>>>           /* The file system path to where mapserver should put
>>>               web-accessible temporary legend images. */
>>>           "legendIconCacheDir":"/tmp/ms_tmp"
>>>       }
>>>     }
>>>
>>>     The ServerRoot in apache2 is /etc/apache2.  The apache2
>>>     DocumentRoot is /var/www.
>>>
>>>     Therefore, I created the directory tmp (/etc/apache2/tmp) and set
>>>     permission to 777.  Restarted apache2 and tested the demo.  Same
>>>     results.  Looked in /etc/apache2/tmp and did not see any Fusion
>>>     session files.  I also create the /tmp/ms_tmp directories in
>>>     /var/www and /var.  No temp files were saved in these directories.
>>>     Then I decided to change the SeverRoot to /var and /var/www to see
>>>     what happens.  Restarted apache2 and same results, only the html
>>>     layout.
>>>
>>>     Know I am out of ideas.  Does anyone have an idea how to fix this.
>>>      I really want to include how to get Fusion working in Ubuntu in
>>>     my HowTo I am writing for grad school.
>>>
>>>     Thank you very much.
>>>
>>>     --     Andrew
>>>
>>>     _______________________________________________
>>>     fusion-users mailing list
>>>     [hidden email] <mailto:[hidden email]>
>>>     http://lists.osgeo.org/mailman/listinfo/fusion-users
>>>
>>>
>>>
>>>
>>> --
>>>    Paul Deschamps
>>>    Applications Specialist
>>>    DM Solutions Group Inc.
>>>
>>>    Office: (613) 565-5056 x28
>>>    [hidden email] <mailto:[hidden email]>
>>>    http://www.dmsolutions.ca
>>>    http://research.dmsolutions.ca
>>>  
>> _______________________________________________
>> fusion-users mailing list
>> [hidden email]
>> http://lists.osgeo.org/mailman/listinfo/fusion-users
>>
_______________________________________________
fusion-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users
Andrew Parker-3

Re: Demo works in HostLinux but not Ubuntu 8.04 Server

Reply Threaded More More options
Print post
Permalink
In reply to this post by Paul Deschamps
Paul D:

I put a test image in both /var/www/tmp and /var/www/ms_tmp.  Saw them
both when browsed to via Firefox.  Furthermore, I see no error message.  
I attached a screenshot.

If I need too, I can make my fusion demo visible on the internet.  Just
let me know if this will help.

~andrew




Paul Deschamps wrote:

> If you put an image in /etc/apache2/tmp/ms_tmp/
>
> and your browse to http://localhost/tmp/ms_tmp do you see the image in
> the web browser.
>
> Also you have not told us what error message you are receiving when
> you browse to the fusion application.
>
> Cheers
>
> Paul D
>
> On Tue, Oct 28, 2008 at 12:17 PM, Andrew Parker <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Ok, I must be missing the obvious as I still cannot see the demo.
>      I made the changes per Paul D's suggestions (see below).
>
>     This is what I did:
>     1. verified that the ServerRoot is "/etc/apache2"
>     2. verified that the DocumentRoot is set to "/var/www"
>     3. verified that "/etc/ apache2/tmp" exists and permissions set to 777
>     4. verfied that "/var/www/tmp/ms_tmp" exists and permissions set
>     to 777
>     5. Modified Fusions' config.json as shown below
>     5. Restarted apache2
>
>
>     current configuration of config.json:
>
>
>     /* This is the fusion configuration file.  Adjust as necessary. */
>     {
>       /* The general section contains settings that are general to
>          fusion as a whole. */
>       "general": {
>           /* PHP is the default and only script language supported.
>              Don"t change this. */
>           "scriptLanguage": "php",
>
>           /* A directory on this system that fusion can use for
>              temporary files. */
>           "temporaryDirectory": "/etc/apache2/tmp"
>
>       },
>       /* The MapGuide section is required if you are installing
>          fusion for MapGuide. */
>       "mapguide": {
>           /* The WebTierURL is the url to mapguide, it should start
>              with http and end with /mapguide.  If you have installed
>              fusion inside the www directory of MapGuide, then you can
>              leave this empty as it will be automatically calculated. */
>              "webTierUrl": ""
>       },
>       /* The MapServer section is required if you are installing fusion
>          for MapServer. */
>      "mapserver": {
>           /* The URL of the mapserver CGI that you want to use.  */
>           "cgi": "/cgi-bin/mapserv",
>           /* The file system path to where mapserver should put
>               web-accessible temporary images. */
>           "imagePath": "/var/www/tmp/ms_tmp",
>
>           /* The URL to the image path configured above. */
>           "imageUrl": "http://localhost/tmp/ms_tmp",
>           /* The file system path to where mapserver should put
>               web-accessible temporary legend images. */
>           "legendIconCacheDir":"/var/www/tmp/ms_tmp"
>       }
>     }
>
>     Any other setting/configurations I should check?
>
>     In a twisted sort of way, I love this debugging stuff!
>
>     ~andrew
>
>
>
>
>     Paul Deschamps wrote:
>
>         Your problem is right there in your config.
>
>              /* A directory on this system that fusion can use for
>                 temporary files. */
>              "temporaryDirectory": "/tmp"
>
>         should be:
>
>              "temporaryDirectory": "/etc/apache2/tmp"
>
>         also look at the image path and imageURL values.
>
>              "imagePath": "/tmp/ms_tmp",
>              /* The URL to the image path configured above. */
>              "imageUrl": "http://localhost/tmp/ms_tmp",
>              /* The file system path to where mapserver should put
>                  web-accessible temporary legend images. */
>              "legendIconCacheDir":"/tmp/ms_
>
>            tmp"
>
>
>
>         Cheers
>
>         Paul D
>
>
>
>         On Tue, Oct 28, 2008 at 9:51 AM, Andrew Parker
>         <[hidden email] <mailto:[hidden email]>
>         <mailto:[hidden email] <mailto:[hidden email]>>> wrote:
>
>            I got the Fusion Demo working as discussed in
>          
>          http://n2.nabble.com/Mapfile-not-displaying-in-Fusion-for-MapServer-td1379147.html.
>             The working Demo uses HostLinux offered by HostGIS.
>
>            When I try to view the Demo using Ubuntu 8.04 server (and
>         Ubuntu
>            7.10) I can only see the html layout, no layer tree or
>         toolbars.
>             However, I can see the mapfile using
>          
>          http://localhost/cgi-bin/mapserv?mode=map&map=/var/www/chp2/hello.map
>         <http://localhost/cgi-bin/mapserv?mode=map&map=/var/www/chp2/hello.map>
>          
>          <http://localhost/cgi-bin/mapserv?mode=map&map=/var/www/chp2/hello.map
>         <http://localhost/cgi-bin/mapserv?mode=map&map=/var/www/chp2/hello.map>>.
>
>            I think the problem is where Fusion and MapServer is
>         storing the
>            temporary files.  So I started playing around with the
>         paths.  The
>            config.json file is as follows:
>
>
>            /* This is the fusion configuration file.  Adjust as
>         necessary. */
>            {
>              /* The general section contains settings that are general to
>                 fusion as a whole. */
>              "general": {
>                  /* PHP is the default and only script language supported.
>                     Don"t change this. */
>                  "scriptLanguage": "php",
>
>                  /* A directory on this system that fusion can use for
>                     temporary files. */
>                  "temporaryDirectory": "/tmp"
>              },
>              /* The MapGuide section is required if you are installing
>                 fusion for MapGuide. */
>              "mapguide": {
>                  /* The WebTierURL is the url to mapguide, it should start
>                     with http and end with /mapguide.  If you have
>         installed
>                     fusion inside the www directory of MapGuide, then
>         you can
>                     leave this empty as it will be automatically
>         calculated. */
>                     "webTierUrl": ""
>              },
>              /* The MapServer section is required if you are
>         installing fusion
>                 for MapServer. */
>             "mapserver": {
>                  /* The URL of the mapserver CGI that you want to use.  */
>                  "cgi": "/cgi-bin/mapserv",
>                  /* The file system path to where mapserver should put
>                      web-accessible temporary images. */
>                  "imagePath": "/tmp/ms_tmp",
>                  /* The URL to the image path configured above. */
>                  "imageUrl": "http://localhost/tmp/ms_tmp",
>                  /* The file system path to where mapserver should put
>                      web-accessible temporary legend images. */
>                  "legendIconCacheDir":"/tmp/ms_tmp"
>              }
>            }
>
>            The ServerRoot in apache2 is /etc/apache2.  The apache2
>            DocumentRoot is /var/www.
>
>            Therefore, I created the directory tmp (/etc/apache2/tmp)
>         and set
>            permission to 777.  Restarted apache2 and tested the demo.
>          Same
>            results.  Looked in /etc/apache2/tmp and did not see any Fusion
>            session files.  I also create the /tmp/ms_tmp directories in
>            /var/www and /var.  No temp files were saved in these
>         directories.
>            Then I decided to change the SeverRoot to /var and /var/www
>         to see
>            what happens.  Restarted apache2 and same results, only the
>         html
>            layout.
>
>            Know I am out of ideas.  Does anyone have an idea how to
>         fix this.
>             I really want to include how to get Fusion working in
>         Ubuntu in
>            my HowTo I am writing for grad school.
>
>            Thank you very much.
>
>            --    Andrew
>
>            _______________________________________________
>            fusion-users mailing list
>            [hidden email]
>         <mailto:[hidden email]>
>         <mailto:[hidden email]
>         <mailto:[hidden email]>>
>
>            http://lists.osgeo.org/mailman/listinfo/fusion-users
>
>
>
>
>         --
>           Paul Deschamps
>           Applications Specialist
>           DM Solutions Group Inc.
>
>           Office: (613) 565-5056 x28
>           [hidden email] <mailto:[hidden email]>
>         <mailto:[hidden email]
>         <mailto:[hidden email]>>
>
>           http://www.dmsolutions.ca
>           http://research.dmsolutions.ca
>          
>
>     _______________________________________________
>     fusion-users mailing list
>     [hidden email] <mailto:[hidden email]>
>     http://lists.osgeo.org/mailman/listinfo/fusion-users
>
>
>
>
> --
>    Paul Deschamps
>    Applications Specialist
>    DM Solutions Group Inc.
>
>    Office: (613) 565-5056 x28
>    [hidden email] <mailto:[hidden email]>
>    http://www.dmsolutions.ca
>    http://research.dmsolutions.ca
>    
>


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

fusion_demo_screenshot.png (74K) Download Attachment
Andrew Parker-3

Re: Demo works in HostLinux but not Ubuntu 8.04 Server

Reply Threaded More More options
Print post
Permalink
I will make available in a few weeks.  I need to get a demo working
using the HostGIS server first.

~andrew

Paul Deschamps wrote:

> If you make it  available on the web it would be the simplest. to
> resolve.
>
> On Tue, Oct 28, 2008 at 3:10 PM, Andrew Parker <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Paul D:
>
>     I put a test image in both /var/www/tmp and /var/www/ms_tmp.  Saw
>     them both when browsed to via Firefox.  Furthermore, I see no
>     error message.  I attached a screenshot.
>
>     If I need too, I can make my fusion demo visible on the internet.
>      Just let me know if this will help.
>
>     ~andrew
>
>
>
>
>     Paul Deschamps wrote:
>
>         If you put an image in /etc/apache2/tmp/ms_tmp/
>
>         and your browse to http://localhost/tmp/ms_tmp do you see the
>         image in the web browser.
>
>         Also you have not told us what error message you are receiving
>         when you browse to the fusion application.
>
>         Cheers
>
>         Paul D
>
>         On Tue, Oct 28, 2008 at 12:17 PM, Andrew Parker
>         <[hidden email] <mailto:[hidden email]>
>         <mailto:[hidden email] <mailto:[hidden email]>>> wrote:
>
>            Ok, I must be missing the obvious as I still cannot see the
>         demo.
>             I made the changes per Paul D's suggestions (see below).
>
>            This is what I did:
>            1. verified that the ServerRoot is "/etc/apache2"
>            2. verified that the DocumentRoot is set to "/var/www"
>            3. verified that "/etc/ apache2/tmp" exists and permissions
>         set to 777
>            4. verfied that "/var/www/tmp/ms_tmp" exists and
>         permissions set
>            to 777
>            5. Modified Fusions' config.json as shown below
>            5. Restarted apache2
>
>
>            current configuration of config.json:
>
>
>            /* This is the fusion configuration file.  Adjust as
>         necessary. */
>            {
>              /* The general section contains settings that are general to
>                 fusion as a whole. */
>              "general": {
>                  /* PHP is the default and only script language supported.
>                     Don"t change this. */
>                  "scriptLanguage": "php",
>
>                  /* A directory on this system that fusion can use for
>                     temporary files. */
>                  "temporaryDirectory": "/etc/apache2/tmp"
>
>              },
>              /* The MapGuide section is required if you are installing
>                 fusion for MapGuide. */
>              "mapguide": {
>                  /* The WebTierURL is the url to mapguide, it should start
>                     with http and end with /mapguide.  If you have
>         installed
>                     fusion inside the www directory of MapGuide, then
>         you can
>                     leave this empty as it will be automatically
>         calculated. */
>                     "webTierUrl": ""
>              },
>              /* The MapServer section is required if you are
>         installing fusion
>                 for MapServer. */
>             "mapserver": {
>                  /* The URL of the mapserver CGI that you want to use.  */
>                  "cgi": "/cgi-bin/mapserv",
>                  /* The file system path to where mapserver should put
>                      web-accessible temporary images. */
>                  "imagePath": "/var/www/tmp/ms_tmp",
>
>                  /* The URL to the image path configured above. */
>                  "imageUrl": "http://localhost/tmp/ms_tmp",
>                  /* The file system path to where mapserver should put
>                      web-accessible temporary legend images. */
>                  "legendIconCacheDir":"/var/www/tmp/ms_tmp"
>              }
>            }
>
>            Any other setting/configurations I should check?
>
>            In a twisted sort of way, I love this debugging stuff!
>
>            ~andrew
>
>
>
>
>            Paul Deschamps wrote:
>
>                Your problem is right there in your config.
>
>                     /* A directory on this system that fusion can use for
>                        temporary files. */
>                     "temporaryDirectory": "/tmp"
>
>                should be:
>
>                     "temporaryDirectory": "/etc/apache2/tmp"
>
>                also look at the image path and imageURL values.
>
>                     "imagePath": "/tmp/ms_tmp",
>                     /* The URL to the image path configured above. */
>                     "imageUrl": "http://localhost/tmp/ms_tmp",
>                     /* The file system path to where mapserver should put
>                         web-accessible temporary legend images. */
>                     "legendIconCacheDir":"/tmp/ms_
>
>                   tmp"
>
>
>
>                Cheers
>
>                Paul D
>
>
>
>                On Tue, Oct 28, 2008 at 9:51 AM, Andrew Parker
>                <[hidden email] <mailto:[hidden email]>
>         <mailto:[hidden email] <mailto:[hidden email]>>
>                <mailto:[hidden email] <mailto:[hidden email]>
>         <mailto:[hidden email] <mailto:[hidden email]>>>> wrote:
>
>                   I got the Fusion Demo working as discussed in
>                        
>         http://n2.nabble.com/Mapfile-not-displaying-in-Fusion-for-MapServer-td1379147.html.
>                    The working Demo uses HostLinux offered by HostGIS.
>
>                   When I try to view the Demo using Ubuntu 8.04 server
>         (and
>                Ubuntu
>                   7.10) I can only see the html layout, no layer tree or
>                toolbars.
>                    However, I can see the mapfile using
>                        
>         http://localhost/cgi-bin/mapserv?mode=map&map=/var/www/chp2/hello.map
>         <http://localhost/cgi-bin/mapserv?mode=map&map=/var/www/chp2/hello.map>
>              
>          <http://localhost/cgi-bin/mapserv?mode=map&map=/var/www/chp2/hello.map
>         <http://localhost/cgi-bin/mapserv?mode=map&map=/var/www/chp2/hello.map>>
>                        
>         <http://localhost/cgi-bin/mapserv?mode=map&map=/var/www/chp2/hello.map
>         <http://localhost/cgi-bin/mapserv?mode=map&map=/var/www/chp2/hello.map>
>              
>          <http://localhost/cgi-bin/mapserv?mode=map&map=/var/www/chp2/hello.map
>         <http://localhost/cgi-bin/mapserv?mode=map&map=/var/www/chp2/hello.map>>>.
>
>                   I think the problem is where Fusion and MapServer is
>                storing the
>                   temporary files.  So I started playing around with the
>                paths.  The
>                   config.json file is as follows:
>
>
>                   /* This is the fusion configuration file.  Adjust as
>                necessary. */
>                   {
>                     /* The general section contains settings that are
>         general to
>                        fusion as a whole. */
>                     "general": {
>                         /* PHP is the default and only script language
>         supported.
>                            Don"t change this. */
>                         "scriptLanguage": "php",
>
>                         /* A directory on this system that fusion can
>         use for
>                            temporary files. */
>                         "temporaryDirectory": "/tmp"
>                     },
>                     /* The MapGuide section is required if you are
>         installing
>                        fusion for MapGuide. */
>                     "mapguide": {
>                         /* The WebTierURL is the url to mapguide, it
>         should start
>                            with http and end with /mapguide.  If you have
>                installed
>                            fusion inside the www directory of
>         MapGuide, then
>                you can
>                            leave this empty as it will be automatically
>                calculated. */
>                            "webTierUrl": ""
>                     },
>                     /* The MapServer section is required if you are
>                installing fusion
>                        for MapServer. */
>                    "mapserver": {
>                         /* The URL of the mapserver CGI that you want
>         to use.  */
>                         "cgi": "/cgi-bin/mapserv",
>                         /* The file system path to where mapserver
>         should put
>                             web-accessible temporary images. */
>                         "imagePath": "/tmp/ms_tmp",
>                         /* The URL to the image path configured above. */
>                         "imageUrl": "http://localhost/tmp/ms_tmp",
>                         /* The file system path to where mapserver
>         should put
>                             web-accessible temporary legend images. */
>                         "legendIconCacheDir":"/tmp/ms_tmp"
>                     }
>                   }
>
>                   The ServerRoot in apache2 is /etc/apache2.  The apache2
>                   DocumentRoot is /var/www.
>
>                   Therefore, I created the directory tmp
>         (/etc/apache2/tmp)
>                and set
>                   permission to 777.  Restarted apache2 and tested the
>         demo.
>                 Same
>                   results.  Looked in /etc/apache2/tmp and did not see
>         any Fusion
>                   session files.  I also create the /tmp/ms_tmp
>         directories in
>                   /var/www and /var.  No temp files were saved in these
>                directories.
>                   Then I decided to change the SeverRoot to /var and
>         /var/www
>                to see
>                   what happens.  Restarted apache2 and same results,
>         only the
>                html
>                   layout.
>
>                   Know I am out of ideas.  Does anyone have an idea how to
>                fix this.
>                    I really want to include how to get Fusion working in
>                Ubuntu in
>                   my HowTo I am writing for grad school.
>
>                   Thank you very much.
>
>                   --    Andrew
>
>                   _______________________________________________
>                   fusion-users mailing list
>                   [hidden email]
>         <mailto:[hidden email]>
>                <mailto:[hidden email]
>         <mailto:[hidden email]>>
>                <mailto:[hidden email]
>         <mailto:[hidden email]>
>                <mailto:[hidden email]
>         <mailto:[hidden email]>>>
>
>                   http://lists.osgeo.org/mailman/listinfo/fusion-users
>
>
>
>
>                --          Paul Deschamps
>                  Applications Specialist
>                  DM Solutions Group Inc.
>
>                  Office: (613) 565-5056 x28
>                  [hidden email]
>         <mailto:[hidden email]>
>         <mailto:[hidden email]
>         <mailto:[hidden email]>>
>                <mailto:[hidden email]
>         <mailto:[hidden email]>
>
>                <mailto:[hidden email]
>         <mailto:[hidden email]>>>
>
>                  http://www.dmsolutions.ca
>                  http://research.dmsolutions.ca
>                
>            _______________________________________________
>            fusion-users mailing list
>            [hidden email]
>         <mailto:[hidden email]>
>         <mailto:[hidden email]
>         <mailto:[hidden email]>>
>            http://lists.osgeo.org/mailman/listinfo/fusion-users
>
>
>
>
>         --
>           Paul Deschamps
>           Applications Specialist
>           DM Solutions Group Inc.
>
>           Office: (613) 565-5056 x28
>           [hidden email] <mailto:[hidden email]>
>         <mailto:[hidden email]
>         <mailto:[hidden email]>>
>           http://www.dmsolutions.ca
>           http://research.dmsolutions.ca
>          
>
>
>     _______________________________________________
>     fusion-users mailing list
>     [hidden email] <mailto:[hidden email]>
>     http://lists.osgeo.org/mailman/listinfo/fusion-users
>
>
>
>
> --
>    Paul Deschamps
>    Applications Specialist
>    DM Solutions Group Inc.
>
>    Office: (613) 565-5056 x28
>    [hidden email] <mailto:[hidden email]>
>    http://www.dmsolutions.ca
>    http://research.dmsolutions.ca
>    
>
_______________________________________________
fusion-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users