ciao ,sul mio hosting linux posso creare un .htaccess sto cercando di installare un progetto symfony che fa uso di un front controller che redirige le pagine al motore interno di symfony.
Ho questa struttura di directory:
->web -->phpindex.php// front controller
------>pagine html ,css e js
l'indirizzo è www.xxxx
vorrei che tutte le chiamate ad una pagina tipo www.xxx/news venissero redirette con il front controller sotto la dir web, ad es :
www.xxx/news deve essere tradotto in:
www.xxx/web/index.php/news
è possibile?
e che magari i .html venissero rediretti solo in >/web/home.html.

per adesso uso quest .htaccess:
RewriteEngine On

# we skip all files with .something
RewriteCond %{REQUEST_URI} \..+$
RewriteCond %{REQUEST_URI} !\.html$
RewriteRule .* - [L]

# we check if the .html version is here (caching)
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f

# no, so we redirect to our front web controller
RewriteRule ^(.*)$ index.php [QSA,L]