Back to top

Autore Topic: Problema Redirect  (Letto 16472 volte)

Offline gbendinelli

  • Esploratore
  • **
  • Post: 68
    • Mostra profilo
Re: Problema Redirect
« Risposta #20 il: 19 Ago 2008, 11:06:49 »
Ciao
ecco come deve essere nei punti interessati:
.
.
var $sef_suffix = '1';
   var $feed_limit = '10';
   var $secret = '';
   var $gzip = '0';
   var $error_reporting = '-1';
   var $xmlrpc_server = '0';
   var $log_path = '/web/htdocs/www.contradatrevie.it/home/logs';
   var $tmp_path = "/web/htdocs/www.contradatrevie.it/home/tmp';
   var $live_site = 'http://www.contradatrevie.it';
   var $offset = '1';
   var $caching = '0';
   var $cachetime = '15';
   var $cache_handler = 'file';
   var $memcache_settings = array()
.
.
Vedo che il tuo si riferisce al percorso assoluto del sito in locale.
prova e fammi sapere perchè se l'errore persiste dovresti controllare il file .htaccess

tomtom5


Mi da qualche problemino...................

Il sito non lo visualizza più molto bene: www.contradatrevie.it
e non mi entra più in admin.......
Inserisco user e password e poi mi da url not found

Offline gbendinelli

  • Esploratore
  • **
  • Post: 68
    • Mostra profilo
Re: Problema Redirect
« Risposta #21 il: 19 Ago 2008, 11:18:26 »
Visto quello che ho scritto sopra, mi anticipo e posto il file .htaccess:

##
# @version $Id: htaccess.txt 9975 2008-01-30 17:02:11Z ircmaxell $
# @package Joomla
# @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##


#####################################################
#  READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations.  It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file.  If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's.  If they work,
# it has been set by your server administrator and you do not need it set here.
#
#####################################################

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

#
#  mod_rewrite in use

RewriteEngine On


#  Uncomment following line if your webserver's URL
#  is not directly related to physical file paths.
#  Update Your Joomla! Directory (just / for root)

RewriteBase /home


########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$  [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section


########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits


In più, con un piccolo script php mi sono fatto dare dal server l'absolute path, ed è:

Your Absoluthe Path is: /web/htdocs/www.contradatrevie.it/home
« Ultima modifica: 19 Ago 2008, 11:20:44 da gbendinelli »

Offline gbendinelli

  • Esploratore
  • **
  • Post: 68
    • Mostra profilo
Re: Problema Redirect
« Risposta #22 il: 19 Ago 2008, 14:42:20 »
Vi prego aiutatemi, il sito ora non è molto leggibile dopo la modifica.

Guardare per credere www.contradatrevie.it
« Ultima modifica: 19 Ago 2008, 15:21:40 da gbendinelli »

Offline Scaravetti Gabriele

  • Appassionato
  • ***
  • Post: 511
  • Sesso: Maschio
  • web creations
    • Mostra profilo
Re: Problema Redirect
« Risposta #23 il: 19 Ago 2008, 17:43:17 »
non è ke per caso hai modificato il template e gli hai messo un indirizzo in qualche immagine sbagliato???
Scaravetti Gabriele

Offline gbendinelli

  • Esploratore
  • **
  • Post: 68
    • Mostra profilo
Re: Problema Redirect
« Risposta #24 il: 20 Ago 2008, 08:49:48 »
non è ke per caso hai modificato il template e gli hai messo un indirizzo in qualche immagine sbagliato???

Il template l'ho modificato ma le immaigini le ho lasciate nella directory originale e con lo stesso nome.

Offline Scaravetti Gabriele

  • Appassionato
  • ***
  • Post: 511
  • Sesso: Maschio
  • web creations
    • Mostra profilo
Re: Problema Redirect
« Risposta #25 il: 20 Ago 2008, 17:42:27 »
riusciresti a postarmi il contenuto del file template.css???
Scaravetti Gabriele

Offline gbendinelli

  • Esploratore
  • **
  • Post: 68
    • Mostra profilo
Re: Problema Redirect
« Risposta #26 il: 21 Ago 2008, 09:30:43 »
Ecco il codice del mio TEMPLATE.CSS.
Fammi sapere se ti serve altro

Codice: [Seleziona]
html {
  height: 100%;
  margin-bottom: 0px;
}

form {
  margin: 0;
  padding: 0;
}

img,table {
border: none;
}

