Full path in url

inomi13

Verified User
Joined
Jan 7, 2022
Messages
162
How open in browser, page when url have path to file so I have index.php in file /home/name_user/domains/name_domain/public_html

I know that I can open page write direct name domain but my client transfered domain another hosting company but I want to give access to page when someone will write direct path to file where is the page.
 
Last edited:
The page is always in public_html or further. So if the path is:
/home/name_user/domains/name_domain/public_html
then you will visit it via:

http://www.name_domain.com/

if it's just the index page.

Otherwise you have to give an example, because you can't visit anything before public_html with a browser.
 
I think you are referring to userdir_access feature. This feature is recommended to be disabled due to security reasons. See #17 here :

Although you can enable it but not recommended (can be done from custombuild gui also)
Code:
cd /usr/local/directadmin/custombuild
./build set userdir_access yes
./build rewrite_confs
 
Back
Top