[Typo3] Can't get RealURL to work

Sean Ellis sellis at telus.net
Sat Aug 6 17:03:15 CEST 2005


Peter Klausner wrote:

Yo

> 
>>are you sure that the rewrite module is activated?
> 
> 
> I think so. I've added this to my .htacces:
> 
> RewriteEngine On
> RewriteRule ^typo3$ - [L]
> RewriteRule ^typo3/.*$ - [L]
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteCond %{REQUEST_FILENAME} !-l
> RewriteRule .* index.php
> 
> And according to my ISP the rewrite module is enabled. Anyway, how
> could I check if it is really activated?

You might try adding directives to get some logging. It might look like 
gobbledy-gook, but you'll know if it's alive or not,

# adjust log level to suit
RewriteLogLevel 3
RewriteLog "/some/path/logfile.log"

or try a basic rewrite statement,

RewriteEngine on
RewriteRule ^subdir/foo\.html$ /index.html [L]

With this in the root of the domain a
request for 'http://www.theocgolftrail.com/subdir/foo.html' gets 
rewritten to 'http://www.theocgolftrail.com/index.html'

--
cheers,

Sean



More information about the TYPO3-english mailing list