hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : htaccess guru help needed...
Reply

Forum Jump

htaccess guru help needed...

Reply Post New Thread In Programming Discussion Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 04-08-2012, 02:33 AM
WebTrooper WebTrooper is offline
Junior Guru Wannabe
 
Join Date: Mar 2004
Posts: 41
Question

htaccess guru help needed...


Greetings all,

I'd like to use my .htaccess file to hide the direct link to downloads from dropbox.com. Basically, I'd like

http://dl.dropbox.com/u/93647457/DCT...12040702WP.zip

to appear as

http://mywebsite/download-DCT12040702WP.zip

Or anything similar. Is this possible? and if so, how would I do it?

Thanks

__________________
~ WebTrooper ~

If at firsn... If at first you don'k... If at first you don't succdee... Ahh, screw it!



Sponsored Links
  #2  
Old 04-08-2012, 02:58 AM
WebTrooper WebTrooper is offline
Junior Guru Wannabe
 
Join Date: Mar 2004
Posts: 41
Sorry, I guess I should have mentioned... I'm running linux with mod-rewrite.

__________________
~ WebTrooper ~

If at firsn... If at first you don'k... If at first you don't succdee... Ahh, screw it!

  #3  
Old 04-08-2012, 03:42 AM
WebTrooper WebTrooper is offline
Junior Guru Wannabe
 
Join Date: Mar 2004
Posts: 41
Oops, please disregard.. it was easier than I thought.

RewriteRule ^(download/.*) http://dl.dropbox.com/u/93647457/DCTfiles/$1 [L]

did the trick.

Thanks for all your help!

__________________
~ WebTrooper ~

If at firsn... If at first you don'k... If at first you don't succdee... Ahh, screw it!

Sponsored Links
  #4  
Old 04-08-2012, 03:58 AM
RDSNetworking RDSNetworking is offline
WHT Addict
 
Join Date: Jul 2008
Location: Manitoba, Canada
Posts: 122
You could also try something like this.

Code:
Options +FollowSymlinks
RewriteEngine On
RewriteRule ^grab http://dl.dropbox.com/u/93647457/download-DCT12040702WP.zip

__________________
Scott M. | RDS//Hosting
Business Web Hosting Solutions Since 2004
Personal, Semi-Dedicated Business, DirectAdmin Reseller Accounts
http://www.rdshosting.net | PH. 1.877.442.7674

  #5  
Old 04-09-2012, 04:53 AM
WebTrooper WebTrooper is offline
Junior Guru Wannabe
 
Join Date: Mar 2004
Posts: 41
Thanks RD..
I copied yours down for reference. Mine does what's needed but I like to keep notes on these things. Take a look at http://DirtCheapTemplates.com. Nobody would ever know I'm using DropBox.com

__________________
~ WebTrooper ~

If at firsn... If at first you don'k... If at first you don't succdee... Ahh, screw it!

  #6  
Old 04-09-2012, 05:53 AM
Loon Loon is offline
Community Liaison 2.0
 
Join Date: Apr 2003
Location: London, UK
Posts: 3,549
Quote:
Originally Posted by WebTrooper View Post
Nobody would ever know I'm using DropBox.com
Nope, wouldn't have a clue
Attached Thumbnails
zip.PNG  

  #7  
Old 04-09-2012, 10:47 AM
WebTrooper WebTrooper is offline
Junior Guru Wannabe
 
Join Date: Mar 2004
Posts: 41
Quote:
Originally Posted by Loon View Post
Nope, wouldn't have a clue
LOL... okay, so most nubes would never have a clue

But anyway, I'm not hiding it so much as limiting direct access.

__________________
~ WebTrooper ~

If at firsn... If at first you don'k... If at first you don't succdee... Ahh, screw it!

Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
.htaccess guru needed :) DanServ Hosting Security and Technology 12 10-08-2008 08:25 PM
Quick Help needed: DNS GURU, BIND, WHM, CENTOS, NETWORKING Expert needed $15.85 CAN StealthCentral Employment / Job Offers 4 08-05-2008 09:17 PM
htaccess help... guru needed :D mod_rewrite problem :) sandrodz Programming Discussion 11 07-20-2006 11:10 AM
MySql and Php Guru needed! A Photoshop Guru needed too!@ MrWatchDawg Web Hosting Lounge 5 03-31-2003 07:10 PM

Related posts from TheWhir.com
Title Type Date Posted
Stanford Researchers Increase Cost Effectiveness of Cloud and Contribute to Cleantech Web Hosting News 2014-05-01 08:31:18
Donuts Inc. Opens Sunrise Period for Seven New Generic Top-Level Domains Web Hosting News 2013-11-26 17:46:12
Photos from ResellerClub Hosting Summit 2013 Blog 2013-10-22 04:01:51
WHIR Events Scottsdale was slammin’ Blog 2013-04-19 15:30:00
WHIR Event Phoenix will be at Mint Blog 2013-04-12 15:22:05


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?