body {
font-family: Tahoma, Arial, sans-serif;
line-height: 1.3em;
margin: 0;
padding: 0;
font-size: 12px;
color: #000000;               /* Colore Testo dei documenti main*/
}

body.contentpane {
background: #000;
}

a:link, a:visited {
text-decoration: underline;
font-weight: normal;
color: #ff0000;               /* Colore Link */
outline: none;
}

a:hover {
text-decoration: none;
font-weight: normal;
color: #0090ff;               /* Colore passaggio del mouse su link */
}

input.button, .validate  {
font-size: 10px;
border: 1px solid #ff0000;              /* Colore del bordo del pulsante di Login */
color: #ffff00;                         /* Colore del testo del pulsante di Login */
background: #001688;                    /* Colore del sfondo del pulsante di Login */
}

.search input.button {
text-align: right;
}

input.button:hover, .validate:hover  {

}

p {
margin-top: 0;
margin-bottom: 5px;
text-align: justify;
}

.inputbox {
border: 1px solid #ff0000;             /* Colore del bordo del username e password */
color: #001688;                        /* Colore del testo del username e password */
padding: 2px;
background: transparent;
}
.inputbox:hover {

}

/*****************************************/
/*** Template specific layout elements ***/
/*****************************************/
#page_bg {
padding: 0;
background: url(../images/bodybg.jpg) top left repeat;
}

div.center {
text-align: left;
margin: 0 auto;
padding: 0;
width: 954px;
}

div#wrapper {
margin: 0 auto;
width: 954px;

background: url(../images/content.jpg) top center repeat-y;
}

#header {
height: 260px;
background: url(../images/header.jpg) top center no-repeat;
margin: 0 auto;
width: 954px;
}

#content {
width: 900px;
margin: 0 auto;
padding: 0 42px 14px 14px;
overflow: hidden;
}

#content_bottom {
width: 954px;
height: 70px;
background: url(../images/content_bottom.jpg) top center no-repeat;
}

#logo {
padding: 160px 30px 0 0;
text-align: right;
margin: 0 auto;
width: 890px;
}

#logo a, #logo a:link, #logo a:hover {
font-weight: normal;
font-family: Verdana, Arial, sans-serif;
font-size: 26px;
padding: 0;
margin: 0;
letter-spacing: 1px;
color: #F9F9F9;
text-decoration: none;
outline: none;
line-height: 36px;
}

/**********************************************************************************************************************/
/*                                                                                                                    */
/*                                              B  A  N  N  E  R                                                      */
/*                                                                                                                    */
/**********************************************************************************************************************/

#banner {
height: 75px;
background: url(../images/banner.jpg) top center no-repeat;
margin: 0 auto;
padding: 0 0 0 0;
width: 954px;
}

#banner a, #banner a:link, #banner a:hover {
font-weight: normal;
font-family: Verdana, Arial, sans-serif;
font-size: 14px;
margin: 0 0 0 0;
padding: 0 0 0 0;
letter-spacing: 1px;
color: #F9F9F9;
text-decoration: none;
outline: none;
line-height: 0px;
}

/**********************************************************************************************************************/
/*                                                                                                                    */
/*                                  B  A  N  N  E  R           F  I  N  E                                             */
/*                                                                                                                    */
/**********************************************************************************************************************/

.pill_m {
padding: 0;
width: 700px;
height: 22px;
float: right;
}

#pillmenu {
float: right;
margin: 0;
padding: 68px 0 0 0;
}

#pillmenu ul {
margin: 0;
padding: 0 20px;
list-style: none;
}

#pillmenu li {
float: left;
margin: 0 2px;
padding: 0;
height: 22px;
background: url(../images/menu_li.jpg) top right no-repeat;
}

#pillmenu li:hover {

}

#pillmenu li a#active_menu-nav {
color: #f4f4f4;
}

#pillmenu li a {
font-family: Verdana, Tahoma, sans-serif;
font-size: 12px;
float: left;
display: block;
line-height: 22px;
padding: 0 8px 0 8px;
color: #e2e2e2;
text-decoration: none;
font-weight: normal;
background: url(../images/menu_li_a.jpg) top left no-repeat;
}

#pillmenu li a:hover {
color: #f4f4f4;
}

#leftcolumn ,#rightcolumn {
margin: 0;
width: 195px;
float: left;
text-align: left;
padding: 0 10px 0 0;
}

div#maincolumn {
float: left;
width: 682px;
}

div.nopad {
overflow: hidden;
padding: 0;
}

div.nopad ul {
clear: both;
}

