how to set that every user has a different default home page in httpd.conf in apache....
example:
login as ingkiang;
i have a home page www.mysite.com/~ingkiang
i think sa userdir ni xa dapita sa httpd.conf
how to set that every user has a different default home page in httpd.conf in apache....
example:
login as ingkiang;
i have a home page www.mysite.com/~ingkiang
i think sa userdir ni xa dapita sa httpd.conf
yup-
Code:# # UserDir is disabled by default since it can confirm the presence # of a username on the system (depending on home directory # permissions). # #UserDir disable # # To enable requests to /~user/ to serve the user's public_html # directory, remove the "UserDir disable" line above, and uncomment # the following line instead: # UserDir public_html
got it, thanks...
here's what i did
just uncomment the Include conf/extra/httpd-userdir.conf
dn create a public_html directory in ur /home/user/Code:# User home directories Include conf/extra/httpd-userdir.conf
dn chown public_html to user:www
thats all...
ah good .. depende sad sa distro how the config file(s) are structured
Similar Threads |
|