• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

ASP question

H

hc_andy

Guest
Hi There,

I'm new to plesk and web administration and have a simple asp question to ask.

Is there a way I can test that Apache ASP is working properly on our install of Plesk 8.2 under Redhat Linux?

Platform: psa8.2.0/RedHatel3
perl-Apache-ASP: 2.57-rhel3.build82070706.15

This is the line about asp in the /conf/httpd.include file for the domain I'm testing with.

<Files ~ (\.asp$)>
SetHandler perl-script
PerlHandler Apache::ASP
PerlSetVar Global /tmp
</Files>

I've created a sample "test.asp" (code below) but when I bring it up it on Internet Explorer I get "The page cannot be displayed" message (on Firefox it just returns a blank page). To get plesk/apache to display .asp pages, do I have to enable something somewhere - if so where is this done on plesk/apache?

test.asp

<html>
<body>
<%
$Response->Write("Hello, world!");
%>
</body>
</html>

Thanks.

Andy
 
Has anyone been able to get Apache ASP working on plesk? Like I said when I load a *.asp page, nothing is displayed on IE and I get a "The page cannot be displayed" message.

Same thing happens when I try to load a *.pl file in the browser. Perl files are executing fine from the command line.

I've chmod 755 all *.asp and *.pl.

It's like there's something messed up with the Apache directives. All the modules seemed to be installed as seen on Plesk Expand.

mod_perl 1.99_09-10.ent
perl-Apache-ASP 2.57-rhel3.build82070706.15

Here's a snip of the htttpd.include file:

<Directory /home/httpd/vhosts/mydomian.com.au/httpdocs>
<IfModule mod_perl.c>
<Files ~ (\.pl$)>
SetHandler perl-script
PerlHandler ModPerl::Registry
Options ExecCGI
allow from all
PerlSendHeader On
</Files>
</IfModule>
<IfModule mod_perl.c>
<Files ~ (\.asp$)>
SetHandler perl-script
PerlHandler Apache::ASP
PerlSetVar Global /tmp
</Files>
</IfModule>
Options +Includes +ExecCGI
</Directory>


Am I suppose to be able to locate this module "mod_perl.c" because when I do a search for it, nothing comes up.=?

[root@plesk2 conf]# locate mod_perl.c
[root@plesk2 conf]#

The only mod_perl file I have is what's in the modules folder.

[root@plesk2 conf]# locate mod_perl
/usr/lib/httpd/modules/mod_perl.so

Any help would be much appreciated. I've googled around but can't get much help with my problem.

Thanks.
 
well, im guessing you named your page index.asp? apache doesn't detect index.asp as a default extension. im trying to find where to add it in. i figured this because i can access the asp pages when the direct link is in the url.


10
 
My problem is even worst than that because I can directly type in the URL and I still get the message that the asp page can't be found. I have also named it test.asp and same thing happens.

Have you modified anything on plesk or the domain's httpd.include file so that plesk/apache recognises *.asp files and attempts to interpret it. My understanding is that plesk isn't even understanding what a *.asp file is and therefore spits back that page can not be found message. If it did understand *.asp pages but can't interpret it then it would just list the asp code.

Help please!
 
the only thing I've modified is the httpd.conf file to make index.asp recognized as a default index page. is asp installed and enabled via plesk? also enabled in the domain? you also know the asp is apache asp. i had to recode some things for some of our clients as they were using ms asp.
 
Originally posted by x102020
the only thing I've modified is the httpd.conf file to make index.asp recognized as a default index page. is asp installed and enabled via plesk? also enabled in the domain? you also know the asp is apache asp. i had to recode some things for some of our clients as they were using ms asp.

Thanks for your reply...

I have the following installed on the plesk server:

perl-Apache-ASP 2.57-rhel3.build82070706.15

And on the domain itself I have ASP enabled:

Services
Apache ASP support Yes

When I try to load a *.asp page, I see this in var/log/httpd/error_log:

[Mon Sep 03 18:10:31 2007] [notice] child pid 27883 exit signal Segmentation fault (11)
[Mon Sep 03 18:10:34 2007] [notice] child pid 27934 exit signal Segmentation fault (11)
[Mon Sep 03 18:10:39 2007] [notice] child pid 25807 exit signal Segmentation fault (11)
[Mon Sep 03 18:10:42 2007] [notice] child pid 25799 exit signal Segmentation fault (11)

Any more ideas???

Thanks.

Andy
 
uh...not a clue on that? your using fc3? not sure, im on 4, shouldn't have problems though...the only problems im still trying to figure out is the $Server->Mail() function... its so confusing to me compared to php...
 
Originally posted by x102020
uh...not a clue on that? your using fc3? not sure, im on 4, shouldn't have problems though...the only problems im still trying to figure out is the $Server->Mail() function... its so confusing to me compared to php...

No probs, thanks for your help.

I've had to lodge a fault with swsoft which costs me $75 :)
 
Back
Top