Apache Server configuration support - Catch-all

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > December 2005 > Catch-all





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Catch-all
news.tpi.pl

2005-12-29, 7:52 am

hi
is it possible to setup apache so it would give the same site on selected
subdomain not depending on the document given in url (so it wouldnt send
404 - not found but 200 - ok) ?
thanx!

Davide Bianchi

2005-12-29, 7:52 am

On 2005-12-29, news.tpi.pl <get@lost.it> wrote:
> is it possible to setup apache so it would give the same site on selected
> subdomain not depending on the document given in url (so it wouldnt send
> 404 - not found but 200 - ok) ?


You could use a Rewrite rule to throw away the request and use a default
document or a RedirectMatch to do mostly the same but return a 300 (redirect).

Davide

--
Q: How many Pentium designers does it take to screw in a light bulb?
A: 1.99904274017, but that's close enough for non-technical people.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com