ورود

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : اموزش نصب ASP بر روی Cpanel و لینوکس



allbert
February 2nd, 2012, 00:56
How To: Install ASP (Apache ASP) on CPanel


Login to your server via SSH as root



firs we should download it
wget http://layer1.cpanel.net/apache-asp.sea
chmod 700 apache-asp.sea
./apache-asp.sea
this going through some installation processes and things
open httpd conf with this command
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
</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
Network engineers Community (http://www.ponap.com)

Done!

Have nice day

Online24
February 2nd, 2012, 01:54
How To: Install ASP (Apache ASP) on CPanel


Login to your server via SSH as root



firs we should download it
wget http://layer1.cpanel.net/apache-asp.sea
chmod 700 apache-asp.sea
./apache-asp.sea
this going through some installation processes and things
open httpd conf with this command
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
</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
Network engineers Community (http://www.ponap.com)

Done!

Have nice day



این امکان از نظر cPanel چند سال است که منقضی شده و دیگر پشتیبانی نمیشود .

حتی لینکی دانلود فایل مورد نیاز از سایت cPanel حذف شده است .

به طور کلی چند راه حل تحقیقاتی برای اجرای امکانات انحصاری و خاص windows مانند net. و یا اجرای asp از روش مهندسی معکـوس یا مشابه سازی ارائه شده است و به هیچ عنوان این راه حل ها برای استفاده تجاری مناسب نمی باشد .

در ضمن دوستان اگر قصد استفاده از apache-asp را دارند ، فایل ها و document های مورد نظر را از سایت اصلی پروژه یعنی Apache::ASP (http://www.apache-asp.org) دنلود فرمایند .

* استفاده از آن روی سرور های عملیاتی توصیه نمیشود ، صرفا برای تست و تحقیقات مناسب است .