mrqpro Posted May 20, 2010 Share Posted May 20, 2010 Hi all. Have anyonce use symfony or zend framework? As usual, the Root directory is localhost/your_project but in symfony and zend the root directory is localhost/your_project/public At local, I can use virtualhost to set root directory is "public" directory but on the real host I don't have permission to do this. So how to slove this problem? Use htaccess? But how? Don't suggest to use htaccess to redirec to "public" directory. This way is not good. All the path to images, css, js file will be lost. Help me please. Thanks. Link to comment https://forums.phpfreaks.com/topic/202333-htaccess-and-documentroot/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.