[opencms-dev] Install opencms as root context

Andras Balogh andras at reea.net
Wed Jul 7 14:17:02 CEST 2004


Hello,

    Open the WEB-INF/config/opencms.properties file and locate the property
"url_prefix_http" and try to remove the value /${WEB_APP_NAME}
leave only the /opencms part.
After saving the file restart Tomcat.
If not working then undo :)

Best regards,
Andras.

Jochen Schwörer wrote:

> Hi,
>
> I would like to install opencms as a root context (access via 
> "www.mydomain.com/") in a virtual host.
>
> In Tomcat the root context resides in a directory called "ROOT". So I 
> renamed "opencms.war" to "ROOT.war" and deployed the application. So 
> far everything went fine.
> After completing the setup, I accessed the application with the url 
> "http://mydomain.com/opencms/system/login/". After entering login 
> information I got a 404 error because opencms tried to access 
> "http://mydomain.com/ROOT/opencms....".
>
> Is there a way to change the actual used context from "/opencms" to "/"?
> Or is there something I missed during the setup process?
>
> regards
> Jochen Schwoerer
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please 
> visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>




More information about the opencms-dev mailing list