Web Hosting Reviews for Affiliate Marketers

Unlimited Shared hosting & Unlimited Disk Space from $5.95 - Dreamhost
Solid Managed VPS with 4 IP's from $60 - Liquid Web
Lightning Fast Dedicated Servers & 1GB RAM from $149 - Liquid Web
#1 Domain Registration with WHOIS Privacy - Just $9.95

This Dreamhost support thread was started by moniker on 2009-11-09 15:01:29:

Post Reply? Hi, I’m trying to redirect requests like http://my.domain/ as follows: http://my.domain/ -> http://my.domain/sputnik.cgi?p= http://my.domain/xx -> http://my.domain/sputnik.cgi?p=xx I have .htaccess properly setup, but the rewrite rules are doing some funny things that I can’t seem to match up with what the specification says. For example, it’s mapping: http://my.domain/ -> http://my.domain/sputnik.cgi?p=sputnik.cgi http://my.domain/xx -> http://my.domain/sputnik.cgi?p=sputnik.cgi Here’s my .htaccess: Options +FollowSymLinks RewriteEngine On RewriteBase / RewriteRule ^(.*)$ sputnik.cgi?$1 [L] From what I understand, ^(.*)$ will match the entire request and store it in $1. If so, then why does $1 always contain sptunik.cgi?

Join in on the original post at the Dreamhost Forum, Get a Dreamhost Plan or view our Review of Dreamhost.

Related Web Host Reviews


Close
E-mail It