Hi Mike,
If my zfgrid/document_root corresponds to the physical path on the
production server is /home/kevin/public_html/zfgrid/document_root, how do we
include that path through .htaccess?
How do we include it into bootstrap file? Using something like:
set_include_path(
$appDir . '/models'
. PATH_SEPARATOR
. get_include_path()
. PATH_SEPARATOR
. '/home/liaok/wwwroot/ZendFramework-1.0.0/library'
. PATH_SEPARATOR
. '/home/kevin/public_html/zfgrid/document_root'
);
Hi Kevin,
Based on my experience, as long as mod_rewrite is enabled, you don't
need to modify httpd.conf and restart apache.
The only extra work needed is to make sure that zf dir can be added
into include path through .htaccess. if it can't, you need to write
the path into a config file or hardcode it in your bootstrap file
(adding "set_include_path").
Regards,
Mike
--
View this message in context:
http://www.nabble.com/Deploy-Zend-Framework-application-on-the-production-server-tf4242664s16154.html#a12084656
Sent from the Zend Framework mailing list archive at Nabble.com.