PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > alt.apache.configuration > please about mod_rewrite
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
alt.apache.configuration Apache web server configuration issues.

please about mod_rewrite

Réponse
 
LinkBack Outils de la discussion
Vieux 22/01/2008, 13h36   #1
Michele Di Benedetto
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut please 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 me?

file .htacces contents >>>

RewriteEngine On
Options +FollowSymlinks
RewriteBase /

RewriteRule ^uk/(.*)$ en/$1
  Réponse avec citation
Vieux 22/01/2008, 14h37   #2
HansH
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: please about mod_rewrite


"Michele Di Benedetto" <mikydibe@gmail.com> schreef in bericht
news:f5542ae7-3953-4bdb-b05a-703ba63a67c3@m34g2000hsb.googlegroups.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 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


  Réponse avec citation
Vieux 22/01/2008, 15h38   #3
Michele Di Benedetto
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: please about mod_rewrite

On 22 Gen, 15:37, "HansH" <ha...@invalid.invalid> wrote:
> "Michele Di Benedetto" <mikyd...@gmail.com> 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 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!
  Réponse avec citation
Vieux 22/01/2008, 17h31   #4
Kees Nuyt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: please about mod_rewrite

On Tue, 22 Jan 2008 07:38:12 -0800 (PST), Michele Di
Benedetto <mikydibe@gmail.com> wrote:

>On 22 Gen, 15:37, "HansH" <ha...@invalid.invalid> wrote:
>> "Michele Di Benedetto" <mikyd...@gmail.com> 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 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)
  Réponse avec citation
Vieux 22/01/2008, 20h46   #5
HansH
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: please about mod_rewrite

"Kees Nuyt" <k.nuyt@nospam.demon.nl> schreef in bericht
news:9v9cp39vt7jo9ps84pt52kv3slschtnpk2@dim53.demo n.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...ml#rewriterule

or don't point at all.

HansH


  Réponse avec citation
Vieux 22/01/2008, 22h55   #6
Kees Nuyt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: please about mod_rewrite

On Tue, 22 Jan 2008 21:46:35 +0100, "HansH"
<hansh@invalid.invalid> wrote:

>"Kees Nuyt" <k.nuyt@nospam.demon.nl> schreef in bericht
>news:9v9cp39vt7jo9ps84pt52kv3slschtnpk2@dim53.dem on.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...ml#rewriterule
>
>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)
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 11h59.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,40442 seconds with 14 queries