Visualizzazione dei risultati da 1 a 10 su 12

Hybrid View

  1. #1
    hem hem....ho capito poco di ciò che hai detto...ahahah scusa ma me ne intendo poco di questo tipo di linguaggi.
    Io non ho credenziali di accesso in phpMyAdmin....se devo entrare scrivo http://localhost/phpmyadmin/ e lui mi mette già nel server....infatti non riesco a capire che credenziali chiede. E in ogni caso, non riesco a riempire le tabelle del database. Penso che includere la cartella del programma, dovrebbe inserirmi le tabelle e varie cose nel server invece non va.

    Importo la cartella e dice:

    Importazione eseguita con successo, 1 query eseguite. (openstamanager-2.1.sql.zip)
    #Prevent hacks
    <IfModule mod_rewrite.c>

    #Tell PHP that the mod_rewrite module is ENABLED.
    SetEnv HTTP_MOD_REWRITE On

    RewriteEngine On

    # proc/self/environ? no way!
    RewriteCond %{QUERY_STRING} proc/self/environ [OR]

    # 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 [...]


    Errore

    Pare che ci sia un errore nella query SQL immessa. L'errore del server MySQL mostrato qui sotto, se c'è, può anche aiutare nella risoluzione del problema.
    ERROR: Stringa di Punctuation Sconosciuta @ 355
    STR: =|\%
    SQL: #Prevent hacks
    <IfModule mod_rewrite.c>

    #Tell PHP that the mod_rewrite module is ENABLED.
    SetEnv HTTP_MOD_REWRITE On

    RewriteEngine On

    # proc/self/environ? no way!
    RewriteCond %{QUERY_STRING} proc/self/environ [OR]

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

    </IfModule>

    # Deny access to log, sql, htaccess ecc..
    <FilesMatch ".(htaccess|htpasswd|ini|phps|fla|psd|log|sh|sql)$ ">
    Order allow,deny
    Deny from all
    </FilesMatch>

    # Deny access to VERSION file
    <Files ~ "\VERSION$">
    Order allow,deny
    Deny from all
    </Files>

    <Files ~ "\REVISION$">
    Order allow,deny
    Deny from all
    </Files>

    # Deny access to config file
    <Files config.inc.php>
    Order allow,deny
    Deny from all
    </Files>

    # Block visitors referred from indicated domains
    <IfModule mod_rewrite.c>
    SetEnvIfNoCase ^User-Agent$ .*(craftbot|download|extract|stripper|sucker|ninja |clshttp|webspider|leacher|collector|grabber|webpi ctures) HTTP_SAFE_BADBOT
    SetEnvIfNoCase ^User-Agent$ .*(libwww-perl|aesop_com_spiderman) HTTP_SAFE_BADBOT
    Deny from env=HTTP_SAFE_BADBOT
    </ifModule>

    #Disable OSM indexing file php, html, htm, pdf
    <IfModule mod_headers.c>
    <FilesMatch ".(php|html|htm|pdf)$">
    Header set X-Robots-Tag: "noindex"
    </FilesMatch>
    </IfModule>

    #Set Timezone
    SetEnv TZ Europe/San_Marino



    Query SQL:
    #Prevent hacks <IfModule mod_rewrite.c> #Tell PHP that the mod_rewrite module is ENABLED. SetEnv HTTP_MOD_REWRITE On RewriteEngine On # proc/self/environ? no way! RewriteCond %{QUERY_STRING} proc/self/environ [OR] # 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] </IfModule> # Deny access to log, sql, htaccess ecc.. <FilesMatch ".(htaccess|htpasswd|ini|phps|fla|psd|log|sh|sql)$ "> Order allow,deny Deny from all </FilesMatch> # Deny access to VERSION file <Files ~ "\VERSION$"> Order allow,deny Deny from all </Files> <Files ~ "\REVISION$"> Order allow,deny Deny from all </Files> # Deny access to config file <Files config.inc.php> Order allow,deny Deny from all </Files> # Block visitors referred from indicated domains <IfModule mod_rewrite.c> SetEnvIfNoCase ^User-Agent$ .*(craftbot|download|extract|stripper|sucker|ninja |clshttp|webspider|leacher|collector|grabber|webpi ctures) HTTP_SAFE_BADBOT SetEnvIfNoCase ^User-Agent$ .*(libwww-perl|aesop_com_spiderman) HTTP_SAFE_BADBOT Deny from env=HTTP_SAFE_BADBOT </ifModule> #Disable OSM indexing file php, html, htm, pdf <IfModule mod_headers.c> <FilesMatch ".(php|html|htm|pdf)$"> Header set X-Robots-Tag: "noindex" </FilesMatch> </IfModule> #Set Timezone SetEnv TZ Europe/San_Marino
    Messaggio di MySQL:
    #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<IfModule mod_rewrite.c>

    #Tell PHP that the mod_rewrite module is ENABLED.
    ' at line 2

  2. #2
    Quote Originariamente inviata da griba92 Visualizza il messaggio
    Importo la cartella e dice:

    Importazione eseguita con successo, 1 query eseguite. (openstamanager-2.1.sql.zip)
    Non ho la più vaga idea della procedura che stai eseguendo. Non conosco wamp per cui non so cosa intendi per "importare".
    Io nei miei ambienti in genere decomprimo i file e li metto in una cartella nella root di Apache ed eseguendo lo script effettuo l'installazione se necessaria.
    "Mai discutere con un idiota. Ti trascina al suo livello e ti batte con l'esperienza." (Oscar Wilde)

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.