Back to top

Autore Topic: mi serve aiuto  (Letto 4324 volte)

Offline spicspan4ever

  • Nuovo arrivato
  • *
  • Post: 13
    • Mostra profilo
mi serve aiuto
« il: 17 Apr 2009, 18:04:55 »
Salve, sono un neofita di joomla. Ho creato un sito su aruba con joomla 1.5.9 e l'ho aggiornato a 1.5.10 ma ho questi due problemi:

   1. Se metto una sezione o una categoria, o un articolo solo per utenti registrati e si cerca di accedervi mi rimanda alla pag 403 "non sei autorizzato a visualizzare questa risorsa".... e non alla pagina che mi dice di registrarmi.
   2. Se metto le spunte per accorciare gli indirizzi e cambio il file in .htacces il sito smette di funzionare.


Chi mi da una mano?
Grazie

mandrake07

  • Visitatore
Re: mi serve aiuto
« Risposta #1 il: 17 Apr 2009, 18:09:11 »
Salve, sono un neofita di joomla. Ho creato un sito su sgaragnao con joomla 1.5.9 e l'ho aggiornato a 1.5.10 ma ho questi due problemi:

   1. Se metto una sezione o una categoria, o un articolo solo per utenti registrati e si cerca di accedervi mi rimanda alla pag 403 "non sei autorizzato a visualizzare questa risorsa".... e non alla pagina che mi dice di registrarmi.
   2. Se metto le spunte per accorciare gli indirizzi e cambio il file in .htacces il sito smette di funzionare.


Chi mi da una mano?
Grazie
Il primo problema credo sia direttamente conseguente del secondo....quindi...

Soluzione al secondo problema:

Scarica il file .htaccess via FTP e commenta l'opzione con un # :

Codice: [Seleziona]
+Options FollowSymlinks.

Ricaricalo nel server,sistemerà il problema.

Offline spicspan4ever

  • Nuovo arrivato
  • *
  • Post: 13
    • Mostra profilo
Re: mi serve aiuto
« Risposta #2 il: 17 Apr 2009, 18:14:07 »
questo il listato del file:


# @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 /


########## 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


in che punto inserisco?

Grazie!

mandrake07

  • Visitatore
Re: mi serve aiuto
« Risposta #3 il: 17 Apr 2009, 18:16:12 »
questo il listato del file:

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 /


########## 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


in che punto inserisco?

Grazie!

Ricopialo come te l'ho corretto io.

La prossima volta che posti un listato,usa il tag code,grazie. ;D
« Ultima modifica: 17 Apr 2009, 18:26:09 da mandrake07 »

Offline spicspan4ever

  • Nuovo arrivato
  • *
  • Post: 13
    • Mostra profilo
Re: mi serve aiuto
« Risposta #4 il: 17 Apr 2009, 18:29:20 »
Il primo problema mi sembra risolto, anche se non ho modificatto il file in .htaccess e non ho spuntato: utilizza mod. rewrite
Ho fatto bene?

Ma il secondo problema non è risolto, sempre pag. 403 "non sei abilitato ecc."

Codice: [Seleziona]
ok per codice! grazie.

mandrake07

  • Visitatore
Re: mi serve aiuto
« Risposta #5 il: 17 Apr 2009, 18:30:48 »
Il primo problema mi sembra risolto, anche se non ho modificatto il file in .htaccess e non ho spuntato: utilizza mod. rewrite
Ho fatto bene?

Ma il secondo problema non è risolto, sempre pag. 403 "non sei abilitato ecc."

Codice: [Seleziona]
ok per codice! grazie.
Se vuoi pulire le URL completamente è meglio usare il mod_rewrite. Comunque prova a modificare il .htaccess come ti ho indicato,può risolvere il problema.

Offline spicspan4ever

  • Nuovo arrivato
  • *
  • Post: 13
    • Mostra profilo
Re: mi serve aiuto
« Risposta #6 il: 17 Apr 2009, 18:36:35 »
Spuntato anche mod_rewrite e modificato in.htaccess.