td.middle_pad {
width: 20px;
}

#banner_l {
text-align: left;
padding: 0 0 0 24px;
}

#footer {
margin: 0 auto;
width: 902px;
height: 50px;
text-align: center;
vertical-align: top;
padding-bottom: 10px;
}

#footer p {
height: 20px;
text-align: right;
padding: 10px 30px 0 0;
color: #0090ff;          /* colore "Valid XHTML and CSS." in fondo alla pagina*/
}

/*****************************************/
/*** Joomla! specific content elements ***/
/*****************************************/

div.offline {
background: #fffebb;
width: 100%;
position: absolute;
top: 0;
left: 0;
font-size: 1.2em;
padding: 5px;
}

/* headers */
div.componentheading {
height: 22px;
padding: 8px 0 0 10px;
}
table.blog {

}
h1 {
padding: 0;
font-family: Tahoma, Arial, sans-serif;
font-size: 20px;
font-weight: bold;
color: #ff0000;
text-align: center;
width: 100%;
}

h2, .contentheading {
padding: 0;
font-family: Tahoma, Arial, sans-serif;
font-size: 14px;
vertical-align: middle;
color: #ff0000;             /* Colore titolo articoli*/
text-align: left;
font-weight: bold;
}

table.contentpaneopen h3 {
margin-top: 25px;
}

h4 {
font-family: Tahoma, Arial, sans-serif;
color: #333;
}

h3, .componentheading, table.moduletable th, legend {
margin: 0;
font-family: Tahoma, Arial, sans-serif;
font-size: 14px;
text-align: left;
color: #001688;             /* Colore Welcome all'inizio*/
font-weight: bold;
padding: 0;
}
/* small text */
.small {
font-size: 10px;
color: #001188;             /* Colore intestazione articolo*/
font-weight: normal;
text-align: left;
}


.modifydate {
height: 20px;
vertical-align: bottom;
font-size: 10px;
color: #001188;             /*Colore del written by*/
font-weight: normal;
text-align: right;
}

.createdate {
height: 20px;
vertical-align: top;
font-size: 10px;
color: #ff0000;             /*Colore data inserimento*/
font-weight: normal;
vertical-align: top;
padding-top: 0px;
}

a.readon {
display: block;
float: right;
line-height: 14px;
font-size: 10px;
color: #ff0000;             /*Colore Read more*/
text-decoration: none;
padding: 1px 2px 1px 2px;
}

a.readon:hover {
text-decoration: underline;
}

/* form validation */
.invalid { border-color: #ff0000; }
label.invalid { color: #ff0000; }


/** overlib **/

.ol-foreground {
background-color: #f1f1f1;
color: #333;
}

.ol-background {
background-color: #f1f1f1;
color: #333;
}

.ol-textfont {
font-family: Tahoma, Arial, sans-serif;
font-size: 10px;
}

.ol-captionfont {
font-family: Tahoma, Arial, sans-serif;
font-size: 12px;
color: #f6f6f6;
font-weight: bold;
}
.ol-captionfont a {
background-color: #f1f1f1;
color: #333;
text-decoration: none;
font-size: 12px;
}

.ol-closefont {}

/* menu links */
a.mainlevel:link, a.mainlevel:visited {
padding-left: 5px;
}

a.mainlevel:hover {

}

/* spacers */
span.article_separator {
display: block;
height: 20px;
}

.article_column {

}

.column_separator {

}

td.buttonheading {
text-align: right;
width: 0;
}

.clr {
clear: both;
}

table.blog span.article_separator {
display: block;
height: 20px;
}



/* table of contents */
table.contenttoc {
  margin: 5px;
  border: 1px solid #ccc;
  padding: 5px;
}

table.contenttoc td {
  padding: 0 5px;
}


/* content tables */
td.sectiontableheader {
  color: #333;
  font-weight: bold;
  padding: 4px;
  border-bottom: 1px solid #666;
}

tr.sectiontableentry0 td,
tr.sectiontableentry1 td,
tr.sectiontableentry2 td {
  padding: 4px;
}

td.sectiontableentry0,
td.sectiontableentry1,
td.sectiontableentry2 {
  padding: 3px;
  color: #666;
  font-size: 10px;
}


/* content styles */
.contentpaneopen, table.contentpane {
margin: 0;
padding: 0;
}

table.contentpane td{
text-align: left;
}

table.contentpane td.contentdescription {
width: 100%;
}

table.contentpane  {
text-align: left;
float: left;
width: 100%;
margin: 8px;
}

table.contentpane ul li a .category {
color: #FF8800;
}

table.contentpane ul li {
color: #666;
}

table.contentpaneopen {
margin: 2px 8px;
}

table.contentpaneopen li {
margin-bottom: 5px;
}

table.contentpaneopen fieldset {
border: 0;
border-top: 1px solid #669933;
}

table.contentpaneopen h3 {
margin-top: 25px;
}

table.contentpaneopen h4 {
font-family: Tahoma, Arial, sans-serif;
color: #669933;
}

.highlight {
background-color: #fffebb;
}

/* module control elements */
table.user1user2 div.moduletable {
margin-bottom: 0px;
}

div.moduletable, div.module {
  margin-bottom: 25px;
}

div.module_menu, div.module {
margin: 0;
padding: 0;
}

div.module_menu div, div.module {

}

div.module_menu div div, div.module div div {
margin-bottom: 14px;
padding: 0;
}

div.module_menu div div div, div.module div div div{
padding: 0;
width: auto;
margin: 0;
}

div.module_menu div div div div, div.module div div div div {
background: none;
padding: 4px 8px;
}

div.module div div div form {
padding: 0;
width: 164px;
margin: 0 auto;
}

div.module div div div form ul {
margin: 0;
padding: 0 0 10px 40px;
}

div.module_menu ul {
list-style: none;
}

div.module_menu ul li{
margin: 0;
padding: 0;
}

div.module_menu ul li a:link, div.module_menu ul li a:visited {
font-weight: bold;
background: transparent url(../images/blue/bullet2.jpg) top left no-repeat;
padding: 2px 0 2px 25px;
line-height: 24px;
}


#leftcolumn div.module table ,#rightcolumn div.module table {

}

#leftcolumn div.module table.poll {

}

