<VirtualHost *:80>
    ServerAdmin admin@media-trust.com
    DocumentRoot "/var/www/html3"
    ServerName localhost
    
    ErrorLog ${APACHE_LOG_DIR}/default_error.log
    CustomLog ${APACHE_LOG_DIR}/default_access.log combined
    
    <Directory "/var/www/html3">
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
        DirectoryIndex index.html index.php
    </Directory>
    
    # 簡単なテスト用設定
    Alias /test /var/www/html3/test
    <Directory "/var/www/html3/test">
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
    </Directory>
</VirtualHost>