another DocumentRoot for subdomain - problem with customization Httpd.conf

moron

Verified User
Joined
Oct 31, 2007
Messages
5
hello
i want make DocumentRoot for subdomain in another folder of domain
i read your help and think out that it shoud be in "Httpd.conf Customization for domain.pl"
i have write this
Code:
|*if SUB="files"|
#custom item for just this domain
|?DOCROOT=/home/nick/domains/domain.pl/public_html/downloads|
|*endif|
after restart apache it works but (i think) not shoud like...

in Httpd.conf is it
Code:
DocumentRoot /home/nick/domains/domain.pl/public_html/downloads/files
why there is "files" on the end? <moron>


tell me what im making wrong or how i can make DocumentRoot like /home/nick/domains/domain.pl/public_html/downloads/


ps sorry for my poor english :)
 
Because it will always append the name of the subdirectory on the end.
 
why?

when i want change it i want change it...
can i make it in another way?
 
Back
Top