Flynet Designer for Web Services

Apache Web Server

Hide Navigation Pane

Apache Web Server

Previous topic Next topic No directory for this topic No expanding text in this topic  

Apache Web Server

Previous topic Next topic Topic directory requires JavaScript JavaScript is required for expanding text JavaScript is required for the print function Mail us feedback on this topic!  

Please note that if you are going to use the Apache Web Server then you must generate the Web Service with the Register with IIS option unchecked (see below).

UncheckIIS

You can download the ASP.NET module installer for Apache 2.x from:

http://archive.apache.org/dist/httpd/mod_aspdotnet/

Apache has retired this module and it is no longer officially supported. Flynet have had no problems reported.

The folder containing your web service files (*.asmx and web.config) need to be set up as an alias in the Apache http.conf file.

Here is an example mounting the web service contained in “c:\Test\WebSites\TestWebService” as “/TestWebService” in Apache.

Please note that you must enter forward slashes / when configuring Apache.

<IfModule mod_aspdotnet.cpp>

 # Mount the Web Service application

 AspNetMount /TestWebService "C:/Test/WebSites/TestWebService"

 # Map all requests for /TestWebService to the Web Service application files

 Alias /TestWebService "C:/Test/WebSites/TestWebService"

 # Allow asp.net scripts to be executed in the Web Service application

 <Directory "C:/Test/WebSites/TestWebService">

 Options FollowSymlinks ExecCGI

 Order allow,deny

 Allow from all

 DirectoryIndex Default.htm Default.aspx

 </Directory>

 # For all virtual ASP.NET webs, we need the aspnet_client files

 # to serve the client-side helper scripts.

 AliasMatch /aspnet_client/system_web/(\d+)_(\d+)_(\d+)_(\d+)/(.*) \

 "C:/Windows/Microsoft.NET/Framework/v$1.$2.$3/ASP.NETClientFiles/$4"

 <Directory \

 "C:/Windows/Microsoft.NET/Framework/v*/ASP.NETClientFiles">

 Options FollowSymlinks

 Order allow,deny

 Allow from all

 </Directory>

</IfModule>