Skip to content

Instantly share code, notes, and snippets.

@elialejandro
Last active August 29, 2015 13:57
Show Gist options
  • Save elialejandro/9789006 to your computer and use it in GitHub Desktop.
Save elialejandro/9789006 to your computer and use it in GitHub Desktop.
.htaccess para ZF1 en Servidores normales y APPFOG
RewriteEngine On
RewriteRule ^\.htaccess$ - [F]
RewriteCond %{REQUEST_URI} =""
RewriteRule ^.*$ /public/index.php [NC,L]
RewriteCond %{REQUEST_URI} !^/public/.*$
RewriteRule ^(.*)$ /public/$1
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^.*$ - [NC,L]
RewriteRule ^public/.*$ /public/index.php [NC,L]
#http://www.alberton.info/zend_framework_mod_rewrite_shared_hosting.html#.VDXncrCG-So
#http://egidiocaprino.it/zend-framework-project-on-a-shared-hosting/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment