Hi.
I'm trying to get apache::asp
working...
Below are the instructions I followed, but when I
actually get to the asp webpage, it's black..
The code I put in the page is
<%
response.write "Test works!"
%>
Can anyone shed any light???
Many thanks
Doug
How To: Install ASP (Apache::ASP) on CPanel
|
|
- Login to your server via SSH as
root.
(If you disabled root logins login with your other username,
and su to root)
- Type:
wget
http://layer1.cpanel.net/apache-asp.sea
- Type:
chmod 700 apache-asp.sea
- Type:
./apache-asp.sea
You should see this going
through some installation processes and things. Once it gets toward
the end, it'll say that you may need to restart Apache. Don't worry
about that yet.
Once that's done, you'll need to setup Apache to work with
Apache::ASP:
-
Type: pico /usr/local/apache/conf/httpd.conf
-
Find This: <Files ~
"^\.ht"> Order allow,deny Deny from all Satisfy
All </Files>
-
Right below there, add: ##
Apache::ASP Install Configuration
PerlModule
Apache::ASP <Files ~ (\.asp)> SetHandler
perl-script PerlHandler Apache::ASP PerlSetVar Global
. PerlSetVar StateDir /tmp/asp </Files>
-
Next, find the section that
looks like: <IfModule mod_dir.c> DirectoryIndex index.html
index.wml index.cgi index.shtml index.jsp index.js index.jp blah blah
blah blah ..... </IfModule>
-
Add in there index.asp and default.asp so those are included as directory
defaults (pages that load when no filename is given for a
directory).
-
Save and exit. CTRL-x then Y
then enter
- Login to WHM as root.
Now
restart Apache.
You are done!
|
|