|
|||
|
Hello!
The problem is with displaing images and css files. I have a project, let name it myproject, so i store the project files at: /srv/www/html/projects/myproject The url to project will be: http://localhost/projects/myproject In html code I include the css file from "styles/style.css" DocumentRoot point to: /srv/www/html/projects/myproject/public and css files are find in /srv/www/html/projects/myproject/public/styles If i write in url the path: http://localhost/projects/myproject, the problem with loading the css doesn't exist, but when I try http://localhost/projects/myproject/article/add, the file doesn't load. I read at Base URL and subdirectories - Zend Framework Wiki that I must set baseurl to "/projects/myproject/public" but this doesn't what. Do I missing something? or I do something wrong? THX |
|
|||
|
The SpotSec_View_Helper_BaseUrl should do the trick:
Zend Framework BaseUrl View Helper*|*SpotSec Networks |
![]() |
| Thread Tools | |
| Display Modes | |
|
|