  | |  | ASP in Apache server | ASP in Apache server 2004-03-25 - By uuganbat
Back Hi SR
I visited
http://apache-asp.org
<
http://apache-asp.org/
> and I
downloaded, installed
MLDBM-2.0.1.tar.gz
MLDBM-Sync-0.27.tar.gz then Apache-ASP-2.57.tar.gz installed. The
installetion is no error, no problem.
Then I insert httpd.con file
PerlModule Apache::ASP
<Files ~ (\.Asp) >
Set handler perl-script
Perl handler Apache::ASP
PerlSetVar Global
PerlSetVar StateDir /tmp/asp
</Files >
/etc/rc.d/init.d/httpd restart this is no error, restarted
In my browser test.asp is not executing.
See the /etc/httpd/logs/error_log file contains this error.
Error compiling test.asp missing $ on loop variable at
/var/www/html/test.asp line 2. < - >, /usr/lib/perl/5.8.0.Apache/ASP.pm
line 146
ASP.pm line 146 is 'Cashe ' = > "You need this module for xml output
cashing "
In test.asp <% For i=1 to 5 step 1 % > <Font size= " <%=I % > " > testing
</Font > <% Next % >
Maybe I missing some configuration in httpd.conf file. What is a
configuration in httpd.conf. how Asp is working in Apache.
Best regards,
/Chillisoft is the software which enables ASP on apache to server out of
the box
/aternatively you have
http://apache-asp.org
please visit
/Regards
/SR
<html xmlns:o= "urn:schemas-microsoft-com:office:office " xmlns:w= "urn:schemas-microsoft-com:office:word " xmlns= "
http://www.w3.org/TR/REC-html40
" >
<head >
<META HTTP-EQUIV= "Content-Type " CONTENT= "text/html; charset=us-ascii " >
<meta name=ProgId content=Word.Document >
<meta name=Generator content= "Microsoft Word 10 " >
<meta name=Originator content= "Microsoft Word 10 " >
<link rel=File-List href= "cid:filelist.xml@(protected) " >
<!--[if gte mso 9] > <xml >
<o:OfficeDocumentSettings >
<o:DoNotRelyOnCSS/ >
</o:OfficeDocumentSettings >
</xml > <![endif]-- > <!--[if gte mso 9] > <xml >
<w:WordDocument >
<w:SpellingState >Clean </w:SpellingState >
<w:GrammarState >Clean </w:GrammarState >
<w:DocumentKind >DocumentEmail </w:DocumentKind >
<w:EnvelopeVis/ >
<w:BrowserLevel >MicrosoftInternetExplorer4 </w:BrowserLevel >
</w:WordDocument >
</xml > <![endif]-- >
<style >
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent: " ";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family: "Times New Roman ";
mso-fareast-font-family: "Times New Roman ";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;
text-underline:single;}
p
{mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family: "Times New Roman ";
mso-fareast-font-family: "Times New Roman ";}
span.EmailStyle18
{mso-style-type:personal;
mso-style-noshow:yes;
mso-ansi-font-size:10.0pt;
mso-bidi-font-size:10.0pt;
font-family:Arial;
mso-ascii-font-family:Arial;
mso-hansi-font-family:Arial;
mso-bidi-font-family:Arial;
color:navy;}
span.EmailStyle19
{mso-style-type:personal-reply;
mso-style-noshow:yes;
mso-ansi-font-size:10.0pt;
mso-bidi-font-size:10.0pt;
font-family:Arial;
mso-ascii-font-family:Arial;
mso-hansi-font-family:Arial;
mso-bidi-font-family:Arial;
color:navy;}
span.SpellE
{mso-style-name: " ";
mso-spl-e:yes;}
span.GramE
{mso-style-name: " ";
mso-gram-e:yes;}
@(protected) Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-- >
</style >
<!--[if gte mso 10] >
<style >
/* Style Definitions */
table.MsoNormalTable
{mso-style-name: "Table Normal ";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent: " ";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family: "Times New Roman ";}
</style >
<![endif]-- >
</head >
<body lang=EN-US link=blue vlink=blue style= 'tab-interval:.5in ' >
<div class=Section1 >
<div >
<p class=MsoNormal style= 'margin-left:.5in ' > <font size=3 color=navy
face= "Times New Roman " > <span style= 'font-size:12.0pt;color:navy ' >Hi <span
style= 'mso-spacerun:yes ' > </span >SR <o:p > </o:p > </span > </font > </p >
<p class=MsoNormal > <font size=2 color=navy face=Arial > <span style= 'font-size:
10.0pt;font-family:Arial;color:navy ' > <o:p > </o:p > </span > </font > </p >
<p class=MsoNormal style= 'margin-left:.5in ' > <font size=3 color=navy
face= "Times New Roman " > <span style= 'font-size:12.0pt;color:navy ' >I visited <a
href= "
http://apache-asp.org/
" >
http://apache-asp.org
</a > and I downloaded,
installed <o:p > </o:p > </span > </font > </p >
<p class=MsoNormal style= 'margin-left:.5in ' > <font size=3 color=navy
face= "Times New Roman " > <span style= 'font-size:12.0pt;color:navy ' >MLDBM-2.0.1.tar.gz <o:p > </o:p > </span > </font > </p >
<p class=MsoNormal style= 'margin-left:.5in ' > <font size=3 color=navy
face= "Times New Roman " > <span style= 'font-size:12.0pt;color:navy ' >MLDBM-Sync-0.27.tar.gz
then Apache-ASP-2.57.tar.gz installed. The installetion is no error, no
problem. <o:p > </o:p > </span > </font > </p >
<p class=MsoNormal style= 'margin-left:.5in ' > <font size=3 color=navy
face= "Times New Roman " > <span style= 'font-size:12.0pt;color:navy ' >Then I insert <span
class=SpellE >httpd.con </span > file <o:p > </o:p > </span > </font > </p >
<p class=MsoNormal > <font size=2 color=navy face=Arial > <span style= 'font-size:
10.0pt;font-family:Arial;color:navy ' > <o:p > </o:p > </span > </font > </p >
<p class=MsoNormal style= 'margin-left:.5in ' > <span class=SpellE > <font size=3
color=navy face= "Times New Roman " > <span style= 'font-size:12.0pt;color:navy ' >PerlModule </span > </font > </span > <font
color=navy > <span style= 'color:navy ' > <span class=SpellE >Apache::ASP </span > <o:p > </o:p > </span > </font > </p >
<p class=MsoNormal style= 'margin-left:.5in ' > <font size=3 color=navy
face= "Times New Roman " > <span style= 'font-size:12.0pt;color:navy ' ><Files ~
(\.Asp)> <o:p > </o:p > </span > </font > </p >
<p class=MsoNormal style= 'margin-left:.5in ' > <font size=3 color=navy
face= "Times New Roman " > <span style= 'font-size:12.0pt;color:navy ' >Set handler
perl-script <o:p > </o:p > </span > </font > </p >
<p class=MsoNormal style= 'margin-left:.5in ' > <font size=3 color=navy
face= "Times New Roman " > <span style= 'font-size:12.0pt;color:navy ' >Perl handler
Apache::ASP <o:p > </o:p > </span > </font > </p >
<p class=MsoNormal style= 'margin-left:.5in ' > <font size=3 color=navy
face= "Times New Roman " > <span style= 'font-size:12.0pt;color:navy ' >PerlSetVar
Global <o:p > </o:p > </span > </font > </p >
<p class=MsoNormal style= 'margin-left:.5in ' > <font size=3 color=navy
face= "Times New Roman " > <span style= 'font-size:12.0pt;color:navy ' >PerlSetVar
StateDir /tmp/asp <o:p > </o:p > </span > </font > </p >
<p class=MsoNormal style= 'margin-left:.5in ' > <font size=3 color=navy
face= "Times New Roman " > <span style= 'font-size:12.0pt;color:navy ' ></Files> <o:p > </o:p > </span > </font > </p >
<p class=MsoNormal style= 'margin-left:.5in ' > <font size=3 color=navy
face= "Times New Roman " > <span style= 'font-size:12.0pt;color:navy ' > <o:p > </o:p > </span > </font > </p >
<p class=MsoNormal style= 'margin-left:.5in ' > <font size=3 color=navy
face= "Times New Roman " > <span style= 'font-size:12.0pt;color:navy ' >/etc/rc.d/init.d/httpd
restart <span style= 'mso-tab-count:1 ' > </span >this
is no error, restarted <o:p > </o:p > </span > </font > </p >
<p class=MsoNormal style= 'margin-left:.5in ' > <font size=3 color=navy
face= "Times New Roman " > <span style= 'font-size:12.0pt;color:navy ' >In my browser
test.asp is not executing. <o:p > </o:p > </span > </font > </p >
<p class=MsoNormal style= 'margin-left:.5in ' > <font size=3 color=navy
face= "Times New Roman " > <span style= 'font-size:12.0pt;color:navy ' > <o:p > </o:p > </span > </font > </p >
<p class=MsoNormal style= 'margin-left:.5in ' > <font size=3 color=navy
face= "Times New Roman " > <span style= 'font-size:12.0pt;color:navy ' >See the
/etc/httpd/logs/error_log file contains this error. <o:p > </o:p > </span > </font > </p >
<p class=MsoNormal style= 'margin-left:.5in ' > <font size=3 color=navy
face= "Times New Roman " > <span style= 'font-size:12.0pt;color:navy ' >Error
compiling test.asp missing $ on loop variable at /var/www/html/test.asp line 2.
< - >, /usr/lib/perl/5.8.0.Apache/ASP.pm line 146 <o:p > </o:p > </span > </font > </p >
<p class=MsoNormal style= 'margin-left:1.0in ' > <font size=3 color=navy
face= "Times New Roman " > <span style= 'font-size:12.0pt;color:navy ' > <o:p > </o:p > </span > </font > </p >
<p class=MsoNormal style= 'margin-left:.5in ' > <font size=3 color=navy
face= "Times New Roman " > <span style= 'font-size:12.0pt;color:navy ' >ASP.pm line
146 is <span style= 'mso-tab-count:1 ' > </span >‘Cashe’
=> “You need this module for xml output cashing” <o:p > </o:p > </span > </font > </p >
<p class=MsoNormal style= 'margin-left:.5in ' > <font size=3 color=navy
face= "Times New Roman " > <span style= 'font-size:12.0pt;color:navy ' > <o:p > </o:p > </span > </font > </p >
<p class=MsoNormal style= 'margin-left:.5in ' > <font size=3 color=navy
face= "Times New Roman " > <span style= 'font-size:12.0pt;color:navy ' >In
test.asp <span style= 'mso-spacerun:yes ' > </span ><% For i=1
to 5 step 1 %> <span style= 'mso-spacerun:yes ' > </span ><Font
size=”<%=I %>”> testing </Font> <span
style= 'mso-spacerun:yes ' > </span ><% Next %> <o:p > </o:p > </span > </font > </p >
<p class=MsoNormal style= 'margin-left:.5in ' > <font size=3 color=navy
face= "Times New Roman " > <span style= 'font-size:12.0pt;color:navy ' > <o:p > </o:p > </span > </font > </p >
<p class=MsoNormal style= 'margin-left:.5in ' > <font size=3 color=navy
face= "Times New Roman " > <span style= 'font-size:12.0pt;color:navy ' >Maybe I
missing some configuration in httpd.conf <span style= 'mso-spacerun:yes ' >
</span >file. What is a configuration in httpd.conf. <span class=GramE >how </span >
Asp is working in Apache. <o:p > </o:p > </span > </font > </p >
<p class=MsoNormal > <font size=2 color=navy face=Arial > <span style= 'font-size:
10.0pt;font-family:Arial;color:navy ' > <o:p > </o:p > </span > </font > </p >
<p class=MsoNormal > <font size=2 color=navy face=Arial > <span style= 'font-size:
10.0pt;font-family:Arial;color:navy ' >Best regards, <o:p > </o:p > </span > </font > </p >
<p class=MsoNormal style= 'margin-left:.5in ' > <font size=3 color=navy
face= "Times New Roman " > <span style= 'font-size:12.0pt;color:navy ' > <o:p > </o:p > </span > </font > </p >
<p class=MsoNormal style= 'margin-left:1.0in ' > <font size=3 color=navy
face= "Times New Roman " > <span style= 'font-size:12.0pt;color:navy ' >/ </span > </font > <span
class=SpellE >Chillisoft </span > is the software which enables ASP on apache to
server out of the box <o:p > </o:p > </p >
</div >
<div >
<p class=MsoNormal style= 'margin-left:1.0in ' > <font size=3 color=navy
face= "Times New Roman " > <span style= 'font-size:12.0pt;color:navy ' >/ </span > </font >aternatively
you have <a href= "
http://apache-asp.org
" >
http://apache-asp.org
</a > please
visit <o:p > </o:p > </p >
</div >
<div >
<p class=MsoNormal style= 'margin-left:1.0in ' > <font size=3 face= "Times New Roman " > <span
style= 'font-size:12.0pt ' > <o:p > </o:p > </span > </font > </p >
</div >
<div >
<p class=MsoNormal style= 'margin-left:1.0in ' > <font size=3 color=navy
face= "Times New Roman " > <span style= 'font-size:12.0pt;color:navy ' >/ </span > </font >Regards
<o:p > </o:p > </p >
</div >
<div >
<p class=MsoNormal style= 'margin-left:1.0in ' > <font size=3 color=navy
face= "Times New Roman " > <span style= 'font-size:12.0pt;color:navy ' >/ </span > </font >SR
<o:p > </o:p > </p >
</div >
<div >
<p class=MsoNormal style= 'margin-left:1.0in ' > <font size=3 face= "Times New Roman " > <span
style= 'font-size:12.0pt ' > <br >
<br style= 'mso-special-character:line-break ' >
<![if !supportLineBreakNewLine] > <br style= 'mso-special-character:line-break ' >
<![endif] > <o:p > </o:p > </span > </font > </p >
</div >
</div >
</body >
</html >
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
|
|
 |