OT: PWS Y PHP

From: Date: Sun, 23 Feb 2003 04:40:34 +0000
Subject: OT: PWS Y PHP
Groups: php.general.es 
Request: Send a blank email to general-es+get-32877@lists.php.net to get a copy of this message
Hola, encontre al menos una referencia en la lista Hola, At 08:01 22/08/2002 -0500, you wrote: >Tengo corriendo en mi windows 98 Personal Web Server y Frontpage >extensiones de servidor (ASP) y el otro dia baje php para windows y al >instalar elegi la opcion con PWS es decir con el servidor web que tengo >instalado en mi win98, pero cuando coloco una pagina php me muestra el >siguiente error: > >Error 403 de Http >403.1 Prohibido:prohibido el acceso de ejecucion >Este error puede producirse si intenta ejecutar un programa CGI, ISAPI u >otro programa ejecutable desde un directorio que no permite ejecutar programas. > >BUeno como puedo solucionar por el PWS esta normal y el ASP tambien y >cuando instale el PHP, coloque las lineas el el regedit como indica la >configuracion, a que se debe mi problema. Me parece que en el PHP.INI aparece algo al respecto, busca (en PHP.INI) "CGI.FORCE_REDIRECT" (o algo así) y lee el comentario que aparece. Rafael. YO HE IDO AL PHP.INI Y HE VISTO EL CGI.FORCE_REDIRECT y esto es lo que dice: ; UNIX: "/path1:/path2" ;include_path=".:/php/includes" ; ; Windows: "\path1;\path2" ;include_path=".;c:\php\includes" ; The root of the PHP pages, used only if nonempty. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root ; if you are running php as a CGI under any web server (other than IIS) ; see documentation for security issues. The alternate is to use the ; cgi.force_redirect configuration below doc_root= ; The directory under which PHP opens the script using /~username used only ; if nonempty. user_dir=c:/php ; Directory in which the loadable extensions (modules) reside. extension_dir=./ ; Whether or not to enable the dl() function. The dl() function does NOT work ; properly in multithreaded servers, such as IIS or Zeus, and is automatically ; disabled on them. enable_dl=On ; cgi.force_redirect is necessary to provide security running PHP as a CGI under ; most web servers. Left undefined, PHP turns this on by default. You can ; turn it off here AT YOUR OWN RISK ; **You CAN safely turn this off for IIS, in fact, you MUST.** ; cgi.force_redirect=1 ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP ; will look for to know it is OK to continue execution. Setting this variable MAY ; cause security issues, KNOW WHAT YOU ARE DOING FIRST. ; cgi.redirect_status_env=; ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate ; security tokens of the calling client. This allows IIS to define the ; security context that the request runs under. mod_fastcgi under Apache ; does not currently support this feature (03/17/2002) ; Set to 1 if running under IIS. Default is zero. ; fastcgi.impersonate=1; ; cgi.rfc2616_headers configuration option tells PHP what type of headers to ; use when sending HTTP response code. If it's set 0 PHP sends Status: header that ; is supported by Apache. When this option is set to 1 PHP will send ; RFC2616 compliant header. ; Set to 1 if running under IIS. Default is zero. ;cgi.rfc2616_headers=0 EL CUAL NO ENTIENDO NI PAPA, ALGUIEN PODRIA AYUDARME PLEASE. DISCULPEN PERO ME ENTREVERE DEMASIADO, EN MUCHAS PAGINAS SE CITA DE MUCHAS MANERAS Y PUES NO AYUDA MUCHO ESO. GRACIAS ANDY

« previous php.general.es (#32877) next »