View Full Version : Disable userdir
TomC
5th March 2008, 17:06
Hi there,
is there a way to disable the userdir-feature of apache through ISPConfig?!
The systems running on my server don't need that feature and I would be happy if i could just switch it off.
Regards,
Tom
falko
6th March 2008, 19:43
Create the template file /root/ispconfig/isp/conf/customized_templates/vhost.conf.master which looks like this:
{FP_RESOURCE_CONFIG}
{FP_ACCESS_CONFIG}
###################################
#
# ISPConfig vHost Configuration File
# Version 1.0
#
###################################
#
<!-- BEGIN DYNAMIC BLOCK: namevhost -->
{SERVERIP}
<!-- END DYNAMIC BLOCK: namevhost -->
#
#
<!-- BEGIN DYNAMIC BLOCK: vhost -->
######################################
# Vhost: {SERVERNAME}
######################################
#
#
<VirtualHost {IP}>
{HTTPD_INCLUDE}
{SUEXEC}
ServerName {SERVERNAME}
ServerAdmin {SERVERADMIN}
DocumentRoot {DOCUMENTROOT}
{SERVERALIAS}
{DIRECTORYINDEX}
{CGI}
ErrorLog {WEB_ERROR_LOG}
{PHP}
{RUBY}
{SSI}
{WAP}
{ERRORALIAS}
{ERROR}
#AliasMatch ^/~([^/]+)(/(.*))? {HTTPD_ROOT}/{WEB}/user/$1/web/$3
#AliasMatch ^/users/([^/]+)(/(.*))? {HTTPD_ROOT}/{WEB}/user/$1/web/$3
{REWRITE_RULE}
{FRONTPAGE}
</VirtualHost>
#
{SSL}
#
#
<!-- END DYNAMIC BLOCK: vhost -->
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.