Da modificare così:Open: .htaccess
Comments
Only add this if your server has mod_rewrite enabled (there may be other requirements for this to work as well, but mod_rewrite is all I know of). If you get an internal server error because of adding this mod, remove the changes made to the .htaccess file because the likely reason is that your server does not support this.
Codice: Seleziona tutto
Find
Tip: This may be a partial find and not the whole line.
Code:Select All
<Files "common.php">
Order Allow,Deny
Deny from All
</Files>
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
Code:Select All
<IfModule mod_rewrite.c>
RewriteEngine on
Rewriterule ^blog/(.+)/(.+).html$ ./blog/view/blog.php?page=$1&mode=$2
Rewriterule ^blog/(.+).html$ ./blog/blog.php?page=$1
Rewriterule ^blog/(.+)/$ ./blog/view/blog.php?page=$1
Rewriterule ^blog/$ ./blog/blog.php
</IfModule>
Oltretutto non riesco nemmeno a trovare il file .htaccess sull'ftp...
Grazie delle eventuali risposte...
EDIT:un ultima cosa,io ho il php alla versione 5.2.1,e nella install della mod dice:
C'entra qualcosa?posso comunque installarla?Author Notes:
PHP versions less than 5.1.0 are NOT supported.