Product:
Search Type:

I want to use Sun ASP instead of Apache ASP on my Plesk 7.5 Reloaded server. I've already installed Sun ASP and it seems to be starting ok, but when I try to test any ASP page it shows me "Internal Server Error". How do I work around that problem?

Article ID: 966 
Last Review: May,04 2006
APPLIES TO:
  • Plesk for Linux/Unix

RESOLUTION


To make Sun ASP available for every new domain you need to login as root via ssh into the server and create a 
new file, for ex. addvhostperm.sh, in /usr/local/psa/bin/ folder with your
favorite text editor such as vi or nano.

Add the following lines there:

#!/bin/bash
cat > /home/httpd/vhosts/$1/conf/vhost.conf <<EOF
ASPUser $2
ASPGroup psacln
EOF

Save the file and exit the text editor. You may need to change the permissions on
this file to run it (make sure root has execute permissions) with:

# chmod +x /usr/local/psa/bin/addvhostperm.sh

Now, login to the plesk admin console and go to the server section. Locate
Event Manager and click on Add New Event.

Select "Physical hosting created" from the drop down menu, "normal" in the
priority list and "root" as the user and paste the following line into the
Command text box:

/usr/local/psa/bin/addvhostperm.sh <new_domain_name> <new_system_user>

Click OK to save the event.

Done - this event will create a file called vhost.conf in the conf directory
of all the domains you setup with physical hosting under the Plesk control
Panel allowing each domain permissions to access the ASP server.

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields