is fully compatible with OutSite-In.
In order to take your TYPO3 web site on CD or simply offline, we recommend you to follow these steps:
Step 1: For RealURL users, modify the TypoScript template
RealURL requires the "base" HTML tag in your website pages. Since Typo3 version 3.8.1, and for security reasons, the value in this tag cannot be determined automaticaly. To keep RealURL working, you will need to add these lines in your main TypoScript template:
[globalString = ENV:HTTP_HOST= localhost:8080 ]
config.baseURL = http:// localhost:8080/
[global]
[globalString = ENV:HTTP_HOST= localhost:9080 ]
config.baseURL = http:// localhost:9080/
[global]
[globalString = ENV:HTTP_HOST= localhost:10080 ]
config.baseURL = http:// localhost:10080/
[global]
[globalString = ENV:HTTP_HOST= localhost:11080 ]
config.baseURL = http:// localhost:11080/
[global]
Port 8080 is used by default when the apache server is launched on the localhost by OutSite-In. Then ports 9080, 10080, 11080, are used, in this order, of any previous port was not available.
Step 2: Download your files from your FTP server
Nothing special. Normal procedure.
Step 3: Download your database
Nothing special. Normal procedure.
Step 4: "Linux" like installation, add Typo3 sources
The current version of OutSite-In does not follow symlinks through FTP. This prevents from downloading Typo3 sources when you make Linux like installs, with symlinks. To install the Typo3 sources, download Typo3 for windows (.zip), and then copy the directories "t3lib", "typo3" and the file "index.php".
Step 5: For RealURL users, create the .htaccess file
This step is exclusively for the sites that use RealURL for rewriting URL. In its current version, OutSite-In does not download the .htaccess file from your FTP server. So will need to recreate it. Usually, this file contains:
RewriteEngine On
RewriteRule ^typo3$ - [L]
RewriteRule ^typo3/.*$ - [L]
RewriteRule ^fileadmin$ - [L]
RewriteRule ^fileadmin/.*$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule (\.html|/)$ index.php
RewriteRule (\.xml|/)$ index.php
Step 6: For RealURL users, edit the apache configuration file
This last step is exclusively for the sites that use RealURL for rewriting URL. The default apache configuration does not activate the mod_rewrite module, which is required for rewriting URLs. Use the "Access advanced options..." button in the "Options" tabsheet to edit your apache configuration file. Then make the following changes:
- line 182:
#LoadModule rewrite_module modules/mod_rewrite.so
becomes
LoadModule rewrite_module modules/mod_rewrite.so - line 225:
#AddModule mod_rewrite.c
becomes
AddModule mod_rewrite.c - line 342:
AllowOverride None
becomes
AllowOverride All
Here it is. Your outersite is now ready !
Thanks a lot to David Worms from Adaltas for the original version of this article.