Oppure

Loading
04/10/18 8:56
giocala88
Salve ragazzi,
ho la seguente strutturazione in cartelle in localhost:

- web
- admin
- conf.ext

Dove la cartella /web/ ospita il sito web. Vorrei dunque cambiare la DirectoryIndex e fin qui ci siamo. Vorrei anche riscrivere tutte le pagine in modo che non compaia l'estensione delle stesse. Ad es: localhost/about/, localhost/contact/, ecc...

Ho provato ad utilizzare il seguente codice ma senza alcun esito positiivo (mi restituisce un Not Found)


DirectoryIndex web/index.php

<Files .htaccess>
order allow,deny
deny from all
</Files>

Options -Indexes
<IfModule mod_rewrite.c>
Options +ExecCGI +FollowSymLinks -MultiViews
RewriteEngine On
#RewriteBase /
#RewriteRule ^index\.php$ - [L]
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
</IfModule>


Qualcuno potrebbe aiutarmi? :-? Grazie
aaa