• Welcome to DNForum.com™ - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars
    If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the oldest global domain name community on the internet and continues to grow every day. There are over 45,000 domainers on DNForum doing everything from buying domains, selling domains, using our free in-house built tools, learning about domains and discussing domains. Take a minute and Register.

Wanted: Domain mod-rewrite redirects help urgent

Status
Not open for further replies.

abuzant3d

New Member
Legacy Gold Member
Joined
Feb 28, 2005
Messages
128
Reaction score
0
Hello,

I am trying to do a simple task that i'v done a million times before, it is just not wiiling to work. Can iget some help, please?

Tasks:

- Redirect all subdomains of domain.com to domain.com/debug.php
Example: http://test.domain.com/ -=> http://domain.com/debug.php

- Redirect .JSP pages in the main domain java.php
Example: http://www.domain.com/test.jsp -=> http://www.domain.com/java.php

So, in words...
Redirect all JSP files on the main domain to one place..
Redirect everything else, including all hts to subdomains or hits to different pages to some place else.

Thanks in advance.
 
Well for redirecting all subdomains you would need a wildcard setup
 
Thanks for the tip, but as i mentioned, i did this a million times before, and the wildcard CNAME records are ready and working, the priblem is that all queries are read from the same INDEX,PHP instead of being divided as mentioned aboce.
 
Status
Not open for further replies.
Back
Top Bottom