This is a discussion on Replace %20 [spaces] with underscore [_] within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi everybody, For the past 3 days i've been looking for an apache tutorial where i could learn how ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi everybody,
For the past 3 days i've been looking for an apache tutorial where i could learn how to change the blank spaces [%20] from a url and change it for an underscore [ _ ] just like in wikipedia, and unfortunately i've found nothing, maybe i'm trying with a tool [mod_rewrite] that i shouldn't even consider for this. Let me explain you with an example. If you type in your browser: http://en.wikipedia.org/Apache HTTP Server the URL will be rewritten to http://en.wikipedia.org/Apache_HTTP_Server So far, what my server [Apache 2.0.52] will do is: http://en.wikipedia.org/Apache%20HTTP%20Server I'm not asking to solve my problem, just some pointers :) Thank you all EOZyo |
|
|||
|
EOZyo schrieb am 23.08.2006 03:37:
> Hi everybody, > > For the past 3 days i've been looking for an apache tutorial where i > could learn how to change the blank spaces [%20] from a url and change > it for an underscore [ _ ] just like in wikipedia, and unfortunately > i've found nothing, maybe i'm trying with a tool [mod_rewrite] that i > shouldn't even consider for this. > > Let me explain you with an example. > > If you type in your browser: > > http://en.wikipedia.org/Apache HTTP Server the URL will be rewritten to > http://en.wikipedia.org/Apache_HTTP_Server > > So far, what my server [Apache 2.0.52] will do is: > > http://en.wikipedia.org/Apache%20HTTP%20Server > > I'm not asking to solve my problem, just some pointers :) > > Thank you all > EOZyo > An URL hast to be encoded. This encoding follows rules. It cannot be changed. When you use blanks in your file names, you have to accept %20 in the URL. Except when you use a software, that translates those filenames internally, as nearly every wiki software does. Regards, Werner |
|
|||
|
So is it a external software? no rewrite rules U_U? Thank you Werner,
that makes sense since for 3 days i didn't find a single tutorial related to this subject. Thanks man for avoiding me to lose more time :) Regards, EOZyo >Werner Flamme wrote: > > An URL hast to be encoded. This encoding follows rules. It cannot be > changed. When you use blanks in your file names, you have to accept %20 in > the URL. Except when you use a software, that translates those filenames > internally, as nearly every wiki software does. > > Regards, > Werner |