|
|
@ -34,21 +34,20 @@ cd /var/www |
|
|
|
git clone https://git.artcode.re/cagetters/cagettepei.git |
|
|
|
cd cagettepei |
|
|
|
make install ENV=dev |
|
|
|
|
|
|
|
vim /etc/apache2/sites-available/cagettepei.conf |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
``` |
|
|
|
<VirtualHost *:80> |
|
|
|
ServerName cagettepei |
|
|
|
DocumentRoot /var/www/cagettepei/www |
|
|
|
DirectoryIndex index.n |
|
|
|
DocumentRoot /var/www/cagettepei/www/ |
|
|
|
|
|
|
|
CustomLog ${APACHE_LOG_DIR}/cagettepei/access.log combined |
|
|
|
ErrorLog ${APACHE_LOG_DIR}/cagettepei/debug.log |
|
|
|
ErrorLogFormat "[%{uc}t] %M" |
|
|
|
</VirtualHost> |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
```bash |
|
|
|
sed -i '/<Directory \/var\/www\/>/,/<\/Directory>/ s/AllowOverride None/AllowOverride All/' /etc/apache2/apache2.conf |
|
|
|
a2dissite 000-default.conf |
|
|
|