🔔 🔔 🔔 Duyuru: 24. Yılımıza özel indirimler sizleri bekliyor ! Kampanya Kodu : TDATA2024 | Detaylı bilgi için tıklayınız.

How does ip/~domainusername work in server


How does ip/~domainusername work in server


How does ip/~domainusername work in server

How does ip/~username point to public_html instead of /home/username in server.

Solution : Its done by “UserDir”

httpd.conf might have an entry as below

=================
root@server [~]# grep UserDir /usr/local/apache/conf/httpd.conf
UserDir public_html
=========================
Thats what is specifying the document root.
By default “UserDir” is enabled.
To disable we can use :
UserDir disabled user4 user5 user6

http://httpd.apache.org/docs/2.0/mod/mod_userdir.html

Bu cevap yeterince yardımcı oldu mu?

Diğer Dökümanlar


Powered by WHMCompleteSolution