Below is my sites-available config. If anyone else has a working copy for
Ubuntu's Wily I would appreciate a copy.

Apache loads with no error messages. Logs report mod_fcgid configured. Yet
when querying
localhost/cgi-bin/qgis_mapserv.fcgi?SERVICE=MMS&VERSION=1.3&REQUEST=GetCapabilites,
apache returns a 404 "The requested URL /cgi-bin/qgis_mapserv.fcgi was not
found on this server."

001-qgis-server.conf

<VirtualHost *:80>

  ServerAdmin webmaster@localhost

  DocumentRoot /var/www/html

  ServerName <localhost>

  ErrorLog ${APACHE_LOG_DIR}/qgis-server-error.log

  CustomLog ${APACHE_LOG_DIR}/qgis-server-access.log combined

  # Longer timeout for WPS... default = 40

  FcgidIOTimeout 120

  FcgidInitialEnv LC_ALL "en_US.UTF-8"

  FcgidInitialEnv PYTHONIOENCODING UTF-8

  FcgidInitialEnv LANG "en_US.UTF-8"

  FcgidInitialEnv QGIS_DEBUG 1

  FcgidInitialEnv QGIS_SERVER_LOG_FILE /tmp/qgis-000.log

  FcgidInitialEnv QGIS_SERVER_LOG_LEVEL 0

 # FcgidInitialEnv QGIS_PLUGINPATH "/opt/qgis-server/plugins"

  # Needed for QGIS HelloServer plugin HTTP BASIC auth

  ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/qgis_mapserv.fcgi

  <Directory "/usr/lib/cgi-bin/qgis_mapserv.fcgi">

      AllowOverride None

      Options +ExecCGI -MultiViews -SymLinksIfOwnerMatch

      # for apache2 > 2.4

      Require all granted

      #Allow from all

      SetEnv QGIS_LOG_FILE /tmp/qgislog.txt

      AddHandler fcgi-script .fcgi

  </Directory>

    ErrorLog ${APACHE_LOG_DIR}/qgis-web-client-error.log

    CustomLog ${APACHE_LOG_DIR}/qgis-web-client-access.log combined

 </VirtualHost>




On Thu, Feb 18, 2016 at 11:35 PM, Luca Manganelli <luc...@gmail.com> wrote:

> On Fri, Feb 19, 2016 at 8:08 AM, Clifford Snow <cliff...@snowandsnow.us>
> wrote:
> > Now I'm getting a .cgi-bin/qgis_mapserv.fcgi was not found
>
> Where is your qgis_mapserv.fcgi located? You should link to the
> cgi-bin directory (see your apache2 configuration)
>



-- 
@osm_seattle
osm_seattle.snowandsnow.us
OpenStreetMap: Maps with a human touch
_______________________________________________
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

Reply via email to