• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Apache ASP error

D

DarkHorizons

Guest
I have apache ASP enabled on a domain and uploaded a file with some very simple asp code:

Code:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<html><head><title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<% If 1=1 Then Response.write "This is a test" %>
</body>
</html>

This is some pretty simple ASP code, however, it gives an Internal Server Error 500. Any idea what may be the problem? This is what the log file says:

[Fri Oct 13 19:38:59 2006] [error] [asp] [22726] [debug] Bareword found where operator expected at /home/httpd/vhosts/<domain>/httpdocs/newsite/test.asp line 8, near "1 then" <-->
[Fri Oct 13 19:38:59 2006] [error] [asp] [22726] [debug] !(Missing operator before then?) <-->
[Fri Oct 13 19:38:59 2006] [error] [asp] [22726] [error] error compiling test.asp: syntax error at /home/httpd/vhosts/<domain>/httpdocs/newsite/test.asp line 8, near "if 1" <--> (Might be a runaway multi-line '' string starting on line 1) <--> , /usr/lib/perl5/site_perl/5.8.0/Apache/ASP.pm line 1462

[Fri Oct 13 19:40:15 2006] [error] [asp] [23935] [debug] Number found where operator expected at /home/httpd/vhosts/<domain>/httpdocs/newsite/test.asp line 9, near "If 1" <--> (Might be a runaway multi-line '' string starting on line 1) <-->
[Fri Oct 13 19:40:15 2006] [error] [asp] [23935] [debug] !(Do you need to predeclare If?) <-->
[Fri Oct 13 19:40:15 2006] [error] [asp] [23935] [debug] Bareword found where operator expected at /home/httpd/vhosts/<domain>/httpdocs/newsite/test.asp line 9, near "1 Then" <-->
[Fri Oct 13 19:40:15 2006] [error] [asp] [23935] [debug] !(Missing operator before Then?) <-->
[Fri Oct 13 19:40:15 2006] [error] [asp] [23935] [error] error compiling test.asp: syntax error at /home/httpd/vhosts/<domain>/httpdocs/newsite/test.asp line 9, near "If 1" <--> , /usr/lib/perl5/site_perl/5.8.0/Apache/ASP.pm line 1462
 
Back
Top