
25/02/2015, 04:42
|
 | | | Fecha de Ingreso: junio-2014
Mensajes: 32
Antigüedad: 10 años, 9 meses Puntos: 0 | |
Respuesta: Posible error en la migración Así es como está el config.php: $config['base_url'] = "http://s566577060.mialojamiento.es";
$config['public.base_url'] = $config['base_url'];
$config['public.site_url'] = $config['base_url'].'index.php/';
También he modificado el subdominio en el .htaccess: AddDefaultCharset UTF-8
<IfModule mod_rewrite.c>
RewriteEngine On
# Quitar el www del nombre de dominio
#RewriteCond %{HTTP_HOST} ^s566577060.mialojamiento\.es/clickbuy/$ [NC]
#RewriteRule ^(.*)$ http://www\.s566577060.mialojamiento.es/clickbuy//$1 [R=301,QSA,L]
# Force www.
#RewriteCond %{HTTP_HOST} ^(s566577060.mialojamiento\.es/clickbuy/)$ [NC]
#RewriteRule ^(.*)$ http://www.%1/$1 [R=301,L]
# CACHE MENSUAL
<FilesMatch "\.(flv|gif|jpg|jpeg|png|ico|swf)$">
Header set Cache-Control "max-age=2592000"
</FilesMatch>
# CACHE SEMANAL
<FilesMatch "\.(js|css|pdf|txt)$">
Header set Cache-Control "max-age=604800"
</FilesMatch>
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
# If we don't have mod_rewrite installed, all 404's
# can be sent to index.php, and everything works as normal.
# Submitted by: ElliotHaughin
ErrorDocument 404 /index.php
</IfModule> |