lost serverroot after upgrade

erohits

Verified User
Joined
Jun 26, 2009
Messages
25
hi after my reinstall of da i lost my serverroot settings


the files /directadmin/data/users/USER/httpd.conf

the are now all /domains/SITE/public_html

instead of

/home/USER/domains/SITE/public_html

is there a way to fix that , alterd some with the correct link and then the sites work again, but is there a way to chance all files at once.

greetings Franco
 
Hey,

Are you saying the DocumentRoot is wrong for the sites on the server? If so, and your template files are correct, the lines below should rewrite the httpd.conf files...

The template files are here: /usr/local/directadmin/data/templates

Check the virtual host file for your setup.

Code:
echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue
/usr/local/directadmin/dataskq d

David
 
fixed one problem , had lost the users in freebsd so remade the users to point to the right dir's and the websites worked again.

but now the only problem is that ftp looks at the wrong location for public_html
 
fixed that problem but got a other one



if i log in to ftp it works, but strange is that i can click on .. and leave my /home/user dir and have access to all the rootfiles / on the server .

what could be wrong with it....
 
Edit /etc/proftpd.conf and make sure there is a line that reads

defaultroot ~
 
/usr/bin/ld: /usr/local/mysql/lib/libmysqlclient.a(libmysql.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
/usr/local/mysql/lib/libmysqlclient.a: could not read symbols: Bad value
*** Error code 1
1 error

cant update php true custombuild on freebsf 7.0 64 bits
 
Back
Top