This is a discussion on Re: apache-asp on mod_perl2??? within the Windows Web Servers forums, part of the Web Server and Related Forums category; > That means that the PerlModule directive shouldn't appear > within the <Files ></Files> block. ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
> That means that the PerlModule directive shouldn't appear
> within the <Files ></Files> block. Try something like > > PerlModule Apache::ASP > <Files ~ "^\.asp"> > SetHandler perl-script > PerlHandler Apache::ASP > PerlSetVar Global c:/server/apache/site/eg > PerlSetVar StateDir c:/windows/temp > </Files> ERROR: 500 - Internal Server Error! when i try to run the sample. |
|
|||
|
On 25 Jun 2003 01:46:52 -0700, jorge <jorge@jorge.be> wrote:
>> That means that the PerlModule directive shouldn't appear >> within the <Files ></Files> block. Try something like >> >> PerlModule Apache::ASP >> <Files ~ "^\.asp"> >> SetHandler perl-script >> PerlHandler Apache::ASP >> PerlSetVar Global c:/server/apache/site/eg >> PerlSetVar StateDir c:/windows/temp >> </Files> > >ERROR: 500 - Internal Server Error! >when i try to run the sample. What was that error? And can you give a short script sample that invokes it? -- best regards, randy kobes |
|
|||
|
euhm,
I use the sample that come with apache-asp. My server is not online, i'm behind firewall, so i can't give you an ip -_-; When i do it you way, it won't gove and error when staring apache, only when executing the sample adn other asp pages. I can post a screen if you'd like. |
|
|||
|
"jorge" <jorge@jorge.be> wrote in message
news:734d12db.0306252355.1272283c@posting.google.c om... > euhm, > I use the sample that come with apache-asp. > My server is not online, i'm behind firewall, so i can't give you an > ip -_-; > When i do it you way, it won't gove and error when staring apache, > only when executing the sample adn other asp pages. > I can post a screen if you'd like. A screenshot probably won't reveal anything. What is the entry in the error log when you try the sample pages? You might also try searching the apache-asp mailing list archives at http://www.apache-asp.org/ for similar errors. best regards, randy |
|
|||
|
Sry that i took me some time to replay, was very buzy.
But here is the error.log entry: --------- [Sat Jun 28 14:32:32 2003] [error] [asp] [1028] [debug] [1056803552.2100;0.0000] RUN ASP (v2.53) for C:/server/Apache/asp/eg/application.asp [Sat Jun 28 14:32:32 2003] [error] [asp] [1028] [debug] [1056803552.2501;0.0401] GlobalASA package Apache::ASP::Demo [Sat Jun 28 14:32:32 2003] [error] [asp] [1028] [error] can't create group dir /tmp/asp_demo: No such file or directory, C:/server/Perl/site/lib/Apache/ASP/State.pm line 160 [Sat Jun 28 14:32:32 2003] [error] [asp] [1028] [error] can't create group dir /tmp/asp_demo/server: No such file or directory, C:/server/Perl/site/lib/Apache/ASP/State.pm line 160 [Sat Jun 28 14:32:32 2003] [error] [asp] [1028] [debug] [1056803552.3603;0.1102] creating dbm for file /tmp/asp_demo/server/internal, db SDBM_File, serializer: Data::Dumper [Sat Jun 28 14:32:32 2003] [error] [client 127.0.0.1] can't open file /tmp/asp_demo/server/internal.lock: No such file or directory at C:/server/Perl/site/lib/MLDBM/Sync.pm line 239. MLDBM::Sync::Lock('MLDBM::Sync=HASH(0x5f67d68)',1) called at C:/server/Perl/site/lib/MLDBM/Sync.pm line 231 MLDBM::Sync::ReadLock('MLDBM::Sync=HASH(0x5f67d68) ') called at C:/server/Perl/site/lib/MLDBM/Sync.pm line 79 MLDBM::Sync::AUTOLOAD('MLDBM::Sync=HASH(0x5f67d68) ','application') called at C:/server/Perl/site/lib/Apache/ASP/State.pm line 337 Apache::ASP::State::FETCH('Apache::ASP::State=HASH (0x5f7da00)','application') called at C:/server/Perl/site/lib/Apache/ASP/State.pm line 72 Apache::ASP::State::new('Apache::ASP=HASH(0x5f7d9b 8)','application','server') called at C:/server/Perl/site/lib/Apache/ASP/State.pm line 324 Apache::ASP::State::TIEHASH('Apache::ASP::State',' Apache::ASP=HASH(0x5f7d9b8)','application','server ') called at C:/server/Perl/site/lib/Apache/ASP/Application.pm line 17 Apache::ASP::Application::new('Apache::ASP=HASH(0x 5f7d9b8)') called at C:/server/Perl/site/lib/Apache/ASP/StateManager.pm line 70 Apache::ASP::InitState('Apache::ASP=HASH(0x5f7d9b8 )') called at C:/server/Perl/site/lib/Apache/ASP.pm line 398 Apache::ASP::new('Apache::ASP','Apache::RequestRec =SCALAR(0x5f8aef4)','C:/server/Apache/asp/eg/application.asp') called at C:/server/Perl/site/lib/Apache/ASP.pm line 169 Apache::ASP::handler('Apache::RequestRec=SCALAR(0x 5f8aef4)') called at -e line 0 eval {...} called at -e line 0 , referer: http://schrauwen.no-ip.org/asp/eg/ [Sat Jun 28 14:32:32 2003] [error] [asp] [1028] [debug] [1056803552.4604;0.1001] destroying ASP object Apache::ASP=HASH(0x5f7d9b8) ---------- Hope you can use it. |
|
|||
|
"jorge" <jorge@jorge.be> wrote in message
news:734d12db.0306280435.3a05aad0@posting.google.c om... > Sry that i took me some time to replay, was very buzy. > But here is the error.log entry: > --------- > [Sat Jun 28 14:32:32 2003] [error] [asp] [1028] [error] can't create > group dir /tmp/asp_demo: No such file or directory, [ .. ] This means that you don't have a /tmp directory on your system. Try creating it first and then running the demo. best regards, randy kobes |
|
|||
|
my config is now:
PerlModule Apache::ASP <Files ~ (\.asp)> SetHandler perl-script PerlHandler Apache::ASP PerlSetVar Global C:/server/Apache/asp/eg/ PerlSetVar StateDir C:/windows/temp/ </Files> and i get blanck page, but no errors. I'm thing of give up on it. Thanx for you help anyway. |
| Thread Tools | |
| Display Modes | |
|
|