Apache HTTP Server Configuration - Linux
/etc/httpd/conf.d/userdir.conf
Quick Actions
๐ฅ Download Original userdir.confConfiguration File Information
Authentic & Original
Unaltered userdir.conf from fresh installation.
Linux Distribution Support
๐ Currently viewing: Red Hat Enterprise Linux 9 (Plow)
โ Also compatible:
CentOS Stream 10,
CentOS Stream 9
Red Hat Enterprise Linux 8 (Ootpa),
โ Different versions:
Centos-Stream:
Rhel:
Configuration File Content
37 lines
#
# UserDir: The name of the directory that is appended onto a user's home
# directory if a ~user request is received.
#
# The path to the end user account 'public_html' directory must be
# accessible to the webserver userid. This usually means that ~userid
# must have permissions of 711, ~userid/public_html must have permissions
# of 755, and documents contained therein must be world-readable.
# Otherwise, the client will only receive a "403 Forbidden" message.
#
<IfModule mod_userdir.c>
#
# UserDir is disabled by default since it can confirm the presence
# of a username on the system (depending on home directory
# permissions).
#
UserDir disabled
#
# To enable requests to /~user/ to serve the user's public_html
# directory, remove the "UserDir disabled" line above, and uncomment
# the following line instead:
#
#UserDir public_html
</IfModule>
#
# Control access to UserDir directories. The following is an example
# for a site where these directories are restricted to read-only.
#
<Directory "/home/*/public_html">
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
Require method GET POST OPTIONS
</Directory>
Download Commands
userdir.conf โข
Download the 100% original unaltered configuration file pulled from Apache HTTP Server
Using wget:
wget -O userdir.conf.example https://exampleconfig.com/api/v1/config/original/d4a2620683cc3ff2315c685f9f354265?hint=userdir.conf
Using curl:
curl https://exampleconfig.com/api/v1/config/original/d4a2620683cc3ff2315c685f9f354265?hint=userdir.conf > userdir.conf.example
Related Configuration Files
/etc/httpd/conf.d/userdir.conf
Apache HTTP Server ยท Debian 9 (Stretch)
/etc/httpd/conf.d/userdir.conf
Apache HTTP Server ยท Debian 9 (Stretch)
/etc/httpd/conf.d/userdir.conf
Apache HTTP Server ยท Debian 9 (Stretch)
/etc/httpd/conf.d/userdir.conf
NGINX ยท Red Hat Enterprise Linux 9 (Plow)
/etc/httpd/conf.d/userdir.conf
NGINX ยท Red Hat Enterprise Linux 9 (Plow)
/etc/httpd/conf.d/userdir.conf
NGINX ยท Red Hat Enterprise Linux 9 (Plow)