Created
November 29, 2012 19:20
-
-
Save samsonasik/4171219 to your computer and use it in GitHub Desktop.
set #zf2 in shared hosting ( .htaccess )
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteCond %{HTTP_HOST} ^yourdomain.com$ [NC,OR] | |
RewriteCond %{REQUEST_URI} !yourapp/public | |
RewriteRule (.*) /yourapp/public/$1 [L] | |
place it at your public_html (shared hosting 'root' directory ). | |
if you call http://yourdomain.com so you will point out to public_html/yourapp/public/index.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment