LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 04-10-2004, 08:45 PM   #1
Travis86
Member
 
Registered: Dec 2002
Location: The land of GMT -6
Distribution: OS X, PS2 Linux, Ubuntu, IRIX 6.5
Posts: 399

Rep: Reputation: 31
mod_rewrite script doesn't work.


I'm trying to crate a subdomain such that when I ask for "edit.travisdart.com/some/directory" it will go to "edit.travisdart.com/referred.php?var1=some/directory". I figure the only way to do this is with mod_rewrite. Unfortunately, none of my tries have been successful. Here's my .htaccess file:

Code:
RewriteEngine on
RewriteRule ^http://edit\.travisdart\.com(.*)$ http://edit.travisdart.com/refered.php?var1=$1 [T=application/x-httpd-php,L,R,NC]
Why doesn't this work?

Last edited by Travis86; 04-10-2004 at 08:46 PM.
 
  


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
Mod_rewrite question hct224 Linux - Newbie 5 02-23-2006 11:03 AM
Apache Mod_rewrite help! soulsniper Linux - Software 0 01-16-2005 05:23 PM
Apache:mod_rewrite MadMikie Linux - Software 0 08-03-2004 07:33 AM
mod_rewrite to allow only 127.0.0.1? jimieee Linux - Security 2 06-08-2004 04:17 AM
Enableing MOD_REWRITE prtynked General 0 04-01-2002 05:18 PM


All times are GMT -5. The time now is 08:05 AM.

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