Foros del Web » Administración de Sistemas » Apache »

Error en hostinger.es

Estas en el tema de Error en hostinger.es en el foro de Apache en Foros del Web. Hola, soy nueva en esto de paginas web La situación es que estoy creando el .htaccess y coloque el siguiente código Código HTML: # BEGIN ...
  #1 (permalink)  
Antiguo 11/08/2013, 12:48
 
Fecha de Ingreso: febrero-2007
Mensajes: 5
Antigüedad: 17 años, 2 meses
Puntos: 1
Error en hostinger.es

Hola, soy nueva en esto de paginas web
La situación es que estoy creando el .htaccess y coloque el siguiente código

Código HTML:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

# deshabilita navegacion por directorios
Options All -Indexes

# protege archivo wp-config
<files wp-config.php>
order allow,deny
deny from all
</files>

# protege archivo .htaccess
<files .htaccess>
order allow,deny
deny from all
</files>

#Asegurar plugins
<Files ~ "\.(js|css)$">
  order allow,deny
  allow from all
</Files> 
Este lo subo por ftp, pero cuando me voy a la pagina no puedo entrar y me sale el siguiente mensaje:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


Tengo el código malo o algun error? ya he buscado por google pero no consigo orientarme ...espero por su ayuda
  #2 (permalink)  
Antiguo 11/08/2013, 14:06
darkhack3r22
Invitado
 
Mensajes: n/a
Puntos:
Respuesta: Error en hostinger.es

No es ningún error del hostinger. Seguramente no exista un archivo clave que estes definiendo ahí como documento ej: index.php.
  #3 (permalink)  
Antiguo 12/08/2013, 09:42
 
Fecha de Ingreso: febrero-2007
Mensajes: 5
Antigüedad: 17 años, 2 meses
Puntos: 1
Respuesta: Error en hostinger.es

gracias por responderme!
de hecho, si tengo un archivo index.php en el mismo lugar donde tengo el .htaccess...ya se me arreglo, fui probando colocando el codigo uno por uno y todo pegado sin dejar linea de por medio, no se si fue eso jejeje pero ya me abre la pagina normalmente...igualmente gracias

Etiquetas: htaccess
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta

SíEste tema le ha gustado a 1 personas




La zona horaria es GMT -6. Ahora son las 23:31.