Re: How can I tell if Apache::ASP is available?
Hi Jason, On Wed, 13 Sep 2000, Jason wrote: This is the output of my httpd -l command .. ASP is a perl module, it's not in the output of httpd -l. how can I tell if Apache::ASP is available? Do you mean if it's in your filesystem somewhere, or if it's been loaded by mod_perl, or if you've configured it correctly? If all are true then just put something in an html file like this: HTMLHEADTITLETitle/TITLEHeading stuff./HEAD BODY % my $variable = 'This is produced by ASP.'; $ This is ordinary HTML text. %= $variable % /BODY /HTML and fetch the page with a browser. If you put PerlSetVar debug 2 in your httpd.conf then you'll get heaps of irritating (sorry Josh:) output from ASP if it's doing anything. 73, Ged.
RE: How can I tell if Apache::ASP is available?
Yes. --begin hello.asp %= "Hello World" % --end hello.asp -Original Message- From: Jason [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 13, 2000 3:04 PM To: 'Jerrad Pierce' Cc: [EMAIL PROTECTED] Subject: RE: How can I tell if Apache::ASP is available? Thanks .. I typed this: [root admin]# perl use Apache::ASP; print "Hello World\n"; then pressed Ctrl-D, and it output: Hello World [root admin]# So, I assuming that means it's working. When I type lwp-request command, I get this: Connection: close Date: Wed, 13 Sep 2000 19:11:26 GMT Accept-Ranges: bytes Server: Apache/1.3.12 Cobalt (Unix) mod_ssl/2.6.4 OpenSSL/0.9.5a PHP/4.0.1pl2 mo d_auth_pam/1.0a FrontPage/4.0.4.3 mod_perl/1.24 Which I believe means that mod_perl 1.24 is installed. So by that rational, can someone on our server now program with mod_perl and Apache::ASP?? -Original Message- From: Jerrad Pierce [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 13, 2000 2:56 PM To: Jason Ables; [EMAIL PROTECTED] Subject: RE: How can I tell if Apache::ASP is available? prompt# perl use Apache::ASP; print "Hello World\n"; ^D If you get no errors it's there -Original Message- From: Jason [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 13, 2000 2:28 PM To: [EMAIL PROTECTED] Subject: How can I tell if Apache::ASP is available? This is the output of my httpd -l command .. how can I tell if Apache::ASP is available? [admin admin]$ httpd -l bash: httpd: command not found [admin admin]$ /usr/sbin/httpd -l Compiled-in modules: http_core.c mod_so.c mod_perl.c suexec: disabled; invalid wrapper /usr/sbin/suexec [admin admin]$
RE: How can I tell if Apache::ASP is available?
I put that into an HTML file and looked at it in a browser and received this output: --begin hello.asp --end hello.asp is there something else I need to do? Thanks for all your help guys! -Original Message- From: Jerrad Pierce [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 13, 2000 3:12 PM To: Jason Ables; Jerrad Pierce Cc: [EMAIL PROTECTED] Subject: RE: How can I tell if Apache::ASP is available? Yes. --begin hello.asp %= "Hello World" % --end hello.asp -Original Message- From: Jason [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 13, 2000 3:04 PM To: 'Jerrad Pierce' Cc: [EMAIL PROTECTED] Subject: RE: How can I tell if Apache::ASP is available? Thanks .. I typed this: [root admin]# perl use Apache::ASP; print "Hello World\n"; then pressed Ctrl-D, and it output: Hello World [root admin]# So, I assuming that means it's working. When I type lwp-request command, I get this: Connection: close Date: Wed, 13 Sep 2000 19:11:26 GMT Accept-Ranges: bytes Server: Apache/1.3.12 Cobalt (Unix) mod_ssl/2.6.4 OpenSSL/0.9.5a PHP/4.0.1pl2 mo d_auth_pam/1.0a FrontPage/4.0.4.3 mod_perl/1.24 Which I believe means that mod_perl 1.24 is installed. So by that rational, can someone on our server now program with mod_perl and Apache::ASP?? -Original Message- From: Jerrad Pierce [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 13, 2000 2:56 PM To: Jason Ables; [EMAIL PROTECTED] Subject: RE: How can I tell if Apache::ASP is available? prompt# perl use Apache::ASP; print "Hello World\n"; ^D If you get no errors it's there -Original Message- From: Jason [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 13, 2000 2:28 PM To: [EMAIL PROTECTED] Subject: How can I tell if Apache::ASP is available? This is the output of my httpd -l command .. how can I tell if Apache::ASP is available? [admin admin]$ httpd -l bash: httpd: command not found [admin admin]$ /usr/sbin/httpd -l Compiled-in modules: http_core.c mod_so.c mod_perl.c suexec: disabled; invalid wrapper /usr/sbin/suexec [admin admin]$
Re: How can I tell if Apache::ASP is available?
This is the output of my httpd -l command .. how can I tell if Apache::ASP is available? you can't from http -l. Apache::ASP is not an apache module but a perl module. try 'perldoc Apache::ASP' if you see the documentation then Apache::ASP was properly installed. another thing, you will not be able to run microsoft asp implementation on Apache::ASP. as of the moment it just gives an easy way of embedding perl code directly into html so that you can still use your favorite html editor without it mangling your perl code. if your purpose in installing Apache::ASP is to run real microsoft asp pages, then your going the wrong direction. only NT/2000 with IIS will be able to serve asp pages. [admin admin]$ httpd -l bash: httpd: command not found [admin admin]$ /usr/sbin/httpd -l Compiled-in modules: http_core.c mod_so.c mod_perl.c suexec: disabled; invalid wrapper /usr/sbin/suexec [admin admin]$ Mike
Re: How can I tell if Apache::ASP is available?
"Victor Michael D. Blancas" wrote: This is the output of my httpd -l command .. how can I tell if Apache::ASP is available? you can't from http -l. Apache::ASP is not an apache module but a perl module. try 'perldoc Apache::ASP' if you see the documentation then Apache::ASP was properly installed. another thing, you will not be able to run microsoft asp implementation on Apache::ASP. as of the moment it just gives an easy way of embedding perl code directly into html so that you can still use your favorite html editor without it mangling your perl code. if your purpose in installing Apache::ASP is to run real microsoft asp pages, then your going the wrong direction. only NT/2000 with IIS will be able to serve asp pages. ASP - Active Server Pages, is a Microsoft API for web scripting, application development. VBScript is the primary language for that platform, however there is a PerlScript plugin available which Apache::ASP is fairly compatible with. If an application is writtin for IIS/PerlScript, however unlikely, then the port will be much easier to Apache::ASP. --Joshua