Foros del Web » Administración de Sistemas » Software para Servers »

htaccess a web.config

Estas en el tema de htaccess a web.config en el foro de Software para Servers en Foros del Web. Necesito ayuda para pasar estas lineas a web.config para que pueda leerlo el iis, llevo probando una semana y me da fallo en alguna linea ...
  #1 (permalink)  
Antiguo 25/09/2012, 04:11
 
Fecha de Ingreso: septiembre-2012
Mensajes: 2
Antigüedad: 11 años, 7 meses
Puntos: 1
htaccess a web.config

Necesito ayuda para pasar estas lineas a web.config para que pueda leerlo el iis, llevo probando una semana y me da fallo en alguna linea o no se.

Cita:
Options +FollowSymLinks +ExecCGI

AddDefaultCharset utf-8

<IfModule mod_authz_host.c>
<FilesMatch "\.(lock|conf)$">
Order deny,allow
Deny from all
</FilesMatch>

<FilesMatch "pre_.+\.php">
Order deny,allow
Deny from all
</FilesMatch>
</IfModule>


<IfModule mod_rewrite.c>
RewriteEngine On

# Rule to test if rewrite module is available during
# the install process
RewriteRule test_rewrite1\.txt test_rewrite2.txt

# uncomment the following line, if you are having trouble
# getting no_script_name to work
#RewriteBase /

# we skip all files with .something
RewriteCond %{REQUEST_URI} \..+$
RewriteCond %{REQUEST_URI} !\.html$
RewriteRule .* - [L]

# we check if the .html version is here (caching)
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f

# no, so we redirect to our front web controller
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>
Si podeis echarme una mano en la medida de lo posible os lo agradeceria mucho.

Un saludo

Etiquetas: htaccess, ip, php, red, hosts
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




La zona horaria es GMT -6. Ahora son las 09:58.