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

simple mod_rewrite question

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Unicode (UFT-8) in meta tag - Apache serves as i..  
Author Message
scotttaylor

External


Since: Jan 19, 2004
Posts: 1



(Msg. 1) Posted: Mon Jan 19, 2004 3:50 pm
Post subject: simple mod_rewrite question
Archived from groups: alt>apache>configuration (more info?)

What is the easiest way to rewrite:
http://username:password@domain.com/protected/archive/(.*)

to: http://miningstocks.com/protected/archive/$1

(i.e. http://username:password@domain.com/protected/archive/test.php
to http://miningstocks.com/protected/archive/test.php)


Best Regards,

Scott Taylor

 >> Stay informed about: simple mod_rewrite question 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Simple(?) apache question - I simply can't get hyperlinks to files outside <ServerRoot> to work! When I click a link in the browser, my media player opens, displays "connecting..." and just sits there. So go on...... tell me where my obvious error is. Please! Her...

Simple(?) rewrite question (ServerAlias) - Hi. I have several entries in my httpd.conf on my ServerAlias (in VirtualHost): ServerAlias www.domain.abc www2.domain.abc www.mydomain.abc etc.. I want to rewrite the URL so that it always displays www.domain.abc even though the user writes..

mod_rewrite simple - i have RewriteCond %{HTTP_REFERER} !^http://(.*)(.*)(.*)mitdomain\.dk/.*$ [NC] How can i make so www.sub.domain.tld will be rewritten to sub.domain.tld (www removed) Anyone? -- Best Regards Michael

fast and simple config? - I'm fairly new to Apache and am trying to set up a server for a website. I already have it set up to serve a test index.html page from htdocs to my website with the default windows install but want to optimise the config. All I want Apache to serve is my...

Simple URLs in Apache2 not working - I've tried several different approaches that are supposed to work. I tried adding Option FollowSymLinks into the <Directory> config for the server's root directory. I tried adding a <Files> tag to force the type to php which doesn't want t...
   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 ]