help please about mod_rewrite
help please about mod_rewrite
am 22.01.2008 14:36:19 von Michele Di Benedetto
Hello...i needed suggestions about to redirect all user requesting
something like www.mysite.it/en/page.php to www.mysite.it/uk/page.php
using an .htacces file with the following code but it doesn't work!
Can anyone help me?
file .htacces contents >>>
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteRule ^uk/(.*)$ en/$1
Re: help please about mod_rewrite
am 22.01.2008 15:37:51 von HansH
"Michele Di Benedetto" schreef in bericht
news:f5542ae7-3953-4bdb-b05a-703ba63a67c3@m34g2000hsb.google groups.com...
> Hello...i needed suggestions about to redirect all user requesting
> something like www.mysite.it/en/page.php to www.mysite.it/uk/page.php
> using an .htacces file with the following code but it doesn't work!
> Can anyone help me?
>
> file .htacces contents >>>
>
> RewriteEngine On
> Options +FollowSymlinks
> RewriteBase /
>
> RewriteRule ^uk/(.*)$ en/$1
ENglish to UK is the ovtherway around ...
RewriteRule ^en/(.*)$ uk/$1
HansH
Re: help please about mod_rewrite
am 22.01.2008 16:38:12 von Michele Di Benedetto
On 22 Gen, 15:37, "HansH" wrote:
> "Michele Di Benedetto" schreef in berichtnews:f5542ae7-3953-4bdb-b05a-703ba63a67c3@m34g2000hsb .googlegroups.com...> Hello...i needed suggestions about to redirect all user requesting
> > something likewww.mysite.it/en/page.phptowww.mysite.it/uk/page.php
> > using an .htacces file with the following code but it doesn't work!
> > Can anyone help me?
>
> > file .htacces contents >>>
>
> > RewriteEngine On
> > Options +FollowSymlinks
> > RewriteBase /
>
> > RewriteRule ^uk/(.*)$ en/$1
>
> ENglish to UK is the ovtherway around ...
> RewriteRule ^en/(.*)$ uk/$1
>
> HansH
Thanks a lot my friend..............could you please post me a link
with a really complete tutorial about mod_rewrite or a file to
download ? If you can't thanks the same for your support! BYE!
Re: help please about mod_rewrite
am 22.01.2008 18:31:02 von Kees Nuyt
On Tue, 22 Jan 2008 07:38:12 -0800 (PST), Michele Di
Benedetto wrote:
>On 22 Gen, 15:37, "HansH" wrote:
>> "Michele Di Benedetto" schreef in berichtnews:f5542ae7-3953-4bdb-b05a-703ba63a67c3@m34g2000hsb .googlegroups.com...> Hello...i needed suggestions about to redirect all user requesting
>> > something likewww.mysite.it/en/page.phptowww.mysite.it/uk/page.php
>> > using an .htacces file with the following code but it doesn't work!
>> > Can anyone help me?
>>
>> > file .htacces contents >>>
>>
>> > RewriteEngine On
>> > Options +FollowSymlinks
>> > RewriteBase /
>>
>> > RewriteRule ^uk/(.*)$ en/$1
>>
>> ENglish to UK is the ovtherway around ...
>> RewriteRule ^en/(.*)$ uk/$1
>>
>> HansH
>
>Thanks a lot my friend..............could you please post me a link
>with a really complete tutorial about mod_rewrite or a file to
>download ? If you can't thanks the same for your support! BYE!
Google for:
apache rewrite tutorial
--
( Kees
)
c[_] May your life be filled with experiences. (#119)
Re: help please about mod_rewrite
am 22.01.2008 21:46:35 von HansH
"Kees Nuyt" schreef in bericht
news:9v9cp39vt7jo9ps84pt52kv3slschtnpk2@dim53.demon.nl...
>>..............could you please post me a link
>>with a really complete tutorial about mod_rewrite or a file to
>>download ? If you can't thanks the same for your support! BYE!
>
> Google for:
> apache rewrite tutorial
Either at least point to
http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewrit erule
or don't point at all.
HansH
Re: help please about mod_rewrite
am 22.01.2008 23:55:48 von Kees Nuyt
On Tue, 22 Jan 2008 21:46:35 +0100, "HansH"
wrote:
>"Kees Nuyt" schreef in bericht
>news:9v9cp39vt7jo9ps84pt52kv3slschtnpk2@dim53.demon.nl...
>>>..............could you please post me a link
>>>with a really complete tutorial about mod_rewrite or a file to
>>>download ? If you can't thanks the same for your support! BYE!
>>
>> Google for:
>> apache rewrite tutorial
>
>Either at least point to
>http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewri terule
>
>or don't point at all.
>
>HansH
That's a link on the Apache doc page the third hit points
to. OP is not a toddler.
--
( Kees
)
c[_] 'Tis an ill wind that blows no minds. (#62)