Ragazzi ho problemi nella visualizzazione del sito e del pannello di controllo che risulta tutto sballato!
Ecco il file .htaccess nella 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
Questo .htaccess invece ed della directory 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