Jump to content
Froxlor Forum
  • 0

Repition of web server configuration commands?


philiprbrenan

Question

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...