Dear Kuan Song
This seems to be a problem with your apache fcgi setup. Apache cannot
find your cgi directory.
Btw. the easiest method to use QGIS server is Sourcepole QGIS cloud
(www.qgiscloud.com). No need to run your own database and apache
webserver with this option.
Regards,
Marco
On 05/12/16 11:22, Kuan Song wrote:
Dear QGIS community,
I hope to seek your help on how to deploy the QGIS Server on a ubuntu
vmware instance.
The QGIS server official guide is what I followed. It does not work!!!
http://hub.qgis.org/wiki/quantum-gis/QGIS_Server_Tutorial
1. After I typed in firefox:
http://localhost/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities
this is what I got:
Not Found
The requested URL /cgi-bin/qgis_mapserv.fcgi was not found on this server.
Apache/2.4.18 (Ubuntu) Server at localhost Port 80
2. I made a QGIS project file with 1 shapefile in it, and put the
project file and shapefile in |/usr/lib/cgi-bin, as demonstrated in
QGIS Server on Ubuntu Step-by-step
<https://anitagraser.com/2012/03/30/qgis-server-on-ubuntu-step-by-step/>
|
QGIS Server on Ubuntu Step-by-step
This post summarizes my notes about installing QGIS Server on Ubuntu,
adding a QGIS project file to the server a...
<https://anitagraser.com/2012/03/30/qgis-server-on-ubuntu-step-by-step/>
|then I typed in firefox: |
|http://localhost/cgi-bin/qgis_mapserv.fcgi
<http://10.101.21.28/cgi-bin/vienna/qgis_mapserv.fcgi>|
<http://10.101.21.28/cgi-bin/vienna/qgis_mapserv.fcgi>|I still got
this response:|
|
|
|Not Found
The requested URL /cgi-bin/qgis_mapserv.fcgi was not found on this server.
Apache/2.4.18 (Ubuntu) Server at localhost Port 80
|
I do not understand what went wrong or where can I get the right
advice, as the QGIS server documentation is highly rare, and frankly
dubious.
I really love the stated feature of QGIS server: just place a QGIS
project on a server, and users can see the contents with any web
browser. Could someone in the community help me achieve this?
And to the QGIS developers: please consider writing your documentation
with more details and pictures. And it'll be much more helpful to
include an executable readme/setup program in the QGIS server
distribution, so that us users can have some clue. Thank you!
||
|
|
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
--
Dr. Marco Hugentobler
Sourcepole - Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
marco.hugentob...@sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user