Philippe Vollenweider wrote:

> Hi,
> 
> Im not talking about the defaultServletPath, but about the
> defaultContextPath!
> 
> http://www.yourhost.com:80/jahia/Jahia/...
>                               |     |
>                               |     + /Jahia is the defaultServletPath
>                               |
>                               +- /jahia is the defaultContextPath
> 
> So if you want http://www.yourhost.com:80/Jahia, it mean that you use
> an empty contextPath.

Yes, this is my web.xml section about defaultContextPath and
defaultServletPath:

 <init-param>
      <!-- This parameter defines the default context path that will
               be used to generate URLs
      -->
      <param-name>defaultContextPath</param-name>
</init-param>
<init-param>
       <!-- This parameter defines the default servlet path that will
               be used to generate URLs
       -->
        <param-name>defaultServletPath</param-name>
        <param-value>/jahia</param-value>
</init-param>

This is my jahia.properties:

### URL's  ###########################

jahiaHostHttpPath            =   
jahiaCoreHttpPath            =   /Jahia 
jahiaTemplatesHttpPath       =   /jsp/jahia/templates/
jahiaEnginesHttpPath         =   /jsp/jahia/engines/
jahiaJavaScriptHttpPath      =   /jsp/jahia/javascript/jahia.js

jahiaWebAppsDeployerBaseURL  =   http\://rheisxa001.rpn.ch

siteIDInURL                  =   true


> Please red the faq http://www.jahia.net/jahia/page589.html#4
> 
> If you nead more information about how to change a context in tomcat,
> please reffer to Tomcat Web site
> http://tomcat.apache.org/tomcat-4.0-doc/config/context.html

Then my application file path is:
/app/jahia/ROOT 

and the url for my Home page is:
http://localhost:8080/jsp/index.jsp

I think it's wrong, it would be:
http://localhost:8080/jahia/index.jsp

and the url for the login box is:
javascript:OpenJahiaWindow('/Jahia/engineName/login/site/rpn/pid/7?matrix=1140430074088','Login',260,300)

With a J upercase and not a small j for /Jahia/...!!! Where does il comes
from?


Reply via email to