Try this to have such URLs: http://www.yourhost.com/Jahia

<init-param>
  <param-name>defaultContextPath</param-name>
  <param-value></param-value>
</init-param>
<init-param>
  <param-name>defaultServletPath</param-name>
  <param-value>/Jahia</param-value>
</init-param>


At 20.02.2006 11:28, you wrote:

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?

-------=[ pvollenweider at jahia dot com ]=---------
Jahia : A collaborative source CMS and Portal Server
www.jahia.org Community and product web site
www.jahia.com Commercial services company

Reply via email to