#leftcolumn div.module table.poll td {
text-align: left;
}

/* LEFT COL H3 */
#leftcolumn h3, #rightcolumn h3 {
color: #ff0000;                                  /* Colore menu nel bottone */
font-family: Verdana, Tahoma, Arial, sans-serif;
font-size: 12px;
text-align: left;
height: 84px;
width: 185px;
text-decoration: none;
padding: 0 0 0 20px;
background: url(../images/h3.jpg) top center no-repeat;
font-weight: bold;
line-height: 70px;
margin: 0;
}

#leftcolumn .moduletable_menu, #leftcolumn .moduletable, #leftcolumn .moduletable_text, #leftcolumn .c,
#rightcolumn .moduletable_menu, #rightcolumn .moduletable, #rightcolumn .moduletable_text, #rightcolumn .c {
margin: 0 0 16px 0;
padding: 0 0 8px 0;
}

#leftcolumn ul.menu, #rightcolumn ul.menu {
margin: 0 auto;
padding: 0;
list-style: none;
width: 164px;
text-align: left;
}

#leftcolumn ul.menu li, #rightcolumn ul.menu li {
margin: 0;
padding: 0;
}

#leftcolumn ul.menu li:hover, #rightcolumn ul.menu li:hover {

}

/*LEFT COL LINK*/
#leftcolumn ul.menu li a, #leftcolumn ul.menu li a:link,
#rightcolumn ul.menu li a, #rightcolumn ul.menu li a:link {
line-height: 18px;
padding: 0 0 0 8px;
text-decoration: none;
color: #001688;                  /* Colore menu non evidenziato */
font-weight: bold;
font-size: 12px;
margin: 0;
height: 18px;
}

#leftcolumn ul.menu li a:hover, #rightcolumn ul.menu li a:hover {
color: #0090ff;                  /* Colore menu al passaggio */
}

/*LEFT COL CURRENT LINK*/
#leftcolumn ul.menu li#current a, #leftcolumn ul.menu li#current a:link,
#rightcolumn ul.menu li#current a, #rightcolumn ul.menu li#current a:link {
line-height: 18px;
padding: 0 0 0 8px;
text-decoration: none;
color: #ff0000;                 /* Colore menu evidenziato */
font-weight: bold;
font-size: 12px;
margin: 0;
height: 18px;
}

#leftcolumn ul.menu li#current a:hover, #rightcolumn ul.menu li#current a:hover {

}

/*LEFT COL SUB LINK*/
#leftcolumn ul.menu li#current ul li a, #leftcolumn ul.menu li#current ul li a:link {
line-height: 18px;
padding: 0 0 0 8px;
text-decoration: none;
color: #001688;                  /* Colore sub menu non evidenziato */
font-weight: bold;
font-size: 12px;
margin: 0;
height: 18px;
}

