Re: Extensiones .PHP

From: Date: Wed, 08 Nov 2000 15:06:13 +0000
Subject: Re: Extensiones .PHP
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-3467@lists.php.net to get a copy of this message
Victor Hugo Gonzales wrote: > Holas... > > Hay alguna forma de configurar el servidor apache, para que reconozca > archivos que contenga código PHP sin que tengan que especificarse la > extensión PHP, PHP4, etc. Hmmmmmmm... quizá baste con que pongas el código apache entre <? .. ?> o <?php .. ?> Por otra parte, si hay opciones de configuración para esto en tu httpd.conf (el genérico está /etc/httpd/httpd.conf en mi SuSE aunque utilizo otros servidores para otros subsistemas) # AddType allows you to tweak mime.types without actually # make certain files to be certain types. # # For example, the PHP 3.x module (not part of the Apache # http://www.php.net) will typically use: # <IfDefine PHP> AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3-source .phps AddType application/x-httpd-php3 .phtml </IfDefine> Puedes meter ahí otras extensiones, si te vale con eso. Gxis la! -- Francisco M. Marzoa Alonso Loyalt-e Commerce, S.A. System Administrator & Po. de la Chopera, 29 Software Developer 28760 - Madrid - España/Spain e-mail: fmmarzoa@loyalt-e.com Phone: +34 914 841 068 Powered by LiNUX! Fax: +34 916 613 954

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