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 bbp on 2009-06-04 09:06:22:

Post Reply? Hi everyone, I’m searching now for few days and I’m new to URL rewriting. I would like to write a rule which hide a folder and the file extension. Per example, we have mydomain.com/f1/f2/document.html, I would like to show mydomain.com/f1/document I wrote a rule which works on my local web server under a xampp environment. But it doesn’t work on “My Crazy Domain Insane” plan. I wrote it : ——————————————————- Options -Indexes +FollowSymLinks RewriteEngine on RewriteCond %{REQUEST_URI} !/content/ RewriteRule ^(.*)/([^/]+)$ - [E=CONTENT_URL:/$1/content/$2.html] RewriteCond {ENV:CONTENT_URL} -f RewriteRule .* %{ENV:CONTENT_URL} [L] ——————————————————- Does anyone have an idea? Kind regards, bbp.

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

Related Web Host Reviews


Close
E-mail It