#leftcolumn ul.menu li ul li#current a, #leftcolumn ul.menu li ul li#current a:link, #leftcolumn ul.menu li ul li#current a:visited, #leftcolumn ul.menu li ul li#current a:hover {
line-height: 18px;
padding: 0 0 0 8px;
text-decoration: none;
color: #ff0000;                 /* Colore su menu evidenziato */
font-weight: bold;
font-size: 12px;
margin: 0 0 0 0;
height: 18px;
}
/*SUBMENU POSITION*/
#leftcolumn ul.menu li#current ul {
margin: 0 0 0 5%;
padding: 0;
}

#leftcolumn ul.menu li#current ul li {
margin: 0 0 0 5%;
padding: 0;
}

/*CURRENT SUBMENU POSITION*/
#leftcolumn ul.menu li ul {
margin: 0 0 0 5%;
padding: 0;
}

#leftcolumn ul.menu li#current ul li a:hover {
color: #0090ff;                  /* Colore sotto-menu al passaggio */
}

#leftcolumn ul.menu li ul, #rightcolumn ul.menu li ul {
list-style: none;
}

/* forms */
#leftcolumn .moduletable ul, #rightcolumn .moduletable ul {
margin: 6px 0;
padding: 0;
list-style: none;
}

#leftcolumn .moduletable ul li, #rightcolumn .moduletable ul li {
margin: 0;
padding: 0 2px;
}

table.adminform textarea {
  width: 540px;
  height: 400px;
  font-size: 1em;
  color: #000099;
}

form#form-login fieldset {
border: 0 none;
margin: 0;
padding: 4px 7px 9px 7px;
}
form#form-login ul li{
padding: 0;
}

form#form-login ul li a {
text-align: left;
padding: 0;
font-size: 10px;
font-weight: bold;
color: #ff0000;      /*Colore forgot password menù login*/
}

/* thumbnails */
div.mosimage         {  margin: 5px; }
div.mosimage_caption {  font-size: .90em; color: #333; }

div.caption       { padding: 0 10px 0 10px; }
div.caption img   { border: 1px solid #CCC; }
div.caption p     { font-size: .90em; color: #333; text-align: center; }

/* Parameter Table */
table.paramlist {
margin-top: 5px;
}

table.paramlist td.paramlist_key {
width: 128px;
text-align: left;
height: 30px;
}

table.paramlist td.paramlist_value {
}

div.message {
font-family: Tahoma, Arial, sans-serif;
font-weight: bold;
font-size : 14px;
color : #c30;
text-align: center;
width: auto;
background-color: #f9f9f8;
border: solid 1px #d5d5d5;
margin: 3px 0px 10px;
padding: 3px 20px;
}

/* Banners module */

/* Default skyscraper style */
.bannergroup {
}

.banneritem {
}

/* Text advert style */

.banneritem_text {
padding: 4px;
font-size: 11px;
}

.bannerfooter_text {
padding: 4px;
font-size: 11px;
text-align: right;
}

/* System Messages */
/* see system general.css */

.pagination span { padding: 2px; }
.pagination a    { padding: 2px; }

/* Polls */
.pollstableborder td {
text-align: left;
}

/* Frontend Editing*/
fieldset {
border: 1px solid #ccc;
margin-top: 15px;
padding: 15px;
}

legend {
margin: 0;
padding: 0 10px;
}

td.key {
border-bottom:1px solid #eee;
color: #333;
}

/* Tooltips */
.tool-tip {
float: left;
background: #ffc;
border: 1px solid #D4D5AA;
padding: 5px;
max-width: 200px;
}

.tool-title {
padding: 0;
margin: 0;
font-size: 100%;
font-weight: bold;
margin-top: -15px;
padding-top: 15px;
padding-bottom: 5px;
background: url(../../system/images/selector-arrow.png) no-repeat;
}

.tool-text {
font-size: 100%;
margin: 0;
}

/* System Standard Messages */
#system-message dd.message ul {
background: #C3D2E5;
padding: 0;
margin: 0;
}

/* System Error Messages */
#system-message dd.error ul {
color: #c00;
background: #E6C0C0;
border-top: 3px solid #DE7A7B;
border-bottom: 3px solid #DE7A7B;
padding: 0;
margin: 0;
}

/* System Notice Messages */
#system-message dd.notice ul {
color: #c00;
background: #EFE7B8;
border-top: 3px solid #F0DC7E;
border-bottom: 3px solid #F0DC7E;
padding: 0;
margin: 0;
}



