Ver Mensaje Individual
  #4 (permalink)  
Antiguo 21/11/2013, 10:04
Avatar de luzzifer
luzzifer
 
Fecha de Ingreso: julio-2009
Ubicación: Paraná - Argentina
Mensajes: 169
Antigüedad: 15 años, 5 meses
Puntos: 3
Exclamación Respuesta: Wamp y Apache Imposible Activar rewrite_modulo

e reemplazado todos los "AllowOverride None" por "AllowOverride All" he reiniciado el server, y limpiado el cache y nada sigue tirando error.
La página no está redirigiendo adecuadamente

estos son los .htacces que me dan error
Este es generado por joomla
Código HTML:
Ver original
  1. ##
  2. # @package      Joomla
  3. # @copyright    Copyright (C) 2005 - 2013 Open Source Matters. All rights reserved.
  4. # @license      GNU General Public License version 2 or later; see LICENSE.txt
  5. ##
  6.  
  7. ##
  8. # READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE!
  9. #
  10. # The line just below this section: 'Options +FollowSymLinks' may cause problems
  11. # with some server configurations.  It is required for use of mod_rewrite, but may already
  12. # be set by your server administrator in a way that dissallows changing it in
  13. # your .htaccess file.  If using it causes your server to error out, comment it out (add # to
  14. # beginning of line), reload your site in your browser and test your sef url's.  If they work,
  15. # it has been set by your server administrator and you do not need it set here.
  16. ##
  17.  
  18. ## Can be commented out if causes errors, see notes above.
  19. Options +FollowSymLinks
  20.  
  21. ## Mod_rewrite in use.
  22.  
  23. RewriteEngine On
  24. RewriteCond %{HTTP_HOST} ^l2luna.com.ar
  25. RewriteRule (.*) http://www.l2luna.com.ar/$1 [R=301,L]
  26.  
  27. <Directory "C:/wamp/www/">
  28. Options Indexes FollowSymLinks
  29. AllowOverride All
  30. Order allow,deny
  31. Allow from all
  32. RewriteEngine On
  33. Options +FollowSymlinks #Inecesario ya lo declarastes antes
  34. RewriteBase /
  35. RewriteCond %{REQUEST_URI} ^/index\.html*$ [OR]
  36. RewriteCond %{REQUEST_URI} ^/indice\.html*$ [OR]
  37. RewriteCond %{REQUEST_URI} ^/metro\.html*$ [OR]
  38. RewriteCond %{REQUEST_URI} ^/menu\.html*$ [OR]
  39. RewriteCond %{REQUEST_URI} ^/catalogo/(.*)$ [OR]
  40. RewriteCond %{REQUEST_URI} ^/novedades/(.*)$ [OR]
  41. RewriteCond %{REQUEST_URI} ^/lecturas/(.*)$ [OR]
  42. RewriteCond %{REQUEST_URI} ^/principal\.html*$
  43. RewriteRule ^(.+)\.html*$ index.php [L]
  44. </Directory>
  45.  
  46. <IfModule mod_rewrite.c>
  47. Options +FollowSymLinks
  48. RewriteEngine On
  49. RewriteBase /
  50.  
  51. # Si el archivo no es un directorio
  52. RewriteCond %{REQUEST_FILENAME} !-d
  53.  
  54. # "Redirigir" normal cualquier numero,letra y barra (-)
  55. # y no hacer nada mas.
  56. RewriteRule ^([A-Za-z0-9-]+)/?$ $1.php [L]
  57.  
  58. # Si la consulta tiene extension .php
  59. RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^.]+)\.php\ HTTP
  60.  
  61. # Y no es un directorio
  62. RewriteCond %{REQUEST_URI} !-d
  63.  
  64. # Rediregimos a la misma consulta sin el .php
  65. RewriteRule ^(.+)\.php$ $1 [L,R=302]
  66.  
  67. </IfModule>
  68.  
  69. ## Begin - Rewrite rules to block out some common exploits.
  70. # If you experience problems on your site block out the operations listed below
  71. # This attempts to block the most common type of exploit `attempts` to Joomla!
  72. #
  73. # Block out any script trying to base64_encode data within the URL.
  74. RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
  75. # Block out any script that includes a <script> tag in URL.
  76. RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
  77. # Block out any script trying to set a PHP GLOBALS variable via URL.
  78. RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
  79. # Block out any script trying to modify a _REQUEST variable via URL.
  80. RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
  81. # Return 403 Forbidden header and show the content of the root homepage
  82. RewriteRule .* index.php [F]
  83. #
  84. ## End - Rewrite rules to block out some common exploits.
  85.  
  86. ## Begin - Custom redirects
  87. #
  88. # If you need to redirect some pages, or set a canonical non-www to
  89. # www redirect (or vice versa), place that code here. Ensure those
  90. # redirects use the correct RewriteRule syntax and the [R=301,L] flags.
  91. #
  92. ## End - Custom redirects
  93.  
  94. ##
  95. # Uncomment following line if your webserver's URL
  96. # is not directly related to physical file paths.
  97. # Update Your Joomla! Directory (just / for root).
  98. ##
  99.  
  100. # RewriteBase /
  101.  
  102. ## Begin - Joomla! core SEF Section.
  103. #
  104. RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  105. #
  106. # If the requested path and file is not /index.php and the request
  107. # has not already been internally rewritten to the index.php script
  108. RewriteCond %{REQUEST_URI} !^/index\.php
  109. # and the request is for something within the component folder,
  110. # or for the site root, or for an extensionless URL, or the
  111. # requested URL ends with one of the listed extensions
  112. RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC]
  113. # and the requested path and file doesn't directly match a physical file
  114. RewriteCond %{REQUEST_FILENAME} !-f
  115. # and the requested path and file doesn't directly match a physical folder
  116. RewriteCond %{REQUEST_FILENAME} !-d
  117. # internally rewrite the request to the index.php script
  118. RewriteRule .* index.php [L]
  119. #
  120. ## End - Joomla! core SEF Section.
este es de una pagina en php y html para un server de lineage.
Código HTML:
Ver original
  1. <IfModule mod_rewrite.c>
  2.     RewriteEngine On
  3.     RewriteCond %{REQUEST_FILENAME} !-f
  4.     RewriteCond %{REQUEST_FILENAME} !-d
  5.    
  6.     RewriteRule ^([a-zA-Z0-9-/,._;]+) index.php?index=$1 [L]
  7. </IfModule>