You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2007/11/04 15:20:12 UTC

[jira] Closed: (MSITE-269) Urls rewritten when they contain the project urls' hostname

     [ http://jira.codehaus.org/browse/MSITE-269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg closed MSITE-269.
---------------------------------

      Assignee: Dennis Lundberg
    Resolution: Won't Fix

The rewriting of URLs is intended. However the links do *not* contain the deploy location. If you have a look at the source of the generated html files you will see that the URLs have been rewritten so that they are relative.

> Urls rewritten when they contain the project urls' hostname
> -----------------------------------------------------------
>
>                 Key: MSITE-269
>                 URL: http://jira.codehaus.org/browse/MSITE-269
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>            Reporter: Cameron Jones
>            Assignee: Dennis Lundberg
>         Attachments: pom.xml, site.xml
>
>
> Urls in the site.xml file are being rewritten if they contain the hostname of the project url. For example:
> pom.xml:
> <url>http://208.75.85.243</url>
> ...
> <site>
>     <id>test.site</id>
>     <url>file:///srv/www/test/site</url>
> </site>
> ...
> site.xml:
> <item name="About" href="http://208.75.85.243/index.html" />
> Results in the following link for the About page which is incorrect and includes the deployment location instead of the url:
> http://208.75.85.243/test/site/index.html

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira