philiprbrenan Posted October 2, 2015 Share Posted October 2, 2015 There appears to be reptition in the instructions for configuring apache 2.2 on Debian 7: mkdir -p /etc/apache2/sites-enabled/chown root:0 /etc/apache2/sites-enabled/chmod 0600 /etc/apache2/sites-enabled/mkdir -p /etc/apache2/sites-enabled/chown root:0 /etc/apache2/sites-enabled/chmod 0600 /etc/apache2/sites-enabled/mkdir -p /var/customers/webs/mkdir -p /var/customers/logs/mkdir -p /var/customers/tmpchmod 1777 /var/customers/tmpa2dismod userdir/etc/init.d/apache2 restart Link to comment Share on other sites More sharing options...
d00p Posted October 2, 2015 Share Posted October 2, 2015 Depends on your settings, it's 1) the vhost-configuration file or directory and 2) the diroptions-configuration file or directory. If both have the same value, it ends up in the commands being displayed twice which does no harm at all Link to comment Share on other sites More sharing options...
Question
philiprbrenan
There appears to be reptition in the instructions for configuring apache 2.2 on Debian 7:
mkdir -p /etc/apache2/sites-enabled/
chown root:0 /etc/apache2/sites-enabled/
chmod 0600 /etc/apache2/sites-enabled/
mkdir -p /etc/apache2/sites-enabled/
chown root:0 /etc/apache2/sites-enabled/
chmod 0600 /etc/apache2/sites-enabled/
mkdir -p /var/customers/webs/
mkdir -p /var/customers/logs/
mkdir -p /var/customers/tmp
chmod 1777 /var/customers/tmp
a2dismod userdir
/etc/init.d/apache2 restart
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.