Well I use plesk and ZF. I have many subdomains running from a single ZF app.

Now I cant have wilcard domains which means I will need a subfolder
for each domain - this will become unwieldly, so I have a single
"sub-domain" root dir and I just
use this for each new subdomain I create. All the dir has init is an
index.php file the calls the ZF app,
so I only have one dir for all subdomains. Hope this makes sense.

Obvioulsy If I could have wild-card domains I would, maybe future
versions of Plesk will?



2009/12/10 prado <[email protected]>:
>
> same root dir for all subdomains? could you clarify further?
> thanks
> Pradosh
>
> Daniel Latter wrote:
>>
>> Plesk doesnt support wildcard domains. A possible work around is using
>> the same root dir for all subdomains.
>>
>> Thanks
>> Daniel
>>
>>
>>
>>
>>
>> 2009/12/10 prado <[email protected]>:
>>>
>>> Thanks Gerard for your help again.
>>> I don't have a VPS account, it is just one of those standard shared
>>> hosting
>>> service. I am using a local company and I can get in touch with the
>>> domain
>>> manager who is helpful.
>>>
>>> I know that is my last option to use.
>>>
>>> thanks anyway!
>>>
>>> cheers
>>> Pradosh
>>>
>>>
>>> drm-4 wrote:
>>>>
>>>> Hi,
>>>>
>>>> prado wrote:
>>>>> But the web hosting company's production server (plesk) also creates
>>>>> the
>>>>> folders with all that standard public_html folder and others once I
>>>>> create a
>>>>> sub-domain. Now I don't want that to happen, I want the sub-domain to
>>>>> exist
>>>>> but without its physical folders. I will be asking the provider for the
>>>>> alternative.
>>>>> I am not sure if I can bypass the sub-domain folders (or some sort of
>>>>> sub-domain redirection to the domain folder) with some htaccess
>>>>> trickery.
>>>>> I
>>>>> am not great in regex so I don't know if it is possible to do this way
>>>>
>>>> The only thing that is needed is a ServerAlias in the <VirtualHost ...>
>>>> apache configuration for the main domain, preferably a wilcard alias. It
>>>> would surprise me if Plesk can not handle that. If not, I fear you are
>>>> stuck, unless you can somehow hook into the generated Apache
>>>> configuration by Plesk. (It has been about 3 years since I worked with
>>>> plesk on this level, so I can not help you with that, but if I remember
>>>> correctly, Plesk includes a host.conf files somewhere per domain where
>>>> you could put the ServerAlias directive yourself).
>>>>
>>>>
>>>> Gerard
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://n4.nabble.com/sharing-zend-framework-inside-the-main-domain-from-the-subdoamin-tp955998p956861.html
>>> Sent from the Zend Framework mailing list archive at Nabble.com.
>>>
>>
>>
>
> --
> View this message in context: 
> http://n4.nabble.com/sharing-zend-framework-inside-the-main-domain-from-the-subdoamin-tp955998p956873.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>

Reply via email to