- Joined
- Feb 23, 2009
- Posts
- 432
- Reaction score
- 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.
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.
.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.