вторник, 14 февраля 2012 г.

virtual host script

cp /etc/apache2/sites-enabled/wordpress /etc/apache2/sites-enabled/wordpress2
-----------------------------------------------------------------------------
<VirtualHost *:80>
        ServerAdmin webmaster@localhost
        ServerName {wordpress}

        DocumentRoot /var/vhosts/{wordpress}

        <Directory /var/vhosts/{wordpress}/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order allow,deny
                allow from all
        </Directory>

        ErrorLog ${APACHE_LOG_DIR}/{wordpress}_error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog ${APACHE_LOG_DIR}/{wordpress}_access.log combined

</VirtualHost>
-------------------------------------------------------------------------------------------------------------






Комментариев нет:

Отправить комментарий