nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

mod_rewrite with convertion of space and / to _

This is a discussion on mod_rewrite with convertion of space and / to _ within the Web servers forums, part of the Mastering Servers category; hello all i have a problem. i want to redirect page names that like this "east africa" the words conatining ...


Go Back   nixCraft Linux Forum > Mastering Servers > Web servers

Linux answers from nixCraft.


Web servers Discussion on Apache, Nginx and Lighttpd HTTP/web server and configuration issues.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 13-03-2007, 11:51 AM
kasimani's Avatar
Senior Member
User
 
Join Date: Jul 2006
Location: India, Delhi
OS: CentOS, RedHat, Fedora, Ubuntu
Posts: 151
Thanks: 3
Thanked 1 Time in 1 Post
Rep Power: 4
kasimani is on a distinguished road
Send a message via Yahoo to kasimani
Default mod_rewrite with convertion of space and / to _

hello all

i have a problem. i want to redirect page names that like this "east africa"
the words conatining spaces and and digits are like "1999/2000".


now what i want to do is to redirect all them with names like "east_africa" and digits are as "1999_2000".

my moto is to convert spaces and / "slashes" or anything to unserscores "_".



can any body help me for this.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Apache Redirect / to index.php using mod_rewrite .htaccess kasimani Web servers 3 30-01-2010 12:37 AM
mod_rewrite with convertion of space and / to _ kasimani Networking, Firewalls and Security 0 13-03-2007 11:52 AM
Replaceing [] and white space with sed TiredOrangeCat Shell scripting 2 12-02-2007 10:58 PM
confused with mod_rewrite kasimani Coding in General 0 20-01-2007 01:46 PM
mod_rewrite in apache: rewritecond kasimani Web servers 0 19-01-2007 11:19 AM


All times are GMT +5.5. The time now is 10:34 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38