Help about mod_rewrite........
am 22.01.2008 14:45:02 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 about mod_rewrite........
am 22.01.2008 14:50:29 von Jerry Stuckle
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@attglobal.net
==================
Re: Help about mod_rewrite........
am 22.01.2008 14:52:32 von luiheidsgoeroe
On Tue, 22 Jan 2008 14:45:02 +0100, 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
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........
am 22.01.2008 15:01:03 von Michele Di Benedetto
On 22 Gen, 14:52, "Rik Wasmus" wrote:
> On Tue, 22 Jan 2008 14:45:02 +0100, Michele Di Benedetto
>
> 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!