Visualizzazione risultati 1 fino 2 di 2

Discussione: Problema visuailizzazione home page e pannello admin

  1. #1
    Guest

    Predefinito Problema visuailizzazione home page e pannello admin

    Ragazzi ho alcuni problemi nella visualizzazione di alcune apgine del sito metre il pannello di controllo è completamente sballato vi posto il contenuto dei file .htaccess. Nella spiegazione si dice che bisgona mettere questo paremetro su on: "output_buffering"

    File .htaccess della root del sito:
    Codice:
    #####################################################
    #  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.
    #
    #####################################################
    Options +FollowSymLinks
    
    RewriteEngine on
    RewriteBase /
    RewriteRule ^c,(.*),Keyword.htm$ index.php [R=301,L]
    RewriteCond %{REQUEST_URI} (/|\.htm|\.html|/[^.]*)$  [NC]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    #RewriteRule ^rss([0-9]{0,}),(.*).html$ rss.php?cat=$1 [L]
    RewriteRule (.*) index.php?page=$1&%{QUERY_STRING}
    RewriteRule templates\/(.*).tpl$ index.php[F]
    RewriteRule templates_c\/(.*) index.php[F]
    RewriteRule configs\/(.*).conf$ index.php [F]
    
    #RewriteRule ^(.*)http(.*)$ index.php [R=301]
    #RewriteRule ^p-(.*).html$ index.php?page=$1 [L]
    
    ## av:php5-engine
    AddHandler av-php5 .php
    Ora vi posto il contenuto del file .htaccess nella cartella admin:
    Codice:
    #####################################################
    #  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.
    #
    #####################################################
    Options +FollowSymLinks
    
    RewriteEngine on
    RewriteBase /admin
    
    RewriteCond %{REQUEST_URI} (/|\.htm|\.html|/[^.]*)$  [NC]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    #RewriteRule ^rss([0-9]{0,}),(.*).html$ rss.php?cat=$1 [L]
    RewriteRule (.*) index.php?page=$1
    RewriteRule templates\/(.*).tpl$ index.php[F]
    RewriteRule templates_c\/(.*) index.php[F]
    RewriteRule configs\/(.*).conf$ index.php [F]
    #RewriteRule ^p-(.*).html$ index.php?page=$1 [L]
    
    # # av:php5-engine
    AddHandler av-php5 .php
    Aiuti??
    Ultima modifica di soigne : 13-11-2009 alle ore 12.33.56

  2. #2
    Guest

    Predefinito

    Ragazzi secondo me il problema sta in qst .htaccess c'è nessuno che ne capsice? :(

Regole di scrittura

  • Non puoi creare nuove discussioni
  • Non puoi rispondere ai messaggi
  • Non puoi inserire allegati.
  • Non puoi modificare i tuoi messaggi
  •