] > Instalar ASP en apache - MIRULU INFORMATIZATE
 [+]
 

Instalar ASP en apache

| PDF| Imprimir |

SSH en nuestra máquina cómo root.

 
 [~]# wget <a href="http://layer1.cpanel.net/apache-asp.sea" >http://layer1.cpanel.net/apache-asp.sea</a>

Asignamos permisos

 
root@Server [~]# chmod 755 apache-asp.sea 

Iniciamos la instalación (puede demorarse algunos minutos)

root@Server [~]# ./apache-asp.sea 

reiniciciando apache

 
root@Server [~]# /etc/init.d/httpd restart
 

Configurar Apache (editar httpd.conf)

 
root@Server [~]# vi /usr/local/apache/conf/httpd.conf

El contenido del fichero es

 
<Files ~ "^\.ht">
Order allow,deny
Deny from all
Satisfy All
</Files>
Below that add the following data:
PerlModule Apache::ASP
<Files ~ (.asp)>
SetHandler perl-script
PerlHandler Apache::ASP
PerlSetVar Global .
PerlSetVar StateDir /tmp/asp
</Files>

Continuamos, buscaremos en httpd.conf el siguiente trozo de codigo.

 
<IfModule mod_dir.c>
 
index.asp
</IfModule>
 
 

Una vez localizado añadiremos, index.asp a las páginas por defecto que tengamos.

reiniciar nuevamente apache

 
root@Server [~]# /etc/init.d/httpd restart

Todo listo para empezar, si no funciona buscar en los logs de apache los errores

FUENTE: http://www.webhostingtalk.com/showthread.php?t=241921