Mapserver presento un par de problemas al cambiar algunas configuraciones como las rutas que no se mantuvieron de la instalacion anterior, este fue el resultado:
ERROR
[Sun May 03 18:16:30 2009] [error] [client 190.183.62.168] PHP Warning: ini_set() [function.ini-set]: open_basedir restriction in effect. File(/r/u/t/a/mi_virtual_host/subdomains/mi_subdomain/httpdocs/../bs_log/bs_PhpErrLog.txt) is not within the allowed path(s): (/r/u/t/a/mi_virtual_host/subdomains/mi_subdomain/httpdocs:/tmp) in /r/u/t/a/mi_virtual_host/subdomains/mi_subdomain/httpdocs/global.conf.php on line 103, referer: http://sudomain.vhost.com.ar/
[Sun May 03 18:16:30 2009] [error] [client 190.183.62.168] PHP Warning: include_once() [function.include-once]: open_basedir restriction in effect. File(/usr/local/lib/php/blueshoes-4.5/blueshoes.ini.php) is not within the allowed path(s): (/r/u/t/a/mi_virtual_host/subdomains/mi_subdomain/httpdocs:/tmp) in /r/u/t/a/mi_virtual_host/subdomains/mi_subdomain/httpdocs/global.conf.php on line 109, referer: http://mi_subdomain.mi_vhost.edu.ar/
[Sun May 03 18:16:30 2009] [error] [client 190.183.62.168] PHP Warning: include_once(/usr/local/lib/php/blueshoes-4.5/blueshoes.ini.php) [function.include-once]: failed to open stream: Operation not permitted in /r/u/t/a/mi_virtual_host/subdomains/mi_subdomain/httpdocs/global.conf.php on line 109, referer: http://mi_subdomain.mi_vhost.edu.ar/
[Sun May 03 18:16:30 2009] [error] [client 190.183.62.168] PHP Warning: include_once() [function.include]: Failed opening '/usr/local/lib/php/blueshoes-4.5/blueshoes.ini.php' for inclusion (include_path='.:/usr/local/lib/php/blueshoes-4.5') in /r/u/t/a/mi_virtual_host/subdomains/mi_subdomain/httpdocs/global.conf.php on line 109, referer: http://mi_subdomain.mi_vhost.edu.ar/
[Sun May 03 18:16:30 2009] [error] [client 190.183.62.168] PHP Warning: include_once() [function.include-once]: open_basedir restriction in effect. File(/usr/local/lib/php/blueshoes-4.5/blueshoes.ini.php) is not within the allowed path(s): (/r/u/t/a/mi_virtual_host/subdomains/mi_subdomain/httpdocs:/tmp) in /r/u/t/a/mi_virtual_host/subdomains/mi_subdomain/httpdocs/global.conf.php on line 109, referer: http://mi_subdomain.mi_vhost.edu.ar/
[Sun May 03 18:16:30 2009] [error] [client 190.183.62.168] PHP Warning: include_once(/usr/local/lib/php/blueshoes-4.5/blueshoes.ini.php) [function.include-once]: failed to open stream: Operation not permitted in /r/u/t/a/mi_virtual_host/subdomains/mi_subdomain/httpdocs/global.conf.php on line 109, referer: http://mi_subdomain.mi_vhost.edu.ar/
[Sun May 03 18:16:30 2009] [error] [client 190.183.62.168] PHP Warning: include_once() [function.include]: Failed opening '/usr/local/lib/php/blueshoes-4.5/blueshoes.ini.php' for inclusion (include_path='.:/usr/local/lib/php/blueshoes-4.5') in /r/u/t/a/mi_virtual_host/subdomains/mi_subdomain/httpdocs/global.conf.php on line 109, referer: http://mi_subdomain.mi_vhost.edu.ar/
SOLUCION
La idea es crear un vhost.conf en el directorio conf (de Plesk en mi caso de este subdomain) lo siguiente:
Ahora vamos a guardar estos cambios porque al reiniciar el Plesk lo elimina:
/usr/local/psa/admin/sbin/websrvmng -v -a
ERROR
Sun May 03 18:21:29 2009] [error] [client 190.183.62.168] Premature end of script headers: mapserv, referer: http://mi_subdomain.mi_vhost.edu.ar/XXX.hmtl
SOLUCION
La solución a esto es acomodar los permisos del cgi-bin mapserv para una correcta ejecución.
No hay comentarios:
Publicar un comentario