httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From exp...@hope.cz
Subject Re: [users@httpd] mod_rewrite
Date Thu, 22 Nov 2007 19:32:40 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html  xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
<title></title>
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<meta http-equiv="Content-Style-Type" content="text/css"/>
</head>
<body>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt">Krist
,</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt">Thank
you for your reply.</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt">Yes,
that is what I meant .</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt">To
map&#160;</span></font><font face="Arial" color="#7f0000" size="2"><span
style="font-size:10pt"> /Image/My-Image.jpg/1234</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&#160;&#160;&#160;
to</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&#160;
/Media/1234.jpg</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt">But
I do not know how,when it is a part of HTML.</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt">Do
you have any idea?</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt">Thanks.</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt">Lad.</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt"><br
/>
</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt"><br
/>
</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
On Nov 22, 2007 4:56 PM,&#160; &lt;export@hope.cz&gt; wrote:</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
&gt; Hi,</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
&gt; I would like to</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
&gt; rewrite</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
&gt; &lt;img src=&quot;/Image/My-Image.jpg/1234&quot;&gt;</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
&gt;</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
&gt; into</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
&gt; &lt;img src=&quot;/Media/1234.jpg&quot;&gt;</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
&gt;</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
&gt; Is that possible to do so&#160; with mod_rewrite ?</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
Short Answer: No.</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
Long Answer: Mod rewrite is used to change incoming request URLs. You</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
can't use mod rewrite the change the content of the html files send to</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
the client. You can however use mod_rewrite so that when a request</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
comes for /Image/My-Image.jpg/1234 this is mapped /Media/1234.jpg</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
Krist</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
-- </span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
krist.vanbesien@gmail.com</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
krist@vanbesien.org</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
Bremgarten b. Bern, Switzerland</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
--</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
A: It reverses the normal flow of conversation.</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
Q: What's wrong with top-posting?</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
A: Top-posting.</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
Q: What's the biggest scourge on plain text email discussions?</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
---------------------------------------------------------------------</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
The official User-To-User support forum of the Apache HTTP Server Project.</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
See &lt;URL:http://httpd.apache.org/userslist.html&gt; for more info.</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;&#160;&#160;&#160;
&quot;&#160;&#160; from the digest: users-digest-unsubscribe@httpd.apache.org</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
For additional commands, e-mail: users-help@httpd.apache.org</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt">&gt;
</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style="font-size:10pt"><br
/>
</span></font></div>
<div align="left"></div>
</body>
</html>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message