Salve, ho installato un cms come sito (Oxwall) che autonomamente scrive il .htaccess di modo che tutti gli url reindirizzino alla index.php.
Ora avendo fatto una pagina iniziale index.html volevo che fosse la prima ad essere considerata dal server ma le mie modifiche al file .htaccess hanno restituito tutte un internal error.
Posto il codice del mio .htaccess, spero possiate offrirmi una mano...e possibilmente il codice funzionante :byebye:
-----------------------------------------------------------------------------------------------------------
Options +FollowSymLinks
RewriteEngine On
AddEncoding gzip .gz
AddEncoding gzip .gzip
<FilesMatch "\.(js.gz|js.gzip)$">
ForceType text/javascript
</FilesMatch>
<FilesMatch "\.(css.gz|css.gzip)$">
ForceType text/css
</FilesMatch>
RewriteCond %{REQUEST_URI} !^/index\.php
RewriteCond %{REQUEST_URI} !/ow_updates/index\.php
RewriteCond %{REQUEST_URI} !/ow_updates/
RewriteCond %{REQUEST_URI} !/ow_cron/run\.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
-----------------------------------------------------------------------------------------------------------
Ora avendo fatto una pagina iniziale index.html volevo che fosse la prima ad essere considerata dal server ma le mie modifiche al file .htaccess hanno restituito tutte un internal error.
Posto il codice del mio .htaccess, spero possiate offrirmi una mano...e possibilmente il codice funzionante :byebye:
-----------------------------------------------------------------------------------------------------------
Options +FollowSymLinks
RewriteEngine On
AddEncoding gzip .gz
AddEncoding gzip .gzip
<FilesMatch "\.(js.gz|js.gzip)$">
ForceType text/javascript
</FilesMatch>
<FilesMatch "\.(css.gz|css.gzip)$">
ForceType text/css
</FilesMatch>
RewriteCond %{REQUEST_URI} !^/index\.php
RewriteCond %{REQUEST_URI} !/ow_updates/index\.php
RewriteCond %{REQUEST_URI} !/ow_updates/
RewriteCond %{REQUEST_URI} !/ow_cron/run\.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
-----------------------------------------------------------------------------------------------------------