[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-team] ~ sous Apache (encore)



> Par contre, tu pourrais plutôt faire:
> http://www.site.com/u/nom

J'oubliais: voici la rewrite-rule pour cette solution-ci
(sans virtual host, donc pas besoin d'ajouter au DNS ni activer les
virtuals hosts dans Apache):

RewriteEngine	on
RewriteBase		/u/
RewriteRule		^/u/(.*)/(.*)$ ~$1/$2

il suffit d'ajouter ça dans son httpd.conf

  -o)  Pascal Bleser        | UNIX *is* user friendly.
  /\\  C++/UNIX Development | It's just selective about
 _\_v  ATOS Payment Systems | who its friends are...
pbleser@atos-group.com---------------------------------
---------
This message was sent by Majordomo 1.94.3. Please repport problems to
manu@rtfm.be. If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.