Início > Internet, PHP, Programação > .htaccess – 000webhost & ZendFramework

.htaccess – 000webhost & ZendFramework

Português:

Surgiu a necessidade de utilizar um alojamento gratuito 000webhost para testar a minha aplicação em ZendFramework.
A verdade é que o .htaccess era um problema mas encontrei solução.

English:

The need arose to use a free hosting 000webhost to test my application inZendFramework.
The truth is that the .htaccess was a problem but I found the solution.

SetEnv APPLICATION_ENV development
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
  1. Ainda sem comentários.
  1. No trackbacks yet.

Deixar um comentário

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Modificar )

Imagem do Twitter

You are commenting using your Twitter account. Log Out / Modificar )

Facebook photo

You are commenting using your Facebook account. Log Out / Modificar )

Connecting to %s

Seguir

Get every new post delivered to your Inbox.