FAQ
(Added reference to a new article about creating a custom login form) |
|||
Line 16: | Line 16: | ||
This sets the "Admin" password to 'admin'. '''NOTE: Use this at your own risk!''' | This sets the "Admin" password to 'admin'. '''NOTE: Use this at your own risk!''' | ||
− | == | + | == Extending the System == |
− | === How can I create my own login | + | === How can I create my own login page? === |
See: [[Custom Login Page]]. | See: [[Custom Login Page]]. |
Revision as of 11:44, 8 November 2006
Contents |
General questions
Why does the default OpenCms url contain /opencms/opencms/?
The first /opencms/ is the folder of your OpenCms installation in the webapps folder of your servlet container (tomcat,jboss,etc.). The second is a servlet mapping to the main OpenCms servlet which handles the requests. You can install OpenCms as root-application of you servlet container to get rid of the first /opencms/. During the installation process you can rename the servlet mapping (for example to cms) to shorten the second /opencms/.Alternatively there is a guide how to get rid of /opencms/opencms/ shipped with the alcacon documentation. See also Removing /opencms/opencms from site url
My OpenCms upgrade fails, what are common pitfalls?
A common pitfall is that your Servlet container(Tomcat,JBoss,etc.) has no write access to the OpenCms installation, check the permission and give the servlet-container write access.
Another pitfall is that the upgrade wizard is not able to open a display, which can be fixed by starting the servlet container with the following java arguments:
-Djava.awt.headless=true
User Management
What is the difference between webusers and normal users?
The webusers are not allowed to login into the OpenCms workspace. You can use them to create a restricted area on your homepage. There is a howto how to create a restricted area on your homepage: How to create a restricted area on your homepage.
I lost the password of the user "Admin", what can I do?
If you have database access you can reset it with the following SQL query:
UPDATE CMS_USER SET USER_PASSWORD='ISMvKXpXpadDiUoOSoAfww==' WHERE USER_NAME='Admin';
This sets the "Admin" password to 'admin'. NOTE: Use this at your own risk!
Extending the System
How can I create my own login page?
See: Custom Login Page.