Ciao a tutti:
ho una apache rules sulla root di questo tipo ( dentro htaccess ovviamente)
RewriteRule ^([^/]*)\.html$ /public/hotel [L]
sulla cartella public
ho un altro htaccess ( di default per zend)
SetEnv APPLICATION_ENV development
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
il problema è che se passo l'url
http://www.miosito.ext/1.html
ottengo:
Message: Invalid controller specified (1.html)
è strano dato che se cambio rules sulla root
RewriteRule ^([^/]*)\.html$ /public [L]
va direttamente sulla cartella public senza eccezzioni.
Qualche dritta ?
grazie.