Errore 403 su netsons
-
Salve a tutti,sono nuovissimo del forum...sono arrivato qui cercando una possibile soluzione ad un problema che stabloccando completamente lo sviluppo del mio sito ecommerce.
Cercherò di spiegare brevemente quello che è successo:
ho aperto un account su net**ns dato che lòe precedenti esperienze erano state positive (altri account aperti per creare siti con joomla senza nessun problema); installazione Joomla 1.5 ok,installazione template ok, installazione moduli e componenti ok, installazione Virtue Mart e relativi moduli ok.
Sembra tutto come al solito, quindi inizio a inserire i prodotti del negozio...circa un mesetto fa il provider sposta tutti gli account free su nuovi server ed ecco che iniziano i problemi.
Il mio account addirittura sembra non esistere più, ma dopo una mail di segnalazione mi dicono che tutto è ripristinato...ma da allora riesco a visualizzare e lavorare sul sito una volta su 10 e quando ci riesco non si visualizza il banner e alcune immagini dei prodotti.
Le altre volte mi restituisce sempre il seguente errore 403:Forbidden
You don't have permission to access / on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.10 (Unix) mod_ssl/2.2.10 OpenSSL/0.9.8b mod_bwlimited/1.4 Server at xxxxxxxxxxxxxxx Port 80Ho scritto a netsons per capire cosa potesse essere e inizialmente mi hanno detto che poetva essere un problema permessi a file e cartelle: quindi dopo essermi accuratamente documentato (ho scoperto che in parecchi hanno il mio stesso problema), ho ricontrollato e reimpostato i permessi delle cartelle a 755 e i file a 644 ma niente di fatto.
Per scrupolo ho provato poi a impostare tutte le cartelle a 777 ma niente,stessa cosa.
Quindi ho provato invano a chiedere aiuto su alcuni forum ufficiali, ma dopo quasi una settimana non ho ancora ricevuto risposte...bah!
Ieri leggendo qualche discussione su questo forum, la mia attenzione e i miei dubbi si sono spostati su 3 file in particolare,che magari durante lo spostamento di net**ns hanno subito qualche "trauma":1).htaccess
## # @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 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # 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 Section2) configuration.php
<?php class JConfig { var $offline = '0'; var $editor = 'tinymce'; var $list_limit = '20'; var $helpurl = ''; var $debug = '0'; var $debug_lang = '0'; var $sef = '0'; var $sef_rewrite = '1'; var $sef_suffix = '0'; var $feed_limit = '10'; var $secret = 'GOqQ8PS0EowKBkkk'; var $gzip = '0'; var $error_reporting = '-1'; var $xmlrpc_server = '0'; var $log_path = '/home/erboris7/public_html/logs'; var $tmp_path = '/home/erboris7/public_html/tmp'; var $live_site = ''; var $offset = '1'; var $caching = '0'; var $cachetime = '15'; var $cache_handler = 'file'; var $memcache_settings = array(); var $ftp_enable = '0'; var $ftp_host = '127.0.0.1'; var $ftp_port = '21'; var $ftp_user = ''; var $ftp_pass = ''; var $ftp_root = ''; var $dbtype = 'mysql'; var $host = 'mysql5.netsons.org'; var $user = 'erboris7_db'; var $db = 'erboris7_db'; var $dbprefix = 'jos_'; var $mailer = 'mail'; var $mailfrom = '[email protected]'; var $fromname = '...:: Erboristeria InSole del dr. Umberto Piotto ::...'; 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 = 'erboristeria '; var $sitename = '...:: Erboristeria InSole del dr. Umberto Piotto ::...'; var $MetaDesc = 'Erboristeria In Sole del Dott. Umberto Piotto intolleranze alimentari, alimentazione biologica, fitocosmesi, prodotti per sportivi, fitoterapici, fiori di Bach.'; var $MetaKeys = 'Erboristeria, Alimentazione Biologica, Intolleranze Alimentari, Fitocosmesi, Fitoterapia, Integratori, Erbolario, Aboca, Birkenstock, Solgar, Cosval, Esi, Specchiasol, Proactions, OTI, Helan, Weleda, Dr. Hauschka, Bios Line'; var $offline_message = 'Sito fuori servizio per manutenzione. Riprovare più tardi.'; } ?>3)configuration-dist.php
<?php /** * @version $Id: configuration.php-dist 9991 2008-02-05 22:13:22Z ircmaxell $ * @package Joomla * @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved. * @license GNU/GPL, see LICENSE.php * Joomla! is free software and parts of it may contain or be derived from the * GNU General Public License or other free or open source software licenses. * See COPYRIGHT.php for copyright notices and details. * * ------------------------------------------------------------------------- * THIS SHOULD ONLY BE USED AS A LAST RESORT WHEN THE WEB INSTALLER FAILS * * If you are installing Joomla! manually i.e. not using the web browser installer * then rename this file to configuration.php e.g. * * UNIX -> mv configuration.php-dist configuration.php * Windows -> rename configuration.php-dist configuration.php * * Now edit this file and configure the parameters for your site and * database. */ class JConfig { /** * ------------------------------------------------------------------------- * Site configuration section * ------------------------------------------------------------------------- */ /* Site Settings */ var $offline = '0'; var $offline_message = 'This site is down for maintenance.<br /> Please check back again soon.'; var $sitename = 'Joomla!'; // Name of Joomla site var $editor = 'tinymce'; var $list_limit = '20'; var $legacy = '0'; /** * ------------------------------------------------------------------------- * Database configuration section * ------------------------------------------------------------------------- */ /* Database Settings */ var $dbtype = 'mysql'; // Normally mysql var $host = 'localhost'; // This is normally set to localhost var $user = ''; // MySQL username var $password = ''; // MySQL password var $db = ''; // MySQL database name var $dbprefix = 'jos_'; // Do not change unless you need to! /* Server Settings */ var $secret = 'FBVtggIk5lAzEU9H'; //Change this to something more secure var $gzip = '0'; var $error_reporting = '-1'; var $helpurl = 'help.joomla.org'; var $xmlrpc_server = '1'; var $ftp_host = ''; var $ftp_port = ''; var $ftp_user = ''; var $ftp_pass = ''; var $ftp_root = ''; var $ftp_enable = ''; var $tmp_path = '/tmp'; var $log_path = '/var/logs'; var $offset = '0'; var $live_site = ''; // Optional, Full url to Joomla install. /* Session settings */ var $lifetime = '15'; // Session time var $session_handler = 'database'; /* Mail Settings */ var $mailer = 'mail'; var $mailfrom = ''; var $fromname = ''; var $sendmail = '/usr/sbin/sendmail'; var $smtpauth = '0'; var $smtpuser = ''; var $smtppass = ''; var $smtphost = 'localhost'; /* Cache Settings */ var $caching = '0'; var $cachetime = '15'; var $cache_handler = 'file'; /* Debug Settings */ var $debug = '0'; var $debug_db = '0'; var $debug_lang = '0'; /* Meta Settings */ var $MetaDesc = 'Joomla! - the dynamic portal engine and content management system'; var $MetaKeys = 'joomla, Joomla'; var $MetaTitle = '1'; var $MetaAuthor = '1'; /* SEO Settings */ var $sef = '0'; var $sef_rewrite = '0'; var $sef_suffix = ''; /* Feed Settings */ var $feed_limit = 10; } ?>Avete qualche suggerimento da darmi per poter risolvere la cosa???
Grazie 1000
-
-
grazie webmax ma i valori di quelle due variabili sono stati impostati direttamente dal gestore del servizio quindi sono esatti...cmq nel frattempo ho aggiunto la frittata finale: ho scaricato la SEF PATCH e ho trasferito sul server i file e le cartelle della patch...ma mi sa tanto che ho combinato un bel casino,non riesco più a vedere il lato amministratore del sito
x
x
x
x
x:x.Mi avvio verso:
1)CAMBIO SERVIZIO HOSTING
2)INSTALLAZIONE DA 0 DI JOOMLA
(a meno che qualcuno di voi mi indichi una strada alternativa)La cosa che mi fa rodere di più è dover ricominciare tutto da capo...avevo fatto delle personalizzazioni ai moduli....
x
x
x
x
x
x:x
Ciao! Sembra che tu sia interessato a questa conversazione, ma non hai ancora un account.
Stanco di dover scorrere gli stessi post a ogni visita? Quando registri un account, tornerai sempre esattamente dove eri rimasto e potrai scegliere di essere avvisato delle nuove risposte (tramite email o notifica push). Potrai anche salvare segnalibri e votare i post per mostrare il tuo apprezzamento agli altri membri della comunità.
Con il tuo contributo, questo post potrebbe essere ancora migliore 💗
Registrati Accedi