Domain Manage

.htaccess mod_rewrite assistance needed

Discussion in 'Services Wanted' started by ribble-valley, Jul 18, 2009.

Thread Status:
Not open for further replies.
  1. ribble-valley United Kingdom

    ribble-valley (12) Active Member Trusted Trader

    Joined:
    Feb 2009
    Posts:
    432
    Likes Received:
    4
    Hi all,

    I've got no problem with my coding, works perfectly fine on shared 1and1 hosting, but will it redirect properly with my 1and1 VPS, no. :( This is the case for a number of sites too which were all fine on shared hosting.

    .htaccess line in question;
    RewriteRule ^~(.*)/(.*).html$ a2pLink.php?postID=$2

    Other rewrite rules are fine and I'm positive this is a config issue with the server as I've completely re-imaged too. Running Centos 5 64-bit and I'm also using Plesk 9.

    URL;
    http://mydomainname/~vintage-smoking-jacket-dressing-gown-silky-paisley-m/2572.html

    Should redirect to a2pLink.php which in turn sends it off to eBay.

    If there's an apache / php / 1and1 !! expert out there will to give a few minutes help in exchange for some beer vouchers please send me a PM.

    Much obliged.
     
  2. Domain Forum

    Acorn Domains Elite Member

    Joined:
    1999
    Messages:
    Many
    Likes Received:
    Lots
     
  3. dotukdomains

    dotukdomains (0) Active Member New Trader

    Joined:
    Jun 2008
    Posts:
    136
    Likes Received:
    1
    ribble,

    drop me an email with your problem and also attach the htaccess file

    i'll take a peek .. got 30 mins spare at mo

    chrisyatesonline AT gmail DOT com
     
  4. ribble-valley United Kingdom

    ribble-valley (12) Active Member Trusted Trader

    Joined:
    Feb 2009
    Posts:
    432
    Likes Received:
    4
    Admin, thread can be deleted/closed. Is now resolved.
     
Thread Status:
Not open for further replies.

Share This Page