htaccess ?

Discussion in 'HTML' started by Wipkip, Nov 7, 2003.

  1. Wipkip

    Wipkip Guest

    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
     
    Wipkip, Nov 7, 2003
    #1
    1. Advertising

  2. 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
     
    Toby A Inkster, Nov 8, 2003
    #2
    1. Advertising

  3. Wipkip

    Wipkip Guest

    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
     
    Wipkip, Nov 8, 2003
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Stoco

    .htaccess and perl cgi

    Stoco, Jan 12, 2004, in forum: Perl
    Replies:
    0
    Views:
    2,874
    Stoco
    Jan 12, 2004
  2. Steve

    servlet et .htaccess

    Steve, May 6, 2004, in forum: Java
    Replies:
    1
    Views:
    1,176
    Michael Scovetta
    May 6, 2004
  3. Replies:
    1
    Views:
    585
    Michael Wojcik
    May 28, 2005
  4. David Dorward
    Replies:
    2
    Views:
    1,709
    Art Sackett
    Jun 29, 2003
  5. John Bokma
    Replies:
    0
    Views:
    883
    John Bokma
    Jun 28, 2003
Loading...

Share This Page