Ver Mensaje Individual
  #10 (permalink)  
Antiguo 08/10/2009, 09:09
Avatar de cala932
cala932
 
Fecha de Ingreso: septiembre-2006
Ubicación: San Juan-Argentina
Mensajes: 902
Antigüedad: 18 años, 3 meses
Puntos: 9
Respuesta: redirect htaccess

Buenas me anduvo pero no se porque no me carga la hoja de estilos este es mi htacces
Código:
# Force 401 pages to use a valid error document
# so they do not fall back to the 404 which is
# triggered by ISC. This allows HTTP Auth to work
# correctly
ErrorDocument 401 "Unauthorized access"

<IfModule mod_security.c>
	# Turn off mod_security filtering.
	SecFilterEngine Off

	# The below probably isn't needed, but better safe than sorry.
	SecFilterScanPOST Off
</IfModule>

<IfModule mod_rewrite.c>
	RewriteEngine On
	# If your server is running PHP in CGI mode you will probably need to uncomment the following lines
	# Only uncomment lines that begine with Rewrite

	# The RewriteBase should be set to the same value as the AppPath setting in your config.php WITH a / on the end
	# RewriteBase /

	# This rewrite base rule is only required if you are getting 401 unauthorized errors when placing an order with Google Checkout
	# RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
	#
	# Alternatively, if the above does not work, try uncommenting this line below instead:
	# SetEnvIfNoCase Authorization "Basic ([a-z0-9=]+)" REMOTE_AUTHORIZATION=$1

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php
	<IfModule mod_env.c>
		SetEnv SEO_SUPPORT 1
	</IfModule>
	
</IfModule>

<IfModule mod_deflate.c>
	AddOutputFilterByType DEFLATE application/x-javascript text/css text/html text/xml
</IfModule>

<IfModule mod_rewrite.c>
RewriteEngine On
rewritecond %{REQUEST_URI} !^/prepro/index.php [NC]
rewritecond %{REQUEST_URI} !^/prepro/home.php [NC]
RewriteRule ^(.*)$ /prepro/home.php [QSA,L]
</IfModule>
En local no me funcionaba pero en on line si por eso la carpeta se llama prepro
__________________
->Aprender es un proceso que incluye el error..