Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Exchancing characters in .htacess

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
.htacess hotlink allow? - Is there a way to allow one picture to get

htacess and user not found ! - hi ! ..htacces doesn't work ! I give the name and password, but i don't have access to the /webtest directory In i can see : [error] user yannick not found : /webtest In I've added :

.htacess - how to preserve %2B in query - Hi, I'm quite a newbie and I've got a problem with my .htacess It's simply like on Options [L] And it work's fine - as long as there is no (= in the query string. If..

htacess and view files /folders - Hi, Sorry if my question is but i need to make a htacess file to allow view of files and folders can you help me ? Regards -- Je compatis à votre douleur et à votre désarroi face à quasi fraternel que vous ressentez pour un..

how to redirect to a given page when .htacess authentifica.. - Hi, how to redirect to a given page when .htacess fails ? Here is my .htacess : 401 AuthName AuthType Basic <limit GET POST> require..
Next:  User Access to MS SQL Reporting Services  
Author Message
Frank Ehrlacher

External


Since: Oct 04, 2005
Posts: 5



(Msg. 1) Posted: Tue Oct 16, 2007 12:08 am
Post subject: Exchancing characters in .htacess
Archived from groups: alt>apache>configuration (more info?)

Hi,
just another problem - I wanna exchange 1 oder more single characters using
htaccess

example:
site_1.htm =>seite-1.htm
the same thing I do in PHP using str_replace ("_", "-", "site_1.htm")

But I have to do it in .htaccess - is there any chance?

I thought about:
redirect seeother (.+)_(.+)_(.+).htm $1-$2-$3.htm

- but I don't know how often the "-"-type appears in every URL.

Any ideas, suggestions, solutions...?

Thanks!

Frank

 >> Stay informed about: Exchancing characters in .htacess 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]