IMPORTANT: You must have Apache version 2.0 or later and the PHP 5 module enabled in Mac OS X Server prior to running these steps.
Use the following steps to restore the default site information and write the Final Cut Server information:
- Open System Preferences and stop Final Cut Server.
- Open Server Admin and stop the web services.
- Open Terminal.
- Type the following command in the Terminal to reestablish the default web site (if this has been modified):
sudo cp /etc/apache2/sites/0000_any_80_.conf.default /etc/apache2/sites/0000_any_80_.conf
This will require an administrator account. - Type the following command in Terminal to add the Final Cut Server web components:
sudo /Library/Application\ Support/Final\ Cut\ Server/Final\ Cut\ Server.bundle/Contents/Resources/sbin/post-install.sh - Quit Terminal.
- Start the web services in Server Admin.
- Start Final Cut Server from System Preferences.
Note: Restoring the default site configuration may cause some interruption with existing websites.
Advanced Configuration
Final Cut Server modifies the mod_rewrite block of the default site file in order for users to connect to http://<webserver address>/finalcutserver. In order to modify a different site so that users can connect to that web address, your mod_rewrite block needs to contain at least the following information.
For Final Cut Server 1.5.1 or later:
<IfModule mod_rewrite.c>
RewriteCond %{REQUEST_METHOD} ^TRACE
RewriteEngine On
RewriteRule .* - [F]
RewriteRule ^/FinalCutServer$ /~fcsvr/Sites/webstart/index.php [NC,L]
RewriteRule ^/FinalCutServer/FinalCutServer_mac.jnlp$ /~fcsvr/Sites/webstart/macJnlp.php [NC,L]
RewriteRule ^/FinalCutServer/FinalCutServer_windows.jnlp$ /~fcsvr/Sites/webstart/windowsJnlp.php [NC,L]
RewriteRule ^/FinalCutServer/FinalCutServer_other.jnlp$ /~fcsvr/Sites/webstart/jnlp.php [NC,L]
</IfModule>
For Final Cut Server 1.0 - 1.5:
<IfModule mod_rewrite.c>
RewriteEngine On RewriteCond %{REQUEST_METHOD} ^TRACE
RewriteRule .* - [F]
RewriteRule ^/FinalCutServer$ /~fcsvr/Sites/webstart/index.php [NC,L]
RewriteRule ^/FinalCutServer.jnlp$ /~fcsvr/Sites/webstart/jnlp.php [NC,L]
</IfModule>