Ver Mensaje Individual
  #1 (permalink)  
Antiguo 18/01/2011, 08:28
Avatar de José Molina
José Molina
 
Fecha de Ingreso: enero-2002
Ubicación: USA
Mensajes: 768
Antigüedad: 22 años, 4 meses
Puntos: 1
Configurar Apache para reconocer .htaccess

Saludos.

En mi http.conf del apache tengo lo siguiente:

Código:
 
<Directory "C:/Archivos de programa/Apache Software Foundation/Apache2.2/htdocs">
    #
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    #
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    #
    # The Options directive is both complicated and important.  Please see
    # http://httpd.apache.org/docs/2.2/mod/core.html#options
    # for more information.
    #
Options Indexes FollowSymLinks Includes    
#Options FollowSymLinks
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride none
    #
    # Controls who can get stuff from this server.
    #
    Order allow,deny
    Allow from all
</Directory>
Quiero autorizar un .htaccess que está en mi raíz del server, que contiene ésto:

Código:
 
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^site/p_contenido.php/(.+)/(.+)/(.+)/(.+)$ http://url/site/p_contenido.php?idc=...idp=$3&idpp=$4
RewriteRule ^site/p_contenido.php/(.+)/(.+)/(.+)$ http://url/site/p_contenido.php?idc=$1&idsc=$2&idp=$3
RewriteRule ^site/p_contenido.php/(.+)/(.+)$ http://url/site/p_contenido.php?idc=$1&idsc=$2
RewriteRule ^site/p_contenido.php/(.+)$ http://url/site/p_contenido.php?idc=$1 
Para tal fin, cambio la línea

AllowOverride none

por

AllowOverride All

Pero entonces el site me arroja el siguiente errorÑ

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Qué otra cosa debo modificar en el httpd.conf del apache para que acepte los .htaccess ????

Estoy en un servidor windows con apache 2.2

Gracias
__________________
José Molina
La marginalidad no esta en la incapacidad de calmar el hambre de un estómago sino en la incapacidad de calmar el hambre de la mente.