On Mon, Sep 10, 2007 at 10:59:42AM +0200, [EMAIL PROTECTED] wrote:
> Hello there,

Hi,

> I need to allow access to a few Web pages stored in the "testfiles" 
> subdirectory using the URL "http://test/mysite.com";.

I guess you mean http://test.mysite.com ? Be aware that the host name
must be resolvable via DNS, so you need at a minimum a CNAME record
for test.mysite.com pointing to mysite.com

> Actually only the main "http://mysite.com"; URL is configured and used.
> 
> Please what are the recommended settings for the configuration file to 
> use the URL with the "test" subdomain too and to access the "testfiles" 
> subdirectory automatically in this case ?

Use the virtual hosts feature of Mathopd:

 Virtual {
     NoHost
     Host mysite.com
     ..
 }
 Virtual {
     Host test.mysite.com
     ...
 }   

HTH
Juergen


-- 
Juergen Daubert  |  mailto:[EMAIL PROTECTED]  
Korb, Germany    |  http://jue.li/crux

  • Subdomains contact
    • Re: Subdomains Juergen Daubert

Reply via email to