View Single Post
  #1 (permalink)  
Old 04-02-2008, 02:34 PM
erani erani is offline
Junior Member
 
Join Date: Apr 2008
Location: Moldova, Chisinau
Posts: 1
Send a message via ICQ to erani Send a message via Yahoo to erani Send a message via Skype™ to erani
Default base url problem

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
Reply With Quote