.htaccess - Subdomain and Zend Framework -


i have zend framework application subdomain works in local development environment. i'm trying put on live location, in shared hosting environment. have made subdomain in directadmin.

this default content of .htaccess in public_html

rewriteengine on rewritecond %{request_filename} -s [or] rewritecond %{request_filename} -l [or] rewritecond %{request_filename} -d rewriterule ^.*$ - [nc,l] rewriterule ^.*$ index.php [nc,l] 

i have removed folder public_html/subdomain because want goes through index.php. problem if go subdomain.example.com 500 internal server error. how can solve this?

this sounds host-specific issue. typically, if running own apache server, create virtualhost directive point subdomain application's public folder.

i know hosts treat each domain / subdomain it's separate folder. if host expecting have public_html/subdomain folder, why not try making subdomain folder symbolic link application's public folder?

ln -s /path/to/zf/public/folder /path/to/public_html/subdomain/folder 

Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -