Re: Wildcard subdmoains
Aray wrote:
>> Offcourse it does, however, it was not my problem :-).
>>
>> The point was to even arive at 'specific_subdomain.example.com' from
>> 'random_subdomain.example.com'
>
> Maybe, you can use module_rewrite to use files in "specific directory"
> to response the request wich has header
Nonono. For the files in the specific directory to work, first we have to
arrive THERE. That's the problem. Everything beyond that is a piece of cake
:-).
To illustrate, say I have in the document root of specific_sub.example.com
this file:
----index.html-----
<html>
<head>
<title>Wildcards</title>
</head>
<body>
<p>This is specific_sub.example.com, but you may have reached it
under another name</p>
</body>
</html>
--------------------
Now what I want is that EVERY not specifically configured subdomain arrives
here, and will show the same file. How I will distinguish how they got
there is of no importance. This has to work, everything further is peanuts.
--
Rik Wasmus
|