...
modifying the Confluence /setenv.sh file and test with version.sh
Follow the section of Portable Tomcat 6.x & Instances described in the table below. Also make sure to adjust the file paths as shown,
...
Info |
---|
Confluence 4.x introduced their own script files to also perform this check when running start-confluence.sh and stop-confluence.sh. However, admins can still accidentally run startup.sh or shutdown.sh. |
Follow the section of Portable Tomcat 6.x & Instances described in the table below. Also make sure to adjust the file paths as shown,
...
Code Block |
---|
User-agent: * Disallow: /wiki/ |
Enable
...
User Activity Logging
This is optional, but in an environment with sensitive data you may want to see what users are doing what,
...
Info |
---|
The UTF-8 is important as Confluence is developed to post using UTF-8. Without this setting errors occur when working with attachments containing special characters. Further details are covered in the Bonsai Tomcat Connector article. |
Select and Enable Context Path
...
Once port 8009 is enabled, mod_jk can be enabled by following the Apache Tomcat Connector instructions.
Change Base URL in Confluence
...
- /opt/confluence/bin/setenv.sh
- /opt/confluence/conf/server.xml
- /opt/confluence/confluence/WEB-INF/classes/confluence-init.properties
- /opt/confluence/bin/shutdown.sh
- /opt/confluence/bin/startup.sh
- /opt/confluence/bin/user.sh (new to Confluence 4.x)access logs...
If you had enabled logging of user activity,
- /opt/confluence/confluence/WEB-INF/classes/log4j.properties
- opt/confluence/confluence/WEB-INF/web.xml
- /confluence/WEB-INF/classes/log4j.properties
If you use Araxis Merge and Expand Drive, I have developed a comparison script to quickly load all required files.
Panel | ||
---|---|---|
| ||
Note that for Solaris the file /opt/confluence/bin/start-confluence.sh, the call to the 'id' binary needs to be updated to point to '/usr/xpg4/bin/id' |
...
Ensure any customization done are carried over.
Enable Logging
... done up above list files...
...