Jump to content

Htaccess and documentroot


mrqpro

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.