Ma il secondo problema rimane :(

mandrake07

  • Visitatore
Re: mi serve aiuto
« Risposta #7 il: 17 Apr 2009, 18:38:18 »
Spuntato anche mod_rewrite e modificato in.htaccess.

Ma il secondo problema rimane :(
Link al sito?

Offline spicspan4ever

  • Nuovo arrivato
  • *
  • Post: 13
    • Mostra profilo
Re: mi serve aiuto
« Risposta #8 il: 17 Apr 2009, 18:42:48 »
http://www.psicoterapiaorganismica.it/index.php/home.html

nel menu biblioteca il link Libri segnalati punta ad una categoria che ho assegnata ai registered.

mandrake07

  • Visitatore
Re: mi serve aiuto
« Risposta #9 il: 17 Apr 2009, 18:46:08 »
http://www.psicoterapiaorganismica.it/index.php/home.html

nel menu biblioteca il link Libri segnalati punta ad una categoria che ho assegnata ai registered.
La pagina di registrazione è stata modificata malamente e ha qualche brutto problemino,sarebbe da sistemare.

E' normale che ti dia quel messaggio nel link che mi hai dato. Se non ti registri come fai a vedere la pagina? L'errore 403 è di Auth required (registrazione richiesta). ;)

Offline spicspan4ever

  • Nuovo arrivato
  • *
  • Post: 13
    • Mostra profilo
Re: mi serve aiuto
« Risposta #10 il: 17 Apr 2009, 18:50:20 »
Cioè che problema ha la pagina di registrazione? Io non l'ho modificata...

Ma se è dedicata ai registrati non dovrebbe puntare alla maschera di registrazione?

mandrake07

  • Visitatore
Re: mi serve aiuto
« Risposta #11 il: 17 Apr 2009, 18:53:32 »
Cioè che problema ha la pagina di registrazione? Io non l'ho modificata...

Ma se è dedicata ai registrati non dovrebbe puntare alla maschera di registrazione?
No Joomla dà errore 403. Non so perchè. La pagina di registrazione m'è uscita completamente bianca con scritte,forms e link...prova a prendere un'installazione pulita di joomla e ricaricarla.
« Ultima modifica: 17 Apr 2009, 18:55:30 da mandrake07 »

Offline spicspan4ever

  • Nuovo arrivato
  • *
  • Post: 13
    • Mostra profilo
Re: mi serve aiuto
« Risposta #12 il: 17 Apr 2009, 18:57:45 »
Hai idea del perchè e come posso risolvere il problema?

Dovrebbe pero puntare al form di registrazione se è dedicato ai registered?

mandrake07

  • Visitatore
Re: mi serve aiuto
« Risposta #13 il: 17 Apr 2009, 18:59:25 »
Hai idea del perchè e come posso risolvere il problema?

Dovrebbe pero puntare al form di registrazione se è dedicato ai registered?
Dovrebbe,ma non so perchè dà il messaggio 403.

Il problema della pagina di registrazione te l'ho scritto sopra. ;)

Offline spicspan4ever

  • Nuovo arrivato
  • *
  • Post: 13
    • Mostra profilo
Re: mi serve aiuto
« Risposta #14 il: 17 Apr 2009, 19:02:57 »
Gliela ricarico sopra sovrascivendo i file?
Non si incasina di più?
Perdo il lavoro fatto?

mandrake07

  • Visitatore
Re: mi serve aiuto
« Risposta #15 il: 17 Apr 2009, 19:04:55 »
Gliela ricarico sopra sovrascivendo i file?
Non si incasina di più?
Perdo il lavoro fatto?
Ricarica SOLO la pagina default.php nella cartella /components/com_user/views/register/tmpl. Prendi la pagina nuova da un'installazione PULITA di Joomla,non sovrascrivere altro se non quella pagina.

Non perdi niente,non dovrebbe più incasinarsi niente.
« Ultima modifica: 17 Apr 2009, 19:07:29 da mandrake07 »

Offline spicspan4ever

  • Nuovo arrivato
  • *
  • Post: 13
    • Mostra profilo
Re: mi serve aiuto
« Risposta #16 il: 17 Apr 2009, 19:13:38 »
Fatto, ma non è cambiato nulla  :( :(

mandrake07

  • Visitatore
Re: mi serve aiuto
« Risposta #17 il: 17 Apr 2009, 19:15:26 »
Fatto, ma non è cambiato nulla  :( :(
Disattiva la mod_rewrite e guarda se non è quella il problema...

Offline Ghep

  • Esploratore
  • **
  • Post: 72
    • Mostra profilo
Re: mi serve aiuto
« Risposta #18 il: 17 Apr 2009, 19:20:17 »
Ciao,
sono di fretta e non ho letto tutto l'articolo ma quindi non so se ti è già stato consigliato ma per rendere gli url più user friendly io ti consiglio di usare SH404SEF.

Ciaoz


Offline spicspan4ever

  • Nuovo arrivato
  • *
  • Post: 13
    • Mostra profilo
Re: mi serve aiuto
« Risposta #19 il: 17 Apr 2009, 19:23:50 »
Il form di registrazione è tornato a posto sia com mod-rewrite che senza, ma la il link al registered punta sempre alla pag. 403. ???


...Grazie ghep

Offline spicspan4ever

  • Nuovo arrivato
  • *
  • Post: 13
    • Mostra profilo
Re: mi serve aiuto
« Risposta #20 il: 17 Apr 2009, 19:26:05 »
nemmeno "nome utente dimenticato" funge  :(

Offline spicspan4ever

  • Nuovo arrivato
  • *
  • Post: 13
    • Mostra profilo
Re: mi serve aiuto
« Risposta #21 il: 17 Apr 2009, 19:30:53 »
nemmeno "nome utente dimenticato" funge  :(

ora questo funziona.

Resta solo il problema della pagina 403  ???

mandrake07

  • Visitatore
Re: mi serve aiuto
« Risposta #22 il: 17 Apr 2009, 19:39:17 »
nemmeno "nome utente dimenticato" funge  :(

ora questo funziona.

Resta solo il problema della pagina 403  ???

Non è un problema, è il joomla che si comporta così...

Offline spicspan4ever

  • Nuovo arrivato
  • *
  • Post: 13
    • Mostra profilo
Re: mi serve aiuto
« Risposta #23 il: 17 Apr 2009, 19:43:02 »


Non è un problema, è il joomla che si comporta così...
[/quote]

eppure in precedenza mi mandava al form di registrazione dicendomi che avrei dovuto registrarmi per visulazizzare la pagina  ???

Grazie mille comunque!  :)

mandrake07

  • Visitatore
Re: mi serve aiuto
« Risposta #24 il: 17 Apr 2009, 22:42:29 »


Non è un problema, è il joomla che si comporta così...

eppure in precedenza mi mandava al form di registrazione dicendomi che avrei dovuto registrarmi per visulazizzare la pagina  ???

Grazie mille comunque!  :)
[/quote]
Fai così...

Rendi anche la voce di menu a livello registered e apparirà solo ai registrati. Così dovresti aver risolto il problema. ;)

Offline Ghep

  • Esploratore
  • **
  • Post: 72
    • Mostra profilo
Re:mi serve aiuto
« Risposta #25 il: 12 Giu 2009, 15:44:56 »
Anch'io utilizzo iSpring per convertire le presentazioni in filamti flash da caricare poi in joomla.
Con IE e chrome vedo tutto benissimo mentre con Firefox vedo un oggetto in mezzo qual'è il problema secondo voi?


Offline Ghep

  • Esploratore
  • **
  • Post: 72
    • Mostra profilo
Re:mi serve aiuto
« Risposta #26 il: 12 Giu 2009, 15:46:54 »
scusate infinitamente ho sbagliato dove inserire il post.

Ciao

 



Web Design Bolzano Kreatif