/* ****************************************************************************** */
/* blue */
input, button {

}
/* blue */
input[type="checkbox"], input[type="radio"]{
   background: transparent;
   border: none;
}

/* -------------------------- */
a.sgfooter:link, a.sgfooter:visited {
color: #999;
font-family: Tahoma, Arial, sans-serif;
text-decoration: none;
}
a.sgfooter:hover {
color: #999;
font-family: Tahoma, Arial, sans-serif;
text-decoration: none;
}
#sgf {
font-size: 12px;
text-align: center;
width: 100%;
margin: 0 auto;
color: #0090ff;                        /*Colora la scritta www.contradatrevie.it*/
font-weight: bold;
font-family: Tahoma, Arial, sans-serif;
}
.sgf {
text-align: right;
font-size: 12px;
font-family: Tahoma, Arial, sans-serif;
color: #999;
text-decoration: none;
}
.sgf1 {
font-size: 12px;
font-family: Tahoma, Arial, sans-serif;
color: #999;
text-align: left;
}

a.sglink:link, a.sglink:visited {
color: #999;
font-size: 12px;
font-family: Tahoma, Arial, sans-serif;
text-decoration: none;
}
a.sglink:hover {
color: #999;
font-family: Tahoma, Arial, sans-serif;
text-decoration: none;
}

Offline Scaravetti Gabriele

  • Appassionato
  • ***
  • Post: 511
  • Sesso: Maschio
  • web creations
    • Mostra profilo
Re: Problema Redirect
« Risposta #27 il: 21 Ago 2008, 23:36:29 »
non ho trovato niente di anomalo però per escludere il template, proveresti ad installare il template originale???

magari copiando quello che hai adesso???

in caso dobbiamo vedere sul database mysql e sul file di configurazione di joomla come sono messi
Scaravetti Gabriele

Offline gbendinelli

  • Esploratore
  • **
  • Post: 68
    • Mostra profilo
Re: Problema Redirect
« Risposta #28 il: 22 Ago 2008, 09:08:33 »
Ciao, ho provato a sostituire la cartella del template con quella originale ma il problema persiste.

Tiposto i file di configurazione e ti do qualche info in più sul mio sito, se gli vuoi dare un'occhiata. Fammi sapere se ti serve altro.

CONFIGURATION.PHP
Codice: [Seleziona]
<?php
class JConfig {
var $offline '0';
var $editor 'tinymce';
var $list_limit '20';
var $helpurl 'http://help.joomla.org';
var $debug '0';
var $debug_lang '0';
var $sef '1';
var $sef_rewrite '1';
var $sef_suffix '1';
var $feed_limit '10';
var $secret 'vrWPqbsL2duOFVwI';
var $gzip '0';
var $error_reporting '-1';
var $xmlrpc_server '0';
var $log_path 'C:\\xampp\\htdocs\\contradatrevie\\logs';
var $tmp_path 'C:\\xampp\\htdocs\\contradatrevie\\tmp';
var $live_site '';
var $offset '0';
var $caching '0';
var $cachetime '15';
var $cache_handler 'file';
var $memcache_settings = array();
var $ftp_enable '0';
var $ftp_host '';
var $ftp_port '21';
var $ftp_user '';
var $ftp_pass '';
var $ftp_root '';
var $dbtype 'mysql';
var $host '';
var $user '';
var $db '';
var $dbprefix 'jos_';
var $mailer 'mail';
var $mailfrom 'info@contradatrevie.it';
var $fromname 'www.contradatrevie.it';
var $sendmail '/usr/sbin/sendmail';
var $smtpauth '0';
var $smtpuser '';
var $smtppass '';
var $smtphost 'localhost';
var $MetaAuthor '1';
var $MetaTitle '1';
var $lifetime '15';
var $session_handler 'database';
var $password '';
var $sitename 'www.contradatrevie.it';
var $MetaDesc 'Sito ufficile della Contrada TRE VIE di Preignano (Pisa) - Partecipante al Palio delle contrade di Perignano (Pisa) e organizzatrice della Festa dell\'Estate (Festa paesana con ballo liscio, ristorante, bar e tanto tanto altro.....)';
var $MetaKeys 'palio, comune di lari, sbandieratori, musici, gruppo sbandieratori, costumi, costumi storici, sfilata, sfilata storica, giochi bambini, pisa toscanca, livorno pisa, pisa firenze, pisa luucca, comune pisa';
var $offline_message 'Sito fuori servizio per manutenzione. Riprovare più tardi.';
}
?>

