le informazioni sono poche, tutto dipende dalla configurazione del server. Hai chiesto al tuo provider?
Il server è mio e l'ho portato in webwarm. Che dati ti servono?
La configurazione di Apache2 nella parte relativa al .htaccess ha questa stringa:
AccessFileName .htaccess
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
UseCanonicalName Off
Il file di configurazione del dominio è questo:
<VirtualHost *>
ServerAdmin xxx
ServerName
www.xxx.it DocumentRoot /var/www/www.xxx.it/web/
ErrorLog /var/log/apache2/xxx.it-error.log
CustomLog /var/log/apache2/xxx.it-access.log combined
ServerSignature On
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# Uncomment this directive is you want to see apache2's
# default start page (in /apache2-default) when you go to /
#RedirectMatch ^/$ /apache2-default/
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>
Il file .htaccess è questo:
## Puo' essere commentato se causa errori, vedere le note sopra.Options +FollowSymLinks
## mod_rewrite in usoRewriteEngine On
# Decommentate la riga se la URL del vostro webserver non e' collegata con il path del file.
# Aggiungi la sottodirectory (/sottodirectory)
# RewriteBase
########## Inizio - Joomla! core SEF Section
########## Usa questa sezione se state usando SOLO il Core Joomla!
## TUTTE le righe (RewriteCond) in questa sezione sono richieste soltanto
## se avete directory chiamate 'content' o 'component' nel vostro server
## se non avete directory con questi nomi, commentate le righe.
#
# RewriteCond %{REQUEST_FILENAME} !\.(jpg|jpeg|gif|png|css|js|pl|txt)$
# RewriteCond %{REQUEST_FILENAME} !-f
# RewriteCond %{REQUEST_FILENAME} !-d
# RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
# RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
# RewriteRule ^(.*) index.php
#
########## Fine sezione - Joomla! core SEF
########## Inizio - 3rd Party SEF Section
########## Usare questa sezione se state usando
########## 3rd party (Non Joomla! core) SEF extension - e.g. OpenSEF, 404_SEF, 404SEFx, SEF Advance, etc
#
RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php
#
########## Fine sezione - 3rd Party SEF
Grazie mille, ciao