0 Replies Latest reply on May 19, 2010 6:40 PM by lyrad789

    Is this a Dreamweaver or Apache problem?

    lyrad789

      Or maybe it's a problem with me??

       

      I created a new site and everything proofs fine on my Apache server EXCEPT:

       

      The .css file path for my left nav include file is: /Pyramid/css/pyramid1include.css      <link href="/Pyramid/css/pyramid1include.css" rel="stylesheet" type="text/css" />

       

      When I try to preview the include file, the css component isn't picked up. The Apache error log says:
      [Wed May 19 16:25:48 2010] [error] [client ::1] File does not exist: /Applications/MAMP/htdocs/Website development/Pyramid/css/images, referer: http://localhost/Pyramid/Include/leftnav.html

       

      Somehow Apache thinks the path is: Pyramid/css/images  instead of Pyramid/css/pyramid1include.css which has been clearly specified.  There is no reference anywhere in the httpd.conf file to "images" and no reference in the stylesheet link to "images".

       

      My .shtml files proof fine and the include file is in it's proper place except that it's messed up due to not having a stylesheet linked to it. I've even specifically linked it's stylesheet to the .shtml file in the head section but it doesn't make any difference.

       

      Apache won't link the include .css, either when proofing the include alone or within an .shtml document. However, it does pick up the .css file for the .shtml document and they're both in the same folder! The one it likes is called: pyramid1.css and the one it changes the path on is called pyramid1include.css

       

      No doubt I have made some greenhorn error, but would really appreciate any help. It's amazing to me that Apache would "invent" a completely non-existing path for that stylesheet! That path is not in my site anywhere.