.HTHACCESS
Codice: [Seleziona]
##
# @version $Id: htaccess.txt 10492 2008-07-02 06:38:28Z ircmaxell $
# @package Joomla
# @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##


#####################################################
#  READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations.  It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file.  If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's.  If they work,
# it has been set by your server administrator and you do not need it set here.
#
#####################################################

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

#
#  mod_rewrite in use

RewriteEngine On

########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits

#  Uncomment following line if your webserver's URL
#  is not directly related to physical file paths.
#  Update Your Joomla! Directory (just / for root)

RewriteBase /home


########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$  [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section

INDEX.PHP
Codice: [Seleziona]
<?php
/**
* @version $Id: index.php 10381 2008-06-01 03:35:53Z pasamio $
* @package Joomla
* @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/

// Set flag that this is a parent file
define'_JEXEC');

define('JPATH_BASE'dirname(__FILE__) );

define'DS'DIRECTORY_SEPARATOR );

require_once ( 
JPATH_BASE .DS.'includes'.DS.'defines.php' );
require_once ( 
JPATH_BASE .DS.'includes'.DS.'framework.php' );

JDEBUG $_PROFILER->mark'afterLoad' ) : null;

/**
 * CREATE THE APPLICATION
 *
 * NOTE :
 */
$mainframe =& JFactory::getApplication('site');

/**
 * INITIALISE THE APPLICATION
 *
 * NOTE :
 */
// set the language
$mainframe->initialise();

JPluginHelper::importPlugin('system');

// trigger the onAfterInitialise events
JDEBUG $_PROFILER->mark('afterInitialise') : null;
$mainframe->triggerEvent('onAfterInitialise');

/**
 * ROUTE THE APPLICATION
 *
 * NOTE :
 */
$mainframe->route();

// authorization
$Itemid JRequest::getInt'Itemid');
$mainframe->authorize($Itemid);

// trigger the onAfterRoute events
JDEBUG $_PROFILER->mark('afterRoute') : null;
$mainframe->triggerEvent('onAfterRoute');

/**
 * DISPATCH THE APPLICATION
 *
 * NOTE :
 */
$option JRequest::getCmd('option');
$mainframe->dispatch($option);

// trigger the onAfterDispatch events
JDEBUG $_PROFILER->mark('afterDispatch') : null;
$mainframe->triggerEvent('onAfterDispatch');

/**
 * RENDER  THE APPLICATION
 *
 * NOTE :
 */
$mainframe->render();

// trigger the onAfterRender events
JDEBUG $_PROFILER->mark('afterRender') : null;
$mainframe->triggerEvent('onAfterRender');

/**
 * RETURN THE RESPONSE
 */
echo JResponse::toString($mainframe->getCfg('gzip'));

PLUGIN ATTIVI
Codice: [Seleziona]
    User - Joomla!
2 Editor - No Editor
3 Editor - TinyMCE 2.0
4 Editor Button - Image
5 Editor Button - Pagebreak
6 Editor Button - Readmore
7 Google Maps
8 EasyTemplate - MultiPlugin
9 Authentication - Joomla
10 Search - Content
11 System - SEF
12 Search - Weblinks
13 Content - Page Navigation
14 System - Debug
15 Search - Contacts
16 System - Legacy
17 Search - Categories
18 Content - Rating
19 Search - Sections
20 Content - Email Cloaking
21 Search - Newsfeeds
22 Content - Load Module
23 System - Remember Me
24 Content - Pagebreak

MODULI ATTIVI
Codice: [Seleziona]
    Menu Principale
2 Banners
3 Il Palio delle contrade
4 La Festa dell'Estate
5 Menu Utente
6 Login Form
7 New ShinyStat
8 Google Analytics Tracking Module

COMPONENT ISTALLATI
Codice: [Seleziona]
Banners   
2 EasyBook
3 EasyCaptcha
4 fireboard
5 JoomlaPack
6 Newsfeeds
7 PhocaGallery
8 Polls
9 Weblinks
10 Xmap
11 Content Page
12 Cache Manager
13 Configuration Manager
14 Contact Items
15 Control Panel
16 Installation Manager
17 Language Manager
18 MailTo
19 Mass Mail
20 Media Manager
21 Menus Manager
22 Messaging
23 Module Manager
24 Plugin Manager
25 Search
26 Template Manager
27 User
28 User Manager
29 Wrapper

