httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim N. Lyalikov" <vadim-lyali...@yandex.ru>
Subject [users@httpd] escaped input mod_rewrite
Date Tue, 02 Nov 2004 20:25:22 GMT
Hi, Joshua :c) et all.

 >>1) generate random string (each symbol can have *any* value - from 0 
to 255)
 >>...
 >>3) create valid (rfc) http url, like
 >>http://host.com/path/word/my_escaped_random_string/index.html (my_url)
 >>...
 >>6)redirect to url like:
 >>    http://host.com/path/word.php?word_id=my_escaped_random_string
 >>
 >I don't understand the point of this whole thing, but you really can't
 >expect it to work.
 >Joshua.

The point of this whole thing is Search_Engine_Friendly URLs.
You may read http://www.sitepoint.com/article/search-engine-friendly-urls
In nutshell: to provide good indexing by spiders
    we move each val=var pair *from* query string to path. And if 
possible, replace val (often - a number) with it human readable 
corresponding value (often - name) , e.g. from database.
As i understood, this is impossible in coommon case: with arbitrary strings.
Thanks for patience.
Vadim.


---------------------------------------------------------------------
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