forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iss...@cocoondev.org
Subject [JIRA] Commented: (FOR-227) static html site: index.html missing in links
Date Fri, 25 Feb 2005 14:24:42 GMT
The following comment has been added to this issue:

     Author: Johannes Schaefer
    Created: Fri, 25 Feb 2005 8:23 AM
       Body:
When I came up with this issue, I thought it's simply in file:// mode and that deplyoing a
'forrest site' with Apache web server would work fine. But then I realized that with 'forrest
run' the same happens: jetty does not deliver a welcome-page by default (it might be that
it is possible to configure it like this, see http://jetty.mortbay.org/jetty/doc/servlet24.html#d0e249).
I still not tried.
The breadcrumb is just a side-issue in this.

Adding "index.html" to jetty's welcome-file-list may not prove the "correct" way since it
is possible to define "indexfile" in tabs.xml, which then should be the right file to serve.
 I'm not sure what the behavior should be for (sub-)directories not used on tabs, though.
There might be no index.html. Serve the first file contained below in site.xml?
---------------------------------------------------------------------
View this comment:
  http://issues.cocoondev.org//browse/FOR-227?page=comments#action_12095

---------------------------------------------------------------------
View the issue:
  http://issues.cocoondev.org//browse/FOR-227

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: FOR-227
    Summary: static html site: index.html missing in links
       Type: Bug

     Status: Unassigned
   Priority: Minor

    Project: Forrest
   Fix Fors:
             0.7
   Versions:
             0.6

   Assignee: 
   Reporter: Johannes Schaefer

    Created: Thu, 22 Jul 2004 5:10 PM
    Updated: Fri, 25 Feb 2005 8:23 AM
Environment: any

Description:
When creating a static html site (running command "forrest")
links in the document that point to a directory (index.html)
are broken when using the site without a server (file://)

To fix: add the filename to the links, i.e.
create <a href="../chapter1/index.html"> 
instead of <a href="../chapter1/">



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org//secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message