leo_rock Posted January 26, 2012 Report Share Posted January 26, 2012 Bueno lo que pasa es que tengo un proyecto en PHP ya esta realizado pero a la hora de migrarlo al servidor de destino este no tiene Apache si no Lighttpd, el problema es que el proyecto utiliza Urls amigables por lo que necesito la forma de crear la re-escritura que hacia por medio del .htaccess ahora en Lighttpd, si alguien sabe como lograr eso. El script para la reescritura que tengo es bien básico en si es redireccionar todo al index.php, bueno menos las exenciones que están marcadas. RewriteEngine on RewriteRule !\.(js|ico|gif|jpg|jpeg|png|css|php|html|doc|docx|pdf|ppt|xls|swf)$ index.php Ojala alguien pueda ayudarme. Link to comment Share on other sites More sharing options...
X_tatane_X Posted January 26, 2012 Report Share Posted January 26, 2012 Creo que en la Zona Geek te podrán ayudar mejor. Suerte :cool: Link to comment Share on other sites More sharing options...
nunacho Posted January 26, 2012 Report Share Posted January 26, 2012 (edited) Prueba con estourl.rewrite-once = ("\.(js|ico|gif|jpg|jpeg|png|css|php|html|doc|docx|pdf|ppt|xls|swf)$" => "/index.php") Edited January 26, 2012 by nunacho Link to comment Share on other sites More sharing options...
AshWilliams Posted January 27, 2012 Report Share Posted January 27, 2012 http://www.mediawiki.org/wiki/Manual:Short_URL/wiki/Page_title_--_Lighttpd_rewrite--root_access Saludos :krider: Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now