Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. 🚫 No AI-generated (LLM) posts allowed. Share your own thoughts and experience — accounts may be terminated for violations.

Wanted: Domain mod-rewrite redirects help urgent

Status
Not open for further replies.

abuzant3d

Level 4
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.
 

MrDude

Level 8
Legacy Platinum Member
Joined
Jun 10, 2005
Messages
1,219
Reaction score
1
Well for redirecting all subdomains you would need a wildcard setup
 

abuzant3d

Level 4
Legacy Gold Member
Joined
Feb 28, 2005
Messages
128
Reaction score
0
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.

Who has viewed this thread (Total: 1) View details

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Members Online

Premium Members

Upcoming events

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators

Top Bottom