<div dir="ltr">Hello,<div>I am posting this here, because I did not find an appropriate medium for reporting this issue, if there is any I would love to be directed to next time.</div><div>I used the QGIS documentation to install qgis server, and followed all the steps but at last it says  I <span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">don't have permission to access this resource.</span></div><div><font color="#000000" face="Times New Roman" size="3">Here are my code for httpd.conf</font></div><div><div style="color:rgb(255,255,255);background-color:rgb(0,0,0);font-family:Consolas,"Courier New",monospace;font-size:14px;line-height:19px;white-space:pre"><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># This is the main Apache HTTP server configuration file.  It contains the</span></div><div><span style="color:rgb(124,166,104)"># configuration directives that give the server its instructions.</span></div><div><span style="color:rgb(124,166,104)"># See <URL:<a href="http://httpd.apache.org/docs/2.4/">http://httpd.apache.org/docs/2.4/</a>> for detailed information.</span></div><div><span style="color:rgb(124,166,104)"># In particular, see </span></div><div><span style="color:rgb(124,166,104)"># <URL:<a href="http://httpd.apache.org/docs/2.4/mod/directives.html">http://httpd.apache.org/docs/2.4/mod/directives.html</a>></span></div><div><span style="color:rgb(124,166,104)"># for a discussion of each configuration directive.</span></div><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># Do NOT simply read the instructions in here without understanding</span></div><div><span style="color:rgb(124,166,104)"># what they do.  They're here only as hints or reminders.  If you are unsure</span></div><div><span style="color:rgb(124,166,104)"># consult the online docs. You have been warned.  </span></div><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># Configuration and logfile names: If the filenames you specify for many</span></div><div><span style="color:rgb(124,166,104)"># of the server's control files begin with "/" (or "drive:/" for Win32), the</span></div><div><span style="color:rgb(124,166,104)"># server will use that explicit path.  If the filenames do *not* begin</span></div><div><span style="color:rgb(124,166,104)"># with "/", the value of ServerRoot is prepended -- so "logs/access_log"</span></div><div><span style="color:rgb(124,166,104)"># with ServerRoot set to "/usr/local/apache2" will be interpreted by the</span></div><div><span style="color:rgb(124,166,104)"># server as "/usr/local/apache2/logs/access_log", whereas "/logs/access_log" </span></div><div><span style="color:rgb(124,166,104)"># will be interpreted as '/logs/access_log'.</span></div><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># NOTE: Where filenames are specified, you must use forward slashes</span></div><div><span style="color:rgb(124,166,104)"># instead of backslashes (e.g., "c:/apache" instead of "c:\apache").</span></div><div><span style="color:rgb(124,166,104)"># If a drive letter is omitted, the drive on which httpd.exe is located</span></div><div><span style="color:rgb(124,166,104)"># will be used by default.  It is recommended that you always supply</span></div><div><span style="color:rgb(124,166,104)"># an explicit drive letter in absolute paths to avoid confusion.</span></div><br><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># ServerRoot: The top of the directory tree under which the server's</span></div><div><span style="color:rgb(124,166,104)"># configuration, error, and log files are kept.</span></div><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># Do not add a slash at the end of the directory path.  If you point</span></div><div><span style="color:rgb(124,166,104)"># ServerRoot at a non-local disk, be sure to specify a local disk on the</span></div><div><span style="color:rgb(124,166,104)"># Mutex directive, if file-based mutexes are used.  If you wish to share the</span></div><div><span style="color:rgb(124,166,104)"># same ServerRoot for multiple httpd daemons, you will need to change at</span></div><div><span style="color:rgb(124,166,104)"># least PidFile.</span></div><div><span style="color:rgb(124,166,104)">#</span></div><div>Define SRVROOT <span style="color:rgb(206,145,120)">"C:/OSGeo4W/apps/apache"</span></div><div>Define SRVPORT 80</div><div>Define SRVHOST <span style="color:rgb(206,145,120)">"DESKTOP-88EAQA1"</span></div><br><br><div>ServerRoot <span style="color:rgb(206,145,120)">"${SRVROOT}"</span></div><br><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># Mutex: Allows you to set the mutex mechanism and mutex file directory</span></div><div><span style="color:rgb(124,166,104)"># for individual mutexes, or change the global defaults</span></div><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># Uncomment and change the directory if mutexes are file-based and the default</span></div><div><span style="color:rgb(124,166,104)"># mutex file directory is not on a local disk or is not appropriate for some</span></div><div><span style="color:rgb(124,166,104)"># other reason.</span></div><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># Mutex default:logs</span></div><br><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># Listen: Allows you to bind Apache to specific IP addresses and/or</span></div><div><span style="color:rgb(124,166,104)"># ports, instead of the default. See also the <VirtualHost></span></div><div><span style="color:rgb(124,166,104)"># directive.</span></div><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># Change this to Listen on specific IP addresses as shown below to </span></div><div><span style="color:rgb(124,166,104)"># prevent Apache from glomming onto all bound IP addresses.</span></div><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)">#Listen <a href="http://12.34.56.78:80">12.34.56.78:80</a></span></div><div>Listen localhost:8080</div><div>ServerName ${SRVHOST}</div><br><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># Dynamic Shared Object (DSO) Support</span></div><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># To be able to use the functionality of a module which was built as a DSO you</span></div><div><span style="color:rgb(124,166,104)"># have to place corresponding `LoadModule' lines at this location so the</span></div><div><span style="color:rgb(124,166,104)"># directives contained in it are actually available _before_ they are used.</span></div><div><span style="color:rgb(124,166,104)"># Statically compiled modules (those listed by `httpd -l') do not need</span></div><div><span style="color:rgb(124,166,104)"># to be loaded here.</span></div><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># Example:</span></div><div><span style="color:rgb(124,166,104)"># LoadModule foo_module modules/mod_foo.so</span></div><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)">#LoadModule access_compat_module modules/mod_access_compat.so</span></div><div>LoadModule actions_module modules/mod_actions.so</div><div>LoadModule alias_module modules/mod_alias.so</div><div>LoadModule allowmethods_module modules/mod_allowmethods.so</div><div>LoadModule asis_module modules/mod_asis.so</div><div>LoadModule auth_basic_module modules/mod_auth_basic.so</div><div><span style="color:rgb(124,166,104)">#LoadModule auth_digest_module modules/mod_auth_digest.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule auth_form_module modules/mod_auth_form.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule authn_anon_module modules/mod_authn_anon.so</span></div><div>LoadModule authn_core_module modules/mod_authn_core.so</div><div><span style="color:rgb(124,166,104)">#LoadModule authn_dbd_module modules/mod_authn_dbd.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule authn_dbm_module modules/mod_authn_dbm.so</span></div><div>LoadModule authn_file_module modules/mod_authn_file.so</div><div><span style="color:rgb(124,166,104)">#LoadModule authn_socache_module modules/mod_authn_socache.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule authnz_fcgi_module modules/mod_authnz_fcgi.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule authnz_ldap_module modules/mod_authnz_ldap.so</span></div><div>LoadModule authz_core_module modules/mod_authz_core.so</div><div><span style="color:rgb(124,166,104)">#LoadModule authz_dbd_module modules/mod_authz_dbd.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule authz_dbm_module modules/mod_authz_dbm.so</span></div><div>LoadModule authz_groupfile_module modules/mod_authz_groupfile.so</div><div>LoadModule authz_host_module modules/mod_authz_host.so</div><div><span style="color:rgb(124,166,104)">#LoadModule authz_owner_module modules/mod_authz_owner.so</span></div><div>LoadModule authz_user_module modules/mod_authz_user.so</div><div>LoadModule autoindex_module modules/mod_autoindex.so</div><div><span style="color:rgb(124,166,104)">#LoadModule brotli_module modules/mod_brotli.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule buffer_module modules/mod_buffer.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule cache_module modules/mod_cache.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule cache_disk_module modules/mod_cache_disk.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule cache_socache_module modules/mod_cache_socache.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule cern_meta_module modules/mod_cern_meta.so</span></div><div>LoadModule cgi_module modules/mod_cgi.so</div><div><span style="color:rgb(124,166,104)">#LoadModule charset_lite_module modules/mod_charset_lite.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule data_module modules/mod_data.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule dav_module modules/mod_dav.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule dav_fs_module modules/mod_dav_fs.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule dav_lock_module modules/mod_dav_lock.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule dbd_module modules/mod_dbd.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule deflate_module modules/mod_deflate.so</span></div><div>LoadModule dir_module modules/mod_dir.so</div><div><span style="color:rgb(124,166,104)">#LoadModule dumpio_module modules/mod_dumpio.so</span></div><div>LoadModule env_module modules/mod_env.so</div><div><span style="color:rgb(124,166,104)">#LoadModule expires_module modules/mod_expires.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule ext_filter_module modules/mod_ext_filter.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule file_cache_module modules/mod_file_cache.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule filter_module modules/mod_filter.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule http2_module modules/mod_http2.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule headers_module modules/mod_headers.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule heartbeat_module modules/mod_heartbeat.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule heartmonitor_module modules/mod_heartmonitor.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule ident_module modules/mod_ident.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule imagemap_module modules/mod_imagemap.so</span></div><div>LoadModule include_module modules/mod_include.so</div><div><span style="color:rgb(124,166,104)">#LoadModule info_module modules/mod_info.so</span></div><div>LoadModule isapi_module modules/mod_isapi.so</div><div><span style="color:rgb(124,166,104)">#LoadModule lbmethod_bybusyness_module modules/mod_lbmethod_bybusyness.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule lbmethod_bytraffic_module modules/mod_lbmethod_bytraffic.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule lbmethod_heartbeat_module modules/mod_lbmethod_heartbeat.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule ldap_module modules/mod_ldap.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule logio_module modules/mod_logio.so</span></div><div>LoadModule log_config_module modules/mod_log_config.so</div><div><span style="color:rgb(124,166,104)">#LoadModule log_debug_module modules/mod_log_debug.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule log_forensic_module modules/mod_log_forensic.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule lua_module modules/mod_lua.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule macro_module modules/mod_macro.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule md_module modules/mod_md.so</span></div><div>LoadModule mime_module modules/mod_mime.so</div><div><span style="color:rgb(124,166,104)">#LoadModule mime_magic_module modules/mod_mime_magic.so</span></div><div>LoadModule negotiation_module modules/mod_negotiation.so</div><div><span style="color:rgb(124,166,104)">#LoadModule proxy_module modules/mod_proxy.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule proxy_ajp_module modules/mod_proxy_ajp.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule proxy_balancer_module modules/mod_proxy_balancer.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule proxy_connect_module modules/mod_proxy_connect.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule proxy_express_module modules/mod_proxy_express.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule proxy_hcheck_module modules/mod_proxy_hcheck.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule proxy_html_module modules/mod_proxy_html.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule proxy_http_module modules/mod_proxy_http.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule proxy_http2_module modules/mod_proxy_http2.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule proxy_scgi_module modules/mod_proxy_scgi.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule proxy_uwsgi_module modules/mod_proxy_uwsgi.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule ratelimit_module modules/mod_ratelimit.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule reflector_module modules/mod_reflector.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule remoteip_module modules/mod_remoteip.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule request_module modules/mod_request.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule reqtimeout_module modules/mod_reqtimeout.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule rewrite_module modules/mod_rewrite.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule sed_module modules/mod_sed.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule session_module modules/mod_session.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule session_cookie_module modules/mod_session_cookie.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule session_crypto_module modules/mod_session_crypto.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule session_dbd_module modules/mod_session_dbd.so</span></div><div>LoadModule setenvif_module modules/mod_setenvif.so</div><div><span style="color:rgb(124,166,104)">#LoadModule slotmem_plain_module modules/mod_slotmem_plain.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule slotmem_shm_module modules/mod_slotmem_shm.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule socache_dbm_module modules/mod_socache_dbm.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule socache_memcache_module modules/mod_socache_memcache.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule socache_redis_module modules/mod_socache_redis.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule socache_shmcb_module modules/mod_socache_shmcb.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule speling_module modules/mod_speling.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule ssl_module modules/mod_ssl.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule status_module modules/mod_status.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule substitute_module modules/mod_substitute.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule unique_id_module modules/mod_unique_id.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule userdir_module modules/mod_userdir.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule usertrack_module modules/mod_usertrack.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule version_module modules/mod_version.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule vhost_alias_module modules/mod_vhost_alias.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule watchdog_module modules/mod_watchdog.so</span></div><div><span style="color:rgb(124,166,104)">#LoadModule xml2enc_module modules/mod_xml2enc.so</span></div><br><div><IfModule unixd_module></div><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># If you wish httpd to run as a different user or group, you must run</span></div><div><span style="color:rgb(124,166,104)"># httpd as root initially and it will switch.  </span></div><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># User/Group: The name (or #number) of the user/group to run httpd as.</span></div><div><span style="color:rgb(124,166,104)"># It is usually good practice to create a dedicated user and group for</span></div><div><span style="color:rgb(124,166,104)"># running httpd, as with most system services.</span></div><div><span style="color:rgb(124,166,104)">#</span></div><div>User daemon</div><div>Group daemon</div><br><div></IfModule></div><br><div><span style="color:rgb(124,166,104)"># 'Main' server configuration</span></div><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># The directives in this section set up the values used by the 'main'</span></div><div><span style="color:rgb(124,166,104)"># server, which responds to any requests that aren't handled by a</span></div><div><span style="color:rgb(124,166,104)"># <VirtualHost> definition.  These values also provide defaults for</span></div><div><span style="color:rgb(124,166,104)"># any <VirtualHost> containers you may define later in the file.</span></div><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># All of these directives may appear inside <VirtualHost> containers,</span></div><div><span style="color:rgb(124,166,104)"># in which case these default settings will be overridden for the</span></div><div><span style="color:rgb(124,166,104)"># virtual host being defined.</span></div><div><span style="color:rgb(124,166,104)">#</span></div><br><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># ServerAdmin: Your address, where problems with the server should be</span></div><div><span style="color:rgb(124,166,104)"># e-mailed.  This address appears on some server-generated pages, such</span></div><div><span style="color:rgb(124,166,104)"># as error documents.  e.g. <a href="mailto:admin@your-domain.com">admin@your-domain.com</a></span></div><div><span style="color:rgb(124,166,104)">#</span></div><div>ServerAdmin <a href="mailto:admin@example.com">admin@example.com</a></div><br><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># ServerName gives the name and port that the server uses to identify itself.</span></div><div><span style="color:rgb(124,166,104)"># This can often be determined automatically, but we recommend you specify</span></div><div><span style="color:rgb(124,166,104)"># it explicitly to prevent problems during startup.</span></div><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># If your host doesn't have a registered DNS name, enter its IP address here.</span></div><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)">#ServerName <a href="http://www.example.com:80">www.example.com:80</a></span></div><br><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># Deny access to the entirety of your server's filesystem. You must</span></div><div><span style="color:rgb(124,166,104)"># explicitly permit access to web content directories in other </span></div><div><span style="color:rgb(124,166,104)"># <Directory> blocks below.</span></div><div><span style="color:rgb(124,166,104)">#</span></div><div><Directory /></div><div>    AllowOverride none</div><div>    Require all denied</div><div></Directory></div><br><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># Note that from this point forward you must specifically allow</span></div><div><span style="color:rgb(124,166,104)"># particular features to be enabled - so if something's not working as</span></div><div><span style="color:rgb(124,166,104)"># you might expect, make sure that you have specifically enabled it</span></div><div><span style="color:rgb(124,166,104)"># below.</span></div><div><span style="color:rgb(124,166,104)">#</span></div><br><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># DocumentRoot: The directory out of which you will serve your</span></div><div><span style="color:rgb(124,166,104)"># documents. By default, all requests are taken from this directory, but</span></div><div><span style="color:rgb(124,166,104)"># symbolic links and aliases may be used to point to other locations.</span></div><div><span style="color:rgb(124,166,104)">#</span></div><div>DocumentRoot <span style="color:rgb(206,145,120)">"${SRVROOT}/htdocs"</span></div><div><Directory <span style="color:rgb(206,145,120)">"${SRVROOT}/htdocs"</span>></div><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    <span style="color:rgb(124,166,104)"># Possible values for the Options directive are "None", "All",</span></div><div>    <span style="color:rgb(124,166,104)"># or any combination of:</span></div><div>    <span style="color:rgb(124,166,104)">#   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews</span></div><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    <span style="color:rgb(124,166,104)"># Note that "MultiViews" must be named *explicitly* --- "Options All"</span></div><div>    <span style="color:rgb(124,166,104)"># doesn't give it to you.</span></div><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    <span style="color:rgb(124,166,104)"># The Options directive is both complicated and important.  Please see</span></div><div>    <span style="color:rgb(124,166,104)"># <a href="http://httpd.apache.org/docs/2.4/mod/core.html#options">http://httpd.apache.org/docs/2.4/mod/core.html#options</a></span></div><div>    <span style="color:rgb(124,166,104)"># for more information.</span></div><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    Options Indexes FollowSymLinks</div><br><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    <span style="color:rgb(124,166,104)"># AllowOverride controls what directives may be placed in .htaccess files.</span></div><div>    <span style="color:rgb(124,166,104)"># It can be "All", "None", or any combination of the keywords:</span></div><div>    <span style="color:rgb(124,166,104)">#   AllowOverride FileInfo AuthConfig Limit</span></div><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    AllowOverride None</div><br><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    <span style="color:rgb(124,166,104)"># Controls who can get stuff from this server.</span></div><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    Require all granted</div><div></Directory></div><br><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># DirectoryIndex: sets the file that Apache will serve if a directory</span></div><div><span style="color:rgb(124,166,104)"># is requested.</span></div><div><span style="color:rgb(124,166,104)">#</span></div><div><IfModule dir_module></div><div>    DirectoryIndex index.html</div><div></IfModule></div><br><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># The following lines prevent .htaccess and .htpasswd files from being </span></div><div><span style="color:rgb(124,166,104)"># viewed by Web clients. </span></div><div><span style="color:rgb(124,166,104)">#</span></div><div><Files <span style="color:rgb(206,145,120)">".ht*"</span>></div><div>    Require all denied</div><div></Files></div><br><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># ErrorLog: The location of the error log file.</span></div><div><span style="color:rgb(124,166,104)"># If you do not specify an ErrorLog directive within a <VirtualHost></span></div><div><span style="color:rgb(124,166,104)"># container, error messages relating to that virtual host will be</span></div><div><span style="color:rgb(124,166,104)"># logged here.  If you *do* define an error logfile for a <VirtualHost></span></div><div><span style="color:rgb(124,166,104)"># container, that host's errors will be logged there and not here.</span></div><div><span style="color:rgb(124,166,104)">#</span></div><div>ErrorLog <span style="color:rgb(206,145,120)">"logs/error.log"</span></div><br><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># LogLevel: Control the number of messages logged to the error_log.</span></div><div><span style="color:rgb(124,166,104)"># Possible values include: debug, info, notice, warn, error, crit,</span></div><div><span style="color:rgb(124,166,104)"># alert, emerg.</span></div><div><span style="color:rgb(124,166,104)">#</span></div><div>LogLevel warn</div><br><div><IfModule log_config_module></div><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    <span style="color:rgb(124,166,104)"># The following directives define some format nicknames for use with</span></div><div>    <span style="color:rgb(124,166,104)"># a CustomLog directive (see below).</span></div><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    LogFormat <span style="color:rgb(206,145,120)">"%h %l %u %t \"</span>%r\<span style="color:rgb(206,145,120)">" %>s %b \"</span>%{Referer}i\<span style="color:rgb(206,145,120)">" \"</span>%{User-Agent}i\<span style="color:rgb(206,145,120)">""</span> combined</div><div>    LogFormat <span style="color:rgb(206,145,120)">"%h %l %u %t \"</span>%r\<span style="color:rgb(206,145,120)">" %>s %b"</span> common</div><br><div>    <IfModule logio_module></div><div>      <span style="color:rgb(124,166,104)"># You need to enable mod_logio.c to use %I and %O</span></div><div>      LogFormat <span style="color:rgb(206,145,120)">"%h %l %u %t \"</span>%r\<span style="color:rgb(206,145,120)">" %>s %b \"</span>%{Referer}i\<span style="color:rgb(206,145,120)">" \"</span>%{User-Agent}i\<span style="color:rgb(206,145,120)">" %I %O"</span> combinedio</div><div>    </IfModule></div><br><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    <span style="color:rgb(124,166,104)"># The location and format of the access logfile (Common Logfile Format).</span></div><div>    <span style="color:rgb(124,166,104)"># If you do not define any access logfiles within a <VirtualHost></span></div><div>    <span style="color:rgb(124,166,104)"># container, they will be logged here.  Contrariwise, if you *do*</span></div><div>    <span style="color:rgb(124,166,104)"># define per-<VirtualHost> access logfiles, transactions will be</span></div><div>    <span style="color:rgb(124,166,104)"># logged therein and *not* in this file.</span></div><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    CustomLog <span style="color:rgb(206,145,120)">"logs/access.log"</span> common</div><br><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    <span style="color:rgb(124,166,104)"># If you prefer a logfile with access, agent, and referer information</span></div><div>    <span style="color:rgb(124,166,104)"># (Combined Logfile Format) you can use the following directive.</span></div><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    <span style="color:rgb(124,166,104)">#CustomLog "logs/access.log" combined</span></div><div></IfModule></div><br><div><IfModule alias_module></div><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    <span style="color:rgb(124,166,104)"># Redirect: Allows you to tell clients about documents that used to </span></div><div>    <span style="color:rgb(124,166,104)"># exist in your server's namespace, but do not anymore. The client </span></div><div>    <span style="color:rgb(124,166,104)"># will make a new request for the document at its new location.</span></div><div>    <span style="color:rgb(124,166,104)"># Example:</span></div><div>    <span style="color:rgb(124,166,104)"># Redirect permanent /foo <a href="http://www.example.com/bar">http://www.example.com/bar</a></span></div><br><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    <span style="color:rgb(124,166,104)"># Alias: Maps web paths into filesystem paths and is used to</span></div><div>    <span style="color:rgb(124,166,104)"># access content that does not live under the DocumentRoot.</span></div><div>    <span style="color:rgb(124,166,104)"># Example:</span></div><div>    <span style="color:rgb(124,166,104)"># Alias /webpath /full/filesystem/path</span></div><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    <span style="color:rgb(124,166,104)"># If you include a trailing / on /webpath then the server will</span></div><div>    <span style="color:rgb(124,166,104)"># require it to be present in the URL.  You will also likely</span></div><div>    <span style="color:rgb(124,166,104)"># need to provide a <Directory> section to allow access to</span></div><div>    <span style="color:rgb(124,166,104)"># the filesystem path.</span></div><br><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    <span style="color:rgb(124,166,104)"># ScriptAlias: This controls which directories contain server scripts. </span></div><div>    <span style="color:rgb(124,166,104)"># ScriptAliases are essentially the same as Aliases, except that</span></div><div>    <span style="color:rgb(124,166,104)"># documents in the target directory are treated as applications and</span></div><div>    <span style="color:rgb(124,166,104)"># run by the server when requested rather than as documents sent to the</span></div><div>    <span style="color:rgb(124,166,104)"># client.  The same rules about trailing "/" apply to ScriptAlias</span></div><div>    <span style="color:rgb(124,166,104)"># directives as to Alias.</span></div><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    ScriptAlias /cgi-bin/ <span style="color:rgb(206,145,120)">"C:/OSGeo4W64/apps/qgis/bin/"</span></div><br><div></IfModule></div><br><div><IfModule cgid_module></div><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    <span style="color:rgb(124,166,104)"># ScriptSock: On threaded servers, designate the path to the UNIX</span></div><div>    <span style="color:rgb(124,166,104)"># socket used to communicate with the CGI daemon of mod_cgid.</span></div><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    <span style="color:rgb(124,166,104)">#Scriptsock cgisock</span></div><div></IfModule></div><br><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># "${SRVROOT}/cgi-bin" should be changed to whatever your ScriptAliased</span></div><div><span style="color:rgb(124,166,104)"># CGI directory exists, if you have that configured.</span></div><div><span style="color:rgb(124,166,104)">#</span></div><div><Directory <span style="color:rgb(206,145,120)">"C:/OSGeo4W64/apps/qgis/bin"</span>></div><div>    SetHandler cgi-script</div><div>    AllowOverride None</div><div>    Options ExecCGI</div><div>    Require all granted</div><div></Directory></div><br><div><IfModule headers_module></div><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    <span style="color:rgb(124,166,104)"># Avoid passing HTTP_PROXY environment to CGI's on this or any proxied</span></div><div>    <span style="color:rgb(124,166,104)"># backend servers which have lingering "httpoxy" defects.</span></div><div>    <span style="color:rgb(124,166,104)"># 'Proxy' request header is undefined by the IETF, not listed by IANA</span></div><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    RequestHeader unset Proxy early</div><div></IfModule></div><br><div><IfModule mime_module></div><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    <span style="color:rgb(124,166,104)"># TypesConfig points to the file containing the list of mappings from</span></div><div>    <span style="color:rgb(124,166,104)"># filename extension to MIME-type.</span></div><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    TypesConfig conf/mime.types</div><br><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    <span style="color:rgb(124,166,104)"># AddType allows you to add to or override the MIME configuration</span></div><div>    <span style="color:rgb(124,166,104)"># file specified in TypesConfig for specific file types.</span></div><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    <span style="color:rgb(124,166,104)">#AddType application/x-gzip .tgz</span></div><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    <span style="color:rgb(124,166,104)"># AddEncoding allows you to have certain browsers uncompress</span></div><div>    <span style="color:rgb(124,166,104)"># information on the fly. Note: Not all browsers support this.</span></div><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    <span style="color:rgb(124,166,104)">#AddEncoding x-compress .Z</span></div><div>    <span style="color:rgb(124,166,104)">#AddEncoding x-gzip .gz .tgz</span></div><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    <span style="color:rgb(124,166,104)"># If the AddEncoding directives above are commented-out, then you</span></div><div>    <span style="color:rgb(124,166,104)"># probably should define those extensions to indicate media types:</span></div><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    AddType application/x-compress .Z</div><div>    AddType application/x-gzip .gz .tgz</div><br><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    <span style="color:rgb(124,166,104)"># AddHandler allows you to map certain file extensions to "handlers":</span></div><div>    <span style="color:rgb(124,166,104)"># actions unrelated to filetype. These can be either built into the server</span></div><div>    <span style="color:rgb(124,166,104)"># or added with the Action directive (see below)</span></div><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    <span style="color:rgb(124,166,104)"># To use CGI scripts outside of ScriptAliased directories:</span></div><div>    <span style="color:rgb(124,166,104)"># (You will also need to add "ExecCGI" to the "Options" directive.)</span></div><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    AddHandler cgi-script .cgi .exe</div><br><div>    <span style="color:rgb(124,166,104)"># For type maps (negotiated resources):</span></div><div>    <span style="color:rgb(124,166,104)">#AddHandler type-map var</span></div><br><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    <span style="color:rgb(124,166,104)"># Filters allow you to process content before it is sent to the client.</span></div><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    <span style="color:rgb(124,166,104)"># To parse .shtml files for server-side includes (SSI):</span></div><div>    <span style="color:rgb(124,166,104)"># (You will also need to add "Includes" to the "Options" directive.)</span></div><div>    <span style="color:rgb(124,166,104)">#</span></div><div>    <span style="color:rgb(124,166,104)">#AddType text/html .shtml</span></div><div>    <span style="color:rgb(124,166,104)">#AddOutputFilter INCLUDES .shtml</span></div><div></IfModule></div><br><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># The mod_mime_magic module allows the server to use various hints from the</span></div><div><span style="color:rgb(124,166,104)"># contents of the file itself to determine its type.  The MIMEMagicFile</span></div><div><span style="color:rgb(124,166,104)"># directive tells the module where the hint definitions are located.</span></div><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)">#MIMEMagicFile conf/magic</span></div><br><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># Customizable error responses come in three flavors:</span></div><div><span style="color:rgb(124,166,104)"># 1) plain text 2) local redirects 3) external redirects</span></div><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># Some examples:</span></div><div><span style="color:rgb(124,166,104)">#ErrorDocument 500 "The server made a boo boo."</span></div><div><span style="color:rgb(124,166,104)">#ErrorDocument 404 /missing.html</span></div><div><span style="color:rgb(124,166,104)">#ErrorDocument 404 "/cgi-bin/<a href="http://missing_handler.pl">missing_handler.pl</a>"</span></div><div><span style="color:rgb(124,166,104)">#ErrorDocument 402 <a href="http://www.example.com/subscription_info.html">http://www.example.com/subscription_info.html</a></span></div><div><span style="color:rgb(124,166,104)">#</span></div><br><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># MaxRanges: Maximum number of Ranges in a request before</span></div><div><span style="color:rgb(124,166,104)"># returning the entire resource, or one of the special</span></div><div><span style="color:rgb(124,166,104)"># values 'default', 'none' or 'unlimited'.</span></div><div><span style="color:rgb(124,166,104)"># Default setting is to accept 200 Ranges.</span></div><div><span style="color:rgb(124,166,104)">#MaxRanges unlimited</span></div><br><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># EnableMMAP and EnableSendfile: On systems that support it, </span></div><div><span style="color:rgb(124,166,104)"># memory-mapping or the sendfile syscall may be used to deliver</span></div><div><span style="color:rgb(124,166,104)"># files.  This usually improves server performance, but must</span></div><div><span style="color:rgb(124,166,104)"># be turned off when serving from networked-mounted </span></div><div><span style="color:rgb(124,166,104)"># filesystems or if support for these functions is otherwise</span></div><div><span style="color:rgb(124,166,104)"># broken on your system.</span></div><div><span style="color:rgb(124,166,104)"># Defaults: EnableMMAP On, EnableSendfile Off</span></div><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)">#EnableMMAP off</span></div><div><span style="color:rgb(124,166,104)">#EnableSendfile on</span></div><br><div><span style="color:rgb(124,166,104)"># Supplemental configuration</span></div><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># The configuration files in the conf/extra/ directory can be </span></div><div><span style="color:rgb(124,166,104)"># included to add extra features or to modify the default configuration of </span></div><div><span style="color:rgb(124,166,104)"># the server, or you may simply copy their contents here and change as </span></div><div><span style="color:rgb(124,166,104)"># necessary.</span></div><br><div><span style="color:rgb(124,166,104)"># Server-pool management (MPM specific)</span></div><div><span style="color:rgb(124,166,104)">#Include conf/extra/httpd-mpm.conf</span></div><br><div><span style="color:rgb(124,166,104)"># Multi-language error messages</span></div><div><span style="color:rgb(124,166,104)">#Include conf/extra/httpd-multilang-errordoc.conf</span></div><br><div><span style="color:rgb(124,166,104)"># Fancy directory listings</span></div><div><span style="color:rgb(124,166,104)">#Include conf/extra/httpd-autoindex.conf</span></div><br><div><span style="color:rgb(124,166,104)"># Language settings</span></div><div><span style="color:rgb(124,166,104)">#Include conf/extra/httpd-languages.conf</span></div><br><div><span style="color:rgb(124,166,104)"># User home directories</span></div><div><span style="color:rgb(124,166,104)">#Include conf/extra/httpd-userdir.conf</span></div><br><div><span style="color:rgb(124,166,104)"># Real-time info on requests and configuration</span></div><div><span style="color:rgb(124,166,104)">#Include conf/extra/httpd-info.conf</span></div><br><div><span style="color:rgb(124,166,104)"># Virtual hosts</span></div><div><span style="color:rgb(124,166,104)">#Include conf/extra/httpd-vhosts.conf</span></div><br><div><span style="color:rgb(124,166,104)"># Local access to the Apache HTTP Server Manual</span></div><div><span style="color:rgb(124,166,104)">#Include conf/extra/httpd-manual.conf</span></div><br><div><span style="color:rgb(124,166,104)"># Distributed authoring and versioning (WebDAV)</span></div><div><span style="color:rgb(124,166,104)">#Include conf/extra/httpd-dav.conf</span></div><br><div><span style="color:rgb(124,166,104)"># Various default settings</span></div><div><span style="color:rgb(124,166,104)">#Include conf/extra/httpd-default.conf</span></div><br><div><span style="color:rgb(124,166,104)"># Configure mod_proxy_html to understand HTML4/XHTML1</span></div><div><IfModule proxy_html_module></div><div>Include conf/extra/proxy-html.conf</div><div></IfModule></div><br><div><span style="color:rgb(124,166,104)"># Secure (SSL/TLS) connections</span></div><div><span style="color:rgb(124,166,104)">#Include conf/extra/httpd-ssl.conf</span></div><div><span style="color:rgb(124,166,104)">#</span></div><div><span style="color:rgb(124,166,104)"># Note: The following must must be present to support</span></div><div><span style="color:rgb(124,166,104)">#       starting without SSL on platforms with no /dev/random equivalent</span></div><div><span style="color:rgb(124,166,104)">#       but a statically compiled-in mod_ssl.</span></div><div><span style="color:rgb(124,166,104)">#</span></div><div><IfModule ssl_module></div><div>SSLRandomSeed startup builtin</div><div>SSLRandomSeed connect builtin</div><div></IfModule></div><br><br><div># parse OSGeo4W apache conf files<br>IncludeOptional "C:/OSGeo4W64/httpd.d/httpd_*.conf"<br>SetEnv GDAL_DATA "C:/OSGeo4W64/share/gdal"<br>SetEnv QGIS_AUTH_DB_DIR_PATH "C:/OSGeo4W64/apps/qgis/resources"<br></div></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><font color="#38761d"><b><br></b></font></div><div><font color="#38761d"><b>Thanks</b></font></div><div><div><div><br></div></div></div></div></div></div></div></div>