[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-httpd-users
Subject: [users@httpd] APACHE mod_rewrite
From: Alberto_García_Gómez <alberto () ipimtzcm ! rimed ! cu>
Date: 2007-10-31 20:04:45
Message-ID: 001b01c81bf9$4886a750$091010ac () wwws
[Download RAW message or body]
How to compare cookie value to request URLI have this URL
http://www.myserver.com/dir1/dir2/page.html
and I wish to rewrite the url using mod_rewrite to add a ~ after the first
dir always, eg.:
http://www.myserver.com/~dir1/dir2/page.html
Please it's very important to make this ASAP
best regards
Este correo ha sido enviado desde el Politécnico de Informática "Carlos Marx" de Matanzas.
"La gran batalla se librará en el campo de las ideas"
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>How to compare cookie value to request URL</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16544" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>I have this URL<BR><BR><A
href="http://www.myserver.com/dir1/dir2/page.html">http://www.myserver.com/dir1/dir2/page.html</A><BR><BR>and \
I wish to rewrite the url using mod_rewrite to add a ~ after the first <BR>dir
always, eg.:<BR><BR><A
href="http://www.myserver.com/~dir1/dir2/page.html">http://www.myserver.com/~dir1/dir2/page.html</A><BR><BR>Please \
it's very important to make this ASAP<BR><BR>best regards
<BR></DIV><br>Este correo ha sido enviado desde el Politécnico de Informática "Carlos \
Marx" de Matanzas.<br> "La gran batalla se librará en el campo de las ideas"<br>
</body></HTML>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic