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.
Hosting Discounts
All Hosts
- 1&1
- A Small Orange
- Aplus
- Bluehost
- BurstNET
- CalPOP
- CariNet
- CheapVPS
- DailyRazor
- Dreamhost
- DynDNS
- Eapps
- EasyCGI
- Eleven2
- Elief
- Engine Yard
- Exmasters
- Fastservers
- Fat Cow
- Fluid
- Fused Network
- Future Hosting
- Geek Storage
- Globat
- GoDaddy
- GoGrid
- Good Avocado
- HiVelocity
- HostDime
- Hostgator
- HostICan
- Hostmonster
- HostV
- HostWay
- ICDSoft
- InMotion
- iWeb
- IX
- Joyent
- JustHost
- KnownHost
- Laughing Squid
- Layered Tech
- Limestone Networks
- LiquidWeb
- Litespeed
- LunarPages
- Media Temple
- Micfo
- MidPhase
- Mosso
- Myriad Network
- NetDepot
- Netfirms
- Peer1
- ProVPS
- Rackspace
- Razorservers
- ResellerZoom
- Right Scale
- SeeksAdmin
- Servage
- ServerBeach
- ServerPronto
- ServINT
- SilverRack
- Singlehop
- SiteGround
- Slhost
- Slicehost
- Softlayer
- SolarVPS
- Steadfast Networks
- TekTonic
- The Planet
- TheNYNoc
- Thinkhost
- Ultra Hosting
- Ultra Website Hosting
- Umbra Hosting
- URLJet
- Velcom
- VolumeDrive
- Voxtreme
- VPSLand
- WebHostingPad
- WiredTree
- WireNine
- XLHost
- Yahoo
- Yourserving

