This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
Apache / Re: How to check if userdir_module is installed
« on: August 11, 2018, 08:12:47 PM »
So I checked, and it tells me its not installed.
How do I install this?
I cant find userdir.conf
located in configuration files: /usr/local/apache/conf/ and /usr/local/apache/conf.d/
I have Apache version: Apache/2.4.34 in CentOS Linux release 7.5.1804 (Core)
I read from https://httpd.apache.org/docs/2.4/mod/mod_userdir.html
that this file is now "mod_userdir.c" I found this under /usr/local/apache/modules/
and if I try to edit, its empty.(using panel file browser) If I download this, its encrypted??? What do I need to put there?
I have this under my virtual host file:
<VirtualHost 10.0.0.1:80>
ServerName pro.com
ServerAlias www.pro.com
ServerAdmin webmaster@pro.com
DocumentRoot /home/pro/public_html
UserDir /home/*/public_html
UseCanonicalName Off
ScriptAlias /cgi-bin/ /home/pro/public_html/cgi-bin/
# Custom settings are loaded below this line (if any exist)
# Include "/usr/local/apache/conf/userdata/pro/pro.com/*.conf
<IfModule mod_userdir.c>
UserDir disabled
UserDir enabled pro
</IfModule>
Thx
Newbie
How do I install this?
I cant find userdir.conf
located in configuration files: /usr/local/apache/conf/ and /usr/local/apache/conf.d/
I have Apache version: Apache/2.4.34 in CentOS Linux release 7.5.1804 (Core)
I read from https://httpd.apache.org/docs/2.4/mod/mod_userdir.html
that this file is now "mod_userdir.c" I found this under /usr/local/apache/modules/
and if I try to edit, its empty.(using panel file browser) If I download this, its encrypted??? What do I need to put there?
I have this under my virtual host file:
<VirtualHost 10.0.0.1:80>
ServerName pro.com
ServerAlias www.pro.com
ServerAdmin webmaster@pro.com
DocumentRoot /home/pro/public_html
UserDir /home/*/public_html
UseCanonicalName Off
ScriptAlias /cgi-bin/ /home/pro/public_html/cgi-bin/
# Custom settings are loaded below this line (if any exist)
# Include "/usr/local/apache/conf/userdata/pro/pro.com/*.conf
<IfModule mod_userdir.c>
UserDir disabled
UserDir enabled pro
</IfModule>
Thx
Newbie
Pages: [1]