RE: Problem with ASP Pages
"Bridges, Jon" wrote: I'm working on Windows 2000 and have finally managed to get the mod_perl and Apache::ASP extensions working. I can confirm this as when I open up .htm files with embedded asp everything works fine. However I come across a problem when trying to view .asp files as my web browser IE5.5 will try and download them. Has anyone got any ideas on why this is happening Are you sure the .asp files are being executed? If they are, then they send a Content-Type: text/html header by default, so IE 5.5 should handle it. Did you get the examples to work in the ./site/eg directory? They have .asp files there. You can see the headers that are being sent by lwp-request -ed $URL if content-type is being set and IE still doesn't get it, I'm not sure what to say? --Josh I have figured out why the .asp files were being downloaded instead of executed. This was because I had not declared .asp in the mime.types file. I couldn't do the lwp-request as I am running Apache on Windows 2000, is this a Linux command? Now all that happening is an error in the error log saying "No such file or directory: couldn't spawn child process" I think this is due to a directory setting in the asp file. If anyone knows of any other problems that can cause this can you let me know Thanks guys Jonathan Bridges
Re: Problem with ASP Pages
"Bridges, Jon" wrote: I have figured out why the .asp files were being downloaded instead of executed. This was because I had not declared .asp in the mime.types file. I couldn't do the lwp-request as I am running Apache on Windows 2000, is this a Linux command? In all my years (almost 3) working with Apache::ASP, I never had to tweak the mime.types to make things work. If this is really what did it for you, that's great! The lwp-request command is one that ships with perl, and you will likely find it as lwp-request in the perl/bin directory on your system. You can run it like perl $perl_dir/bin/lwp-request ... Now all that happening is an error in the error log saying "No such file or directory: couldn't spawn child process" I personally have no idea about this, maybe someone else might? If you think this is an Apache::ASP error, then set Debug to -2, restart apache, and get me an error log bit for a request. -- Josh _ Joshua Chamas Chamas Enterprises Inc. NodeWorks free web link monitoring Huntington Beach, CA USA http://www.nodeworks.com1-714-625-4051
Re: Problem with ASP Pages
On Tue, 17 Apr 2001, Joshua Chamas wrote: "Bridges, Jon" wrote: [ ... ] Now all that happening is an error in the error log saying "No such file or directory: couldn't spawn child process" I personally have no idea about this, maybe someone else might? If you think this is an Apache::ASP error, then set Debug to -2, restart apache, and get me an error log bit for a request. This error, or some variation of it, arises in Win32 if you invoke a cgi script with an incorrect shebang line: #!/Path/To/Perl.exe Perhaps some script is being called that needs this adjusted? best regards, randy kobes
Problem with ASP Pages
I'm working on Windows 2000 and have finally managed to get the mod_perl and Apache::ASP extensions working. I can confirm this as when I open up .htm files with embedded asp everything works fine. However I come across a problem when trying to view .asp files as my web browser IE5.5 will try and download them. Has anyone got any ideas on why this is happening Thanks Jon
Re: Problem with ASP Pages
"Bridges, Jon" wrote: I'm working on Windows 2000 and have finally managed to get the mod_perl and Apache::ASP extensions working. I can confirm this as when I open up .htm files with embedded asp everything works fine. However I come across a problem when trying to view .asp files as my web browser IE5.5 will try and download them. Has anyone got any ideas on why this is happening Are you sure the .asp files are being executed? If they are, then they send a Content-Type: text/html header by default, so IE 5.5 should handle it. Did you get the examples to work in the ./site/eg directory? They have .asp files there. You can see the headers that are being sent by lwp-request -ed $URL if content-type is being set and IE still doesn't get it, I'm not sure what to say? --Josh _ Joshua Chamas Chamas Enterprises Inc. NodeWorks free web link monitoring Huntington Beach, CA USA http://www.nodeworks.com1-714-625-4051