Joomla.it Forum

Joomla! 3 => Joomla! 3 => : pieroflash 24 Feb 2016, 09:30:40

: [RISOLTO]apertura sito sbagliato
: pieroflash 24 Feb 2016, 09:30:40
Ciao ragazzi mi sapete dire perche' quando digito  http://arte.joomlafree.it (http://arte.joomlafree.it) mi va direttamente al login e non all'homepage,  grazie.
Avro' mosso qualcosa e non ricordo.
: Re:apertura sito sbagliato
: luketto 24 Feb 2016, 10:10:18
Ciao pieroflash, la url da te indicata restituisce 303 come staus code, controlla se per caso hai impostato questa regola nel file htaccess.
: Re:apertura sito sbagliato
: pieroflash 24 Feb 2016, 10:52:21
mi sembra che non c'è niente con 303, anche perche non avevo toccato htaccess
: Re:apertura sito sbagliato
: luketto 24 Feb 2016, 10:59:05
Però la risposta dell'header è quella... prova a impostare un altro articolo come articolo prima pagina.
: Re:apertura sito sbagliato
: pieroflash 24 Feb 2016, 11:23:44
ho provato altri articoli, chi sono e libri, ma niente
: Re:apertura sito sbagliato
: pieroflash 24 Feb 2016, 11:32:02
ho notato una cosa pero' se entro come utente   pasquale e  pass  lollo,  se scrivo http://www.arte.joomlafree.it non trova la pagina anche se cliccoil logo Ma se vado sul menu e clicco home me la apre


prova a vedere
: Re:apertura sito sbagliato
: luketto 24 Feb 2016, 11:35:20
sì, ho visto ma che c'entra? Ti funziona perché se clicchi su home vai su un altro URL (nomesito/indirizzo.htm). il tuo problema è che il dominio ha un redirect 303 verso la pagina di login, se dici che nell'htaccess non c'è controlla il componente nativo, magari c'è qualcosa lì, non ne ho idea.
: Re:apertura sito sbagliato
: pieroflash 24 Feb 2016, 11:43:15
qual'è il componente nativo?

: Re:apertura sito sbagliato
: luketto 24 Feb 2016, 11:45:28
redirect
: Re:apertura sito sbagliato
: pieroflash 24 Feb 2016, 12:24:44
Luketto, questo è l' htaccess




:
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^arte.joomlafree.it [NC]
RewriteRule ^(.*)$ [url=http://www.arte.joomlafree.it/]http://www.arte.joomlafree.it/[/url]$1 [L,R=301]


## No directory listings
IndexIgnore *
Options -Indexes


## Can be commented out if causes errors, see notes above.
Options +FollowSymlinks


## Mod_rewrite in use.
RewriteEngine On


SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)s*,?s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding
RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding


# Compressione
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/x-font-ttf
AddOutputFilterByType DEFLATE font/opentype
AddOutputFilterByType DEFLATE image/svg+xml
AddOutputFilterByType DEFLATE image/x-icon
AddOutputFilterByType DEFLATE text/x-component
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/json


## Security
RewriteCond %{QUERY_STRING} proc/self/environ [OR]
RewriteCond %{QUERY_STRING} base64_(en|de)code[^(]*\([^)]*\) [OR]
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteRule .* index.php [F]


RewriteCond %{QUERY_STRING} concat[^\(]*\( [NC,OR]
RewriteCond %{QUERY_STRING} union([^s]*s)+elect [NC,OR]
RewriteCond %{QUERY_STRING} union([^a]*a)+ll([^s]*s)+elect [NC]
RewriteRule .* - [F]


RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]


<Files "robots.txt">
Order allow,deny
Allow from all
</Files>


<Files ~ "(README.txt|LICENSE.txt|configuration.php|htaccess.txt|htaccess|htpasswd|dist)">
Order allow,deny
Deny from all
</Files>


# File caching
FileETag MTime Size
ExpiresActive On


# Expiration time for css, javascript,images,text,audio and video
# Css and Javascript
ExpiresByType application/javascript A604800
ExpiresByType application/x-javascript A604800
ExpiresByType text/css A604800
# Images and text
ExpiresByType image/x-icon A2419200
ExpiresByType image/ico A2419200
ExpiresByType image/icon A2419200
ExpiresByType text/ico A2419200
ExpiresByType text/html A300
ExpiresByType application/ico A2419200
ExpiresByType image/jpeg A2419200
ExpiresByType image/jpg A2419200
ExpiresByType image/png A2419200
ExpiresByType image/bmp A2419200
ExpiresByType image/gif A2419200
ExpiresByType image/tiff A2419200
ExpiresByType image/jp2 A2419200
ExpiresByType image/pipeg A2419200
ExpiresByType image/svg+xml A2419200


# Audio
ExpiresByType audio/mpeg A2419200
ExpiresByType audio/x-mpegurl A2419200
ExpiresByType audio/x-pn-realaudio A2419200
ExpiresByType audio/x-wav A2419200
ExpiresByType audio/x-aiff A2419200
ExpiresByType audio/basic A2419200


# Video
ExpiresByType application/x-shockwave-flash A2419200
ExpiresByType video/mpeg A2419200
ExpiresByType video/mp4 A2419200
ExpiresByType video/quicktime A2419200
ExpiresByType video/x-ms-asf A2419200
ExpiresByType video/x-la-asf A2419200
ExpiresByType video/x-msvideo A2419200


# If the requested path and file is not /index.php and the request
# has not already been internally rewritten to the index.php script
RewriteCond %{REQUEST_URI} !^/index\.php
# and the requested path and file doesn't directly match a physical file
RewriteCond %{REQUEST_FILENAME} !-f
# and the requested path and file doesn't directly match a physical folder
RewriteCond %{REQUEST_FILENAME} !-d
# internally rewrite the request to the index.php script
RewriteRule .* index.php [L]
#
## End - Joomla! core SEF Section.
: Re:apertura sito sbagliato
: pieroflash 24 Feb 2016, 12:37:49
ho risolto mi pare, avevo la voce menu predefinita su cookies
: Re:apertura sito sbagliato
: pieroflash 24 Feb 2016, 12:41:29
funziona, grazie per l'aiuto  luketto
: Re:apertura sito sbagliato
: luketto 24 Feb 2016, 12:42:55
prego ;-) metti risolto al topic