
rsomsak at mor-or
Sep 9, 2001, 8:20 AM
Post #3 of 4
(1921 views)
Permalink
|
On Sat, 8 Sep 2001, Joshua Chamas wrote: > Somsak RAKTHAI wrote: > > > > Dear member, > > I used Apache-ASP-2.21, mod_perl-1.26, apache_1.3.20, openssl-0.9.6 > > mod_ssl-2.8.4-1.3.20 running on Red-Hat-7.1 Linux. > > I used script "build_httpds.sh" in "Apache-ASP-2.21/make_httpd" > > to install that can install success. > > I config httpd.conf below. > > > > <Directory /> > > Options FollowSymLinks > > AllowOverride All > > </Directory> > > > > AllowOverride All > > > > And I copy all file in ./site/eg include ".htaccess" from > > "Apache-ASP-2.21" to "/usr/local/apache/htdocs". > > But I can not run any ASP file in "/usr/local/apache/htdocs/site/eg". > > It has error message "Internal Server Error" on my browser. > > In error_log have message below. > > > > [Sat Sep 8 20:55:50 2001] [error] Undefined subroutine &Apache::ASP::handler > > > > Make sure you also install Apache::ASP as a perl module, > with perl Makefile.PL; make test; make install > > Then also make sure to stop/start apache, which is important > to do whenever you do a major perl module installation. > > Later on, when performance tuning, make sure to add > PerlModule Apache::ASP to your httpd.conf. > > --Josh > Dear sir, I follow you but still problem. I follow below. (1) perl Makefile.PL APACHE_SRC=../apache_1.3.20/src \ NO_HTTPD=1 USE_APACI=1 PREP_HTTPD=1 EVERYTHING=1 (2) make (3) make test (4) make install When use choice (1), it has messages show in "perl-make.txt". When use "make test" (choice (3)), messages show in "make-test.txt". And then I follow below. cd ../apache_1.3.20 ./configure \ --prefix=/usr/local/apache \ --activate-module=src/modules/perl/libperl.a And config "PerlModule Apache::ASP" in httpd.conf. (line 979) When use command "/usr/local/apache/bin/apachectl start", it has messages below. Syntax error on line 979 of /usr/local/apache/conf/httpd.conf: Can't locate Apache/ASP.pm in @INC (@INC contains: /usr/local/lib/perl5/5.6.1/i686-linux /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/i686-li nux /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl . /usr/local/apache/ /usr/local/apache/lib/perl) at (eval 3) line 3. Please let me know how to solve this problem. thank you very much. regards, Somsak.
|