Joomla.it Forum
Joomla! 1.5.x (versione con supporto terminato) => Joomla! 1.5 => : spicspan4ever 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
-
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 # :
+Options FollowSymlinks
.
Ricaricalo nel server,sistemerà il problema.
-
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!
-
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!
Ricopialo come te l'ho corretto io.
La prossima volta che posti un listato,usa il tag code,grazie. ;D
-
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."
ok per codice! grazie.
-
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."
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.
-
Spuntato anche mod_rewrite e modificato in.htaccess.
Ma il secondo problema rimane :(
-
Spuntato anche mod_rewrite e modificato in.htaccess.
Ma il secondo problema rimane :(
Link al sito?
-
http://www.psicoterapiaorganismica.it/index.php/home.html
nel menu biblioteca il link Libri segnalati punta ad una categoria che ho assegnata ai registered.
-
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). ;)
-
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?
-
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.
-
Hai idea del perchè e come posso risolvere il problema?
Dovrebbe pero puntare al form di registrazione se è dedicato ai registered?
-
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. ;)
-
Gliela ricarico sopra sovrascivendo i file?
Non si incasina di più?
Perdo il lavoro fatto?
-
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.
-
Fatto, ma non è cambiato nulla :( :(
-
Fatto, ma non è cambiato nulla :( :(
Disattiva la mod_rewrite e guarda se non è quella il problema...
-
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
-
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
-
nemmeno "nome utente dimenticato" funge :(
-
nemmeno "nome utente dimenticato" funge :(
ora questo funziona.
Resta solo il problema della pagina 403 ???
-
nemmeno "nome utente dimenticato" funge :(
ora questo funziona.
Resta solo il problema della pagina 403 ???
Non è un problema, è il joomla che si comporta così...
-
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! :)
-
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. ;)
-
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?
-
scusate infinitamente ho sbagliato dove inserire il post.
Ciao