| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| gsmalbin Guest
 
 
 
 
 
 
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| aprelium -
 
 
 Joined: 22 Mar 2002
 Posts: 6800
 
 
 | 
			
				|  Posted: Tue Nov 05, 2002 5:03 pm    Post subject: Re: Problem with downloads... |   |  
				| 
 |  
				| Thank you :D
 
 OK. The problem is the following: the path where is your file belongs to the CGI Paths (or to one of their subpaths). It is especially the case if you set / as a CGI Path.
 What happens is that the web server will consider every .exe in the CGI Paths (or their subpaths) file as a CGI application and it will try to launch it. But your .exe isn't a good CGI application and thus your get error 500.
 
 The solution is to correctly configure CGI Paths:
 * Open the console
 * Select Server Configuration > Advanced > CGI Parameters.
 * Remove for example '/' and any path that doesn't contain CGI scripts. Add only to that table paths that really contain CGI scripts and check that /albin/programmering/program/ isn't a subpath of the  CGI Paths.
 * Restart the server.
 
 More information about CGI Paths is available in the documentation.
 _________________
 Support Team
 Aprelium - http://www.aprelium.com
 |  | 
	
		| Back to top |       | 
	
		|  | 
	
		| gsmalbin Guest
 
 
 
 
 
 
 | 
			
				|  Posted: Tue Nov 05, 2002 5:09 pm    Post subject: |   |  
				| 
 |  
				| thank you!  :D 
 It work now!
 
 regards Albin!
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  |