Che poi ad ora di tutti gli errori che ricevo quello sul guestbook è il più "evidente" perchè sensa captcha sono costretto a tenerlo per utenti registrati e quindi diventa pressochè inutile.
« Ultima modifica: 23 Ago 2008, 14:05:11 da gbendinelli »

Offline Scaravetti Gabriele

  • Appassionato
  • ***
  • Post: 511
  • Sesso: Maschio
  • web creations
    • Mostra profilo
Re: Problema Redirect
« Risposta #29 il: 22 Ago 2008, 22:49:42 »
intanto prova a cambiare le due variabili qui sotto:

var $log_path = 'C:\\xampp\\htdocs\\contradatrevie\\logs';
var $tmp_path = 'C:\\xampp\\htdocs\\contradatrevie\\tmp';

in:

var $log_path = 'percorso del server/log';
var $tmp_path = 'percorso del server/tmp';

intanto cosi

poi mi chiedo se hai l' hosting su un hosting ita ???? vero ???

lo ho riconosciuto dal file ke mi hai postato ... poi guarda il messaggio privato ke ti mando ... è importante !!!! allarme sicurezza
« Ultima modifica: 22 Ago 2008, 22:54:36 da Scaravetti Gabriele »
Scaravetti Gabriele

Offline gbendinelli

  • Esploratore
  • **
  • Post: 68
    • Mostra profilo
Re: Problema Redirect
« Risposta #30 il: 23 Ago 2008, 14:11:19 »
intanto prova a cambiare le due variabili qui sotto:

var $log_path = 'C:\\xampp\\htdocs\\contradatrevie\\logs';
var $tmp_path = 'C:\\xampp\\htdocs\\contradatrevie\\tmp';

in:

var $log_path = 'percorso del server/log';
var $tmp_path = 'percorso del server/tmp';

intanto cosi

poi mi chiedo se hai l' hosting su un hosting ita ???? vero ???

lo ho riconosciuto dal file ke mi hai postato ... poi guarda il messaggio privato ke ti mando ... è importante !!!! allarme sicurezza


Grazi per il messaggio, mi ero dimenticato  :P

La modifica che mi hai detto di fare ero sicuro di averla già fatta.
non vorrei averti postato un file vecchio.

var $log_path = '/web/htdocs/www.contradatrevie.it/home/logs';
var $tmp_path = '/web/htdocs/www.contradatrevie.it/home/tmp';

Non cambia niente.........

In più avevo provato, col consiglio di un post più recente a mettere

   var $offset = '0';

in

   var $offset = '1';

Ma peggiora, infatti spagina tutto il sito.

Offline francotn

  • Nuovo arrivato
  • *
  • Post: 47
  • Sesso: Maschio
    • Mostra profilo
Re: Problema Redirect
« Risposta #31 il: 23 Ago 2008, 14:26:38 »
Sposta il sito direttamente con un ftp alla cartella superiore..
http://www.tuosito.it/home (qui hai i tuoi files)
http://www.tuosito.it/ (vanno messi qui)
Joomla 1.5.9
PHP 5.2.6
CB 1.2

Offline gbendinelli

  • Esploratore
  • **
  • Post: 68
    • Mostra profilo
Re: Problema Redirect
« Risposta #32 il: 25 Ago 2008, 09:10:58 »
Sposta il sito direttamente con un ftp alla cartella superiore..
http://www.tuosito.it/home (qui hai i tuoi files)
http://www.tuosito.it/ (vanno messi qui)


Dici con un copia????

Sposto i file e basta?

Offline francotn

  • Nuovo arrivato
  • *
  • Post: 47
  • Sesso: Maschio
    • Mostra profilo
Re: Problema Redirect
« Risposta #33 il: 26 Ago 2008, 18:25:44 »
Li trascini nella cartella principale (avendo selezionato tutti i file)
Joomla 1.5.9
PHP 5.2.6
CB 1.2

Offline gbendinelli

  • Esploratore
  • **
  • Post: 68
    • Mostra profilo
Re: Problema Redirect
« Risposta #34 il: 27 Ago 2008, 09:01:29 »
Li trascini nella cartella principale (avendo selezionato tutti i file)

Ma non devo fare nulla a livello di personalizzazione?

Non vorrei che al momento dell'istallzazione si fosse salvato in qualche file di configurazione il suffisso /home

 



Web Design Bolzano Kreatif