jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2.x and 3.x Site Plugin
  • MSITE-3

site adds relative paths to css, etc, but doesn't work for error documents

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: relative links
  • Labels:
    None

Description

we should possibly use the absolute urls for these anyway.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
John Casey added a comment - 11/Nov/05 11:59 AM

can you give an example of an error document, and how it should be handled...for someone who doesn't have context on the site plugin yet?

Show
John Casey added a comment - 11/Nov/05 11:59 AM can you give an example of an error document, and how it should be handled...for someone who doesn't have context on the site plugin yet?
Hide
Permalink
Brett Porter added a comment - 12/Nov/05 2:45 AM

I think hte relative paths in general are a bit dangerous in case of rewriting and error documents.

The error documents I'm talking about are, for example:
http://maven.apache.org/get/bad/page

(see the .htaccess file in src/site/resources for the definition of this)

Show
Brett Porter added a comment - 12/Nov/05 2:45 AM I think hte relative paths in general are a bit dangerous in case of rewriting and error documents. The error documents I'm talking about are, for example: http://maven.apache.org/get/bad/page (see the .htaccess file in src/site/resources for the definition of this)
Hide
Permalink
Jesse McConnell added a comment - 27/Mar/06 11:40 AM

brett, I don't see any .htaccess file in src/site/resources...

do you think we ought to just switch things over to absolution urls in here?

Show
Jesse McConnell added a comment - 27/Mar/06 11:40 AM brett, I don't see any .htaccess file in src/site/resources... do you think we ought to just switch things over to absolution urls in here?
Hide
Permalink
Brett Porter added a comment - 28/Mar/06 8:40 PM

brett@IBM-2E4CB799BFA ~/scm/maven/site
$ cat src/site/resources/.htaccess
ErrorDocument 404 /errors/404.html

I think certain pages need absolute URLs. I'm not sure how best to specify it, though. I wouldn't want them for all, as it is prohibitive to viewing locally.

Show
Brett Porter added a comment - 28/Mar/06 8:40 PM brett@IBM-2E4CB799BFA ~/scm/maven/site $ cat src/site/resources/.htaccess ErrorDocument 404 /errors/404.html I think certain pages need absolute URLs. I'm not sure how best to specify it, though. I wouldn't want them for all, as it is prohibitive to viewing locally.

People

  • Assignee:
    Unassigned
    Reporter:
    Brett Porter
Vote (0)
Watch (0)

Dates

  • Created:
    21/Oct/05 1:40 PM
    Updated:
    24/Jul/09 5:05 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.