public_html change to file format

blog

Verified User
Joined
Jan 28, 2011
Messages
131
Hi To All

Today my public_html type is changed of file folder to file so i can not open it and access to files how change type to file folder?

Thank you.
 
Last edited:

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,932
Location
GMT +7.00
Hello,

Probably it's a brocken symlink? Change directory to your domain and run

Code:
ls -la
what are results?
 

blog

Verified User
Joined
Jan 28, 2011
Messages
131
result:

[root@me admin]# ls -la
total 572K
drwx--x--x 8 admin admin 4.0K Nov 5 00:08 .
drwx--x--x. 6 root root 4.0K Sep 28 2015 ..
drwx--x--x 2 admin admin 4.0K Mar 6 2015 admin_backups
-rw-r--r-- 1 admin admin 18 Oct 16 2014 .bash_logout
-rw-r--r-- 1 admin admin 176 Oct 16 2014 .bash_profile
-rw-r--r-- 1 admin admin 124 Oct 16 2014 .bashrc
drwxr-x--- 6 admin access 4.0K Mar 6 2015 domains
drwxrwx--- 3 admin mail 4.0K Mar 6 2015 imap
drwxrwx--- 6 admin mail 4.0K Mar 6 2015 Maildir
drwxrwx--- 2 admin apache 4.0K Nov 5 00:10 .php
-rwxrwxrwx 1 admin admin 517K Nov 5 00:07 public_html
-rw-r----- 1 admin mail 34 Oct 8 2015 .shadow
drwx--x--x 2 admin admin 4.0K Mar 6 2015 user_backups
[root@me admin]#
 
Top