Dmitry Dulepov wrote: > Hi! > > Mark Kuiphuis wrote: >> I tried to add the following line to my .htaccess: (follow-up on the >> redirects in RealURL) >> >> Redirect 301 /public/?act=latestnews /latest-news/ >> >> Unfortunately this doesn't work and it still shows me the 404 page. > > I usually use a RewriteRule. For example: > > RewriteRule ^public/?act=latestnews$ /latest-news/ [R=301,L] >
Hi Dmitry, Unfortunately I cannot get it to work. I enabled rewrite logging on the server and as far as I can see I think it happens somewhere here. 192.168.1.1 - - [24/Mar/2009:23:48:43 +1000] [www.domain.com/sid#8d48e8][rid#94e450/initial] (3) [perdir /Library/Webserver/freshthinkin/httpdocs/] applying pattern '^public/?act=latestnews$' to uri 'public/' 192.168.1.1 - - [24/Mar/2009:23:48:43 +1000] [www.domain.com/sid#8d48e8][rid#94e450/initial] (3) [perdir /Library/Webserver/site/httpdocs/] add path info postfix: /Library/Webserver/site/httpdocs/public -> /Library/Webserver/site/httpdocs/public/ 192.168.1.1 - - [24/Mar/2009:23:48:43 +1000] [www.domain.com/sid#8d48e8][rid#94e450/initial] (3) [perdir /Library/Webserver/site/httpdocs/] strip per-dir prefix: /Library/Webserver/site/httpdocs/public/ -> public/ 192.168.1.1 - - [24/Mar/2009:23:48:43 +1000] [www.domain.com/sid#8d48e8][rid#94e450/initial] (3) [perdir /Library/Webserver/site/httpdocs/] applying pattern '.*' to uri 'public/' 192.168.1.1 - - [24/Mar/2009:23:48:43 +1000] [www.domain.com/sid#8d48e8][rid#94e450/initial] (4) [perdir /Library/Webserver/site/httpdocs/] RewriteCond: input='/Library/Webserver/site/httpdocs/public' pattern='!-f' => matched 192.168.1.1 - - [24/Mar/2009:23:48:43 +1000] [www.domain.com/sid#8d48e8][rid#94e450/initial] (4) [perdir /Library/Webserver/site/httpdocs/] RewriteCond: input='/Library/Webserver/site/httpdocs/public' pattern='!-d' => matched 192.168.1.1 - - [24/Mar/2009:23:48:43 +1000] [www.domain.com/sid#8d48e8][rid#94e450/initial] (4) [perdir /Library/Webserver/site/httpdocs/] RewriteCond: input='/Library/Webserver/site/httpdocs/public' pattern='!-l' => matched 192.168.1.1 - - [24/Mar/2009:23:48:43 +1000] [www.domain.com/sid#8d48e8][rid#94e450/initial] (2) [perdir /Library/Webserver/site/httpdocs/] rewrite 'public/' -> 'index.php' Kind regards, Mark Kuiphuis PS. Nothing seen from Paypal yet. Can take up from 3-5 days. :( _______________________________________________ TYPO3-english mailing list TYPO3-english@lists.netfielders.de http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english