[TYPO3-english] cooluri is not working inside subfolder.
J. Bakshi
joydeep at infoservices.in
Fri Jan 22 04:07:04 CET 2010
Jan Bednarik wrote:
> Hi,
>
> I'm not sure that I get it.
>
> You want links like example.com/foo, while your TYPO3 installation is
> placed in a subfolder and the real path to index.php is
> example.com/TYPO3/index.php?
That's right. And the domain to subfolder pointing is done by .htaccess
which is located outside the subfolder.
` ` `
Options +FollowSymLinks
RewriteEngine on
# domain for typo3
RewriteCond %{HTTP_HOST} ^(www.)domain.in$
RewriteCond %{REQUEST_URI} !^/TYPO3/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ /TYPO3/$1
RewriteCond %{HTTP_HOST} ^(www.)domain.in$
RewriteRule ^(/)?$ TYPO3/index.php [L]
` ` `
--
জয়দীপ বক্সী
More information about the TYPO3-english
mailing list