Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > htaccess ?

Reply
Thread Tools

htaccess ?

 
 
Wipkip
Guest
Posts: n/a
 
      11-07-2003
Hi all,
In a subdomain .htaccess file if I put
RedirectMatch (.*) http://wipkip.us/polls$1
Will requests for any file that was in that subdomain be redirected or do I need to
put in a redirect for each file that was there?
Also what do I need to add to make it permanent.
--
Duende
http://wipkip.us
http://wipkip.biz


 
Reply With Quote
 
 
 
 
Toby A Inkster
Guest
Posts: n/a
 
      11-08-2003
Wipkip wrote:

> In a subdomain .htaccess file if I put
> RedirectMatch (.*) http://wipkip.us/polls$1
> Will requests for any file that was in that subdomain be redirected or do I need to
> put in a redirect for each file that was there?


That looks fine as it is.

> Also what do I need to add to make it permanent.


RedirectMatch permanent (.*) http://wipkip.us/polls$1

For further help, Google: apache mod_alias manual.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?page=132

 
Reply With Quote
 
 
 
 
Wipkip
Guest
Posts: n/a
 
      11-08-2003
Toby A Inkster wrote:
> Wipkip wrote:
>
>> In a subdomain .htaccess file if I put
>> RedirectMatch (.*) http://wipkip.us/polls$1
>> Will requests for any file that was in that subdomain be redirected
>> or do I need to put in a redirect for each file that was there?

>
> That looks fine as it is.
>
>> Also what do I need to add to make it permanent.

>
> RedirectMatch permanent (.*) http://wipkip.us/polls$1
>
> For further help, Google: apache mod_alias manual.


Thanks Toby


 
Reply With Quote
 
 
 
Reply

Thread Tools

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+MySQL+htaccess - nxt steps after authentication 11D.Universe@gmail.com Java 1 05-28-2005 08:36 PM
servlet et .htaccess Steve Java 1 05-06-2004 06:54 PM
.htaccess and perl cgi Stoco Perl 0 01-12-2004 08:13 PM
Re: .htaccess - batch rewrite/ redirect? David Dorward HTML 2 06-29-2003 03:19 PM
Re: .htaccess - batch rewrite/ redirect? John Bokma HTML 0 06-28-2003 03:14 PM



Advertisments
 



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 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57