View Full Version : public_html created by interworx !!!???!!!
pascal
03-13-2005, 05:57 AM
Hello,
The interworx-cp API has created a new siteworx account.
In the home directory of this new user there is a new directory : public_html
[root@padawan baseball]# ls -l
total 8
drwx--s--x 3 baseball baseball 4096 Mar 12 23:30 domain.tld
lrwxrwxrwx 1 root iworx 39 Mar 12 23:30 public_html -> /home/account/domain.tld/html
drwxr-x--x 3 iworx iworx 4096 Mar 12 23:30 var
Is it normal ?????
Why There is this directory ????
Thanks for your help
pascal
IWorx-Paul
03-13-2005, 12:09 PM
Yes, it's normal as of version 1.9.0. This allows the url
http://<ipaddress>/~<unixuser>
to work
timryberg
03-13-2005, 01:34 PM
Yes, it's normal as of version 1.9.0. This allows the url
http://<ipaddress>/~<unixuser>
to work
I was wondering about the same thing :-)
pascal
03-14-2005, 09:26 AM
Yes, it's normal as of version 1.9.0. This allows the url
http://<ipaddress>/~<unixuser>
to work
Yes, in the /etc/httpd/conf/httpd.conf the userdir public_html is enabled, but where is set the :
<Directory /home/*/public_html>
Also, as strange it may be, sometimes my new siteworx user account has the public_html symlink created and some time hasn't
so in this last case I have to create manually the symlink like this
ln -s /home/account/domaine.tld/html public_html
Any idea why ?
Pascal
timryberg
03-14-2005, 05:10 PM
Old accountd don't have the directory and it needs to be created manually.
Justec
03-14-2005, 07:25 PM
Old accountd don't have the directory and it needs to be created manually.
" sometimes my new siteworx user account "
He did say "new" siteworx accounts, so maybe he mis-typed or it is a bug?
Guess we'll have to wait and see.
timryberg
03-14-2005, 08:52 PM
" sometimes my new siteworx user account "
He did say "new" siteworx accounts, so maybe he mis-typed or it is a bug?
Guess we'll have to wait and see.
It makes sense that only new accounts would have this since older accounts were created with a version of the account creation script that didn't have the ability to do this.
It's not just a matter of creating a public_html directory; the symlink ( -s ) needs to be made and the UserDur value needs to be added to the /etc/httpd/conf.d/domain.tld.conf file.
timryberg
03-14-2005, 08:56 PM
done, and seems to work fine. :-)
Justec
03-15-2005, 11:51 AM
I still think he was referring to new siteworx accounts.
You create 5 new accounts today 3 of them have the public_html, and 2 of them don't. It might be a language thing, but thats what I got out of
Also, as strange it may be, sometimes my new siteworx user account has the public_html symlink created and some time hasn't
If that is what Pascal is saying then that is definately something that needs to be looked at.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.