Help about mod_rewrite........
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 about mod_rewrite........
Michele Di Benedetto wrote:
> 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
>
This isn't a PHP question. Try an appropriate newsgroup such as
alt.apache.configuration.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex [at] attglobal.net
==================
Re: Help about mod_rewrite........
On Tue, 22 Jan 2008 14:45:02 +0100, Michele Di Benedetto
<mikydibe [at] gmail.com> wrote:
> 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
ask in alt.apache.configuration
... and the rule appears to be the reverse of what you claim to want.
--
Rik Wasmus
Re: Help about mod_rewrite........
On 22 Gen, 14:52, "Rik Wasmus" <luiheidsgoe... [at] hotmail.com> wrote:
> On Tue, 22 Jan 2008 14:45:02 +0100, Michele Di Benedetto
>
> <mikyd... [at] gmail.com> wrote:
> > 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
>
> ask in alt.apache.configuration
> .. and the rule appears to be the reverse of what you claim to want.
> --
> Rik Wasmus
ok......thanks a lot the same!