LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-16-2005, 05:23 PM   #1
soulsniper
Member
 
Registered: Apr 2003
Distribution: Server= Fedora Core 2, Desktop= Ubuntu Hoary Preview
Posts: 41

Rep: Reputation: 15
Apache Mod_rewrite help!


I have an Apache 2 server running perfectly on Fedora Core 2, with mod_rewrite working too (and I know it works cos my blog uses it)

I am hosting some maps for a counter-strike server on a free webhost on the internet, because it's faster than my server. I want to be able to use this server as a download location for maps on my game server. However, the webhost don't allow the filetype of the maps

What I want to do is use a mod_rewrite rule on my server to do the following:

I request file:
http://mysite/cstrike/maps/de_train.bsp

I want that to actually down the file as:
http://externalsite/cstrike/maps/de_train.bsp.txt

BUT: I need the file to come as a BSP file, not a TXT file.

It's a strange situation I know, and I'm not sure if i can do it with mod_rewrite but I think it's possible, I just don't know how!

Please if anyone has ANY ideas just say!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache mod_rewrite problems compu73rg33k Linux - Software 0 11-27-2005 09:42 AM
Apache: no mod_rewrite module? psychobyte Linux - Networking 1 05-07-2005 12:43 AM
Apache:mod_rewrite MadMikie Linux - Software 0 08-03-2004 07:33 AM
Apache (mod_rewrite) question Wonko the Sane Linux - Software 1 06-15-2003 12:55 PM
Apache and mod_rewrite notsoevil Linux - General 0 01-23-2002 01:39 PM


All times are GMT -5. The time now is 11:07 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration