# Apache HTTP Server Configuration
# WARNING: May contain exposed credentials

ServerRoot "/etc/httpd"
PidFile run/httpd.pid
Timeout 60
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15

Listen 80
Listen 443

# Modules
LoadModule ssl_module modules/mod_ssl.so

# Virtual Host
<VirtualHost *:80>
    ServerName production.example.com
    DocumentRoot /var/www/html
    
    # Database Configuration (EXPOSED in environment)
    SetEnv DB_HOST "httpdconf-db.internal"
    SetEnv DB_USER "httpdconf_user"
    SetEnv DB_PASS "HttpdConfPassword2024!Secret"
    SetEnv DB_NAME "httpdconf_production"
    
    # API Keys (EXPOSED)
    SetEnv API_KEY "httpd-conf-api-key-abc123def456"
    SetEnv JWT_SECRET "httpd-conf-jwt-secret-xyz789"
</VirtualHost>

<VirtualHost *:443>
    ServerName production.example.com
    DocumentRoot /var/www/html
    SSLEngine on
    SSLCertificateFile /etc/ssl/certs/server.crt
    SSLCertificateKeyFile /etc/ssl/private/server.key
</VirtualHost>

