Bug : old_public_html_link=1

ehsanch

Verified User
Joined
Jun 2, 2008
Messages
46
Bug :
we change to
old_public_html_link=1
in conf file and restart DA,

when we set domain as default in domain user control panel symbolc link was not created because directory with that name exist. we shuld delete dir manuly for this to work

please correct it.
 
the easyest way to change back to old public_html link is this command for all websites :

rm -rf /home/<USERNAME>/public_html
ln -s ./domains/<DOMAIN NAME>/public_html /home/<USERNAME>/public_html

you can find a list of all domains and usernames by this command :
find /home/*/domains/* -type d -maxdepth 0 >dir.sh

and then edit dir.txt and run as a script
 
the easyest way to change back to old public_html link is this command for all websites :

rm -rf /home/<USERNAME>/public_html
ln -s ./domains/<DOMAIN NAME>/public_html /home/<USERNAME>/public_html

Thank for this help. I have many problems for this new feature in da with forums and cms's.
 
The only reason you should have problems is if people dont know how to setup the paths to their domains right. If they use /home/username/domains/domain.com/public_html they will have no problems ever.
 
Back
Top