I
IvanEsteban
Guest
Por favor, que es lo que debo editar?
Asi lo tengo:
<files file-name>
order allow,deny
deny from all
</files>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} ^([^.]+)$
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^(.*)$ http://www.sym.cl/chv/$1/ [L,R=301]
# HAGAMOS CACHE (1 SEMANA = 604800) Actual 3 Meses
<FilesMatch "\.(jpg|gif|png|bmp)$">
Header set Cache-Control "max-age=7257600, public"
</FilesMatch>
RewriteEngine On
# index PAGE slash final
RewriteRule ^(.*)/$ index.php?p=$1 [L]
# index PAGE dot exten
RewriteRule ^(.*).html$ index.php?p=$1 [L]
RewriteRule ^(.*).htm$ index.php?p=$1 [L]
ErrorDocument 400 /index.php?p=400
ErrorDocument 401 /index.php?p=401
ErrorDocument 403 /index.php?p=403
#Only local files allowed ex. ErrorDocument 404 /404.html
ErrorDocument 500 /index.php?p=500
ErrorDocument 503 /index.php?p=503
Asi lo tengo:
<files file-name>
order allow,deny
deny from all
</files>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} ^([^.]+)$
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^(.*)$ http://www.sym.cl/chv/$1/ [L,R=301]
# HAGAMOS CACHE (1 SEMANA = 604800) Actual 3 Meses
<FilesMatch "\.(jpg|gif|png|bmp)$">
Header set Cache-Control "max-age=7257600, public"
</FilesMatch>
RewriteEngine On
# index PAGE slash final
RewriteRule ^(.*)/$ index.php?p=$1 [L]
# index PAGE dot exten
RewriteRule ^(.*).html$ index.php?p=$1 [L]
RewriteRule ^(.*).htm$ index.php?p=$1 [L]
ErrorDocument 400 /index.php?p=400
ErrorDocument 401 /index.php?p=401
ErrorDocument 403 /index.php?p=403
#Only local files allowed ex. ErrorDocument 404 /404.html
ErrorDocument 500 /index.php?p=500
ErrorDocument 503 /index.php?p=503