Shadow-Here


Server : Apache/2.4.41 (Ubuntu)
System : Linux cls 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : iscuser ( 1001)
PHP Version : 7.4.12
Disable Function : shell_exec,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Directory :  /etc/apache2/sites-available/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :
Current File : //etc/apache2/sites-available/kdc2k22.com.conf
# domain: kdc2k22.com
# public: /var/www/html/isc-domains/kdc2k22.com/

<VirtualHost *:80>	
    # Admin email, Server Name (domain name) and any aliases
    ServerAdmin webmaster@kdc2k22.com
    ServerName kdc2k22.com
    ServerAlias www.kdc2k22.com

    # Index file and Document Root (where the public files are located)
    DirectoryIndex index.php
    DocumentRoot /var/www/html/isc-domains/kdc2k22.com/www

    <Directory />
        Options FollowSymLinks
        AllowOverride All
    </Directory>
    <Directory /var/www/html/isc-domains/kdc2k22.com/www>
        Options Indexes ExecCGI FollowSymLinks
        AllowOverride FileInfo Options Indexes Limit
        Order allow,deny
        allow from all
    </Directory>

    ScriptAlias /cgi-bin/ /var/www/html/isc-domains/kdc2k22.com/cgi-bin/
    <Location /cgi-bin>
        Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
        Order allow,deny
        Allow from all
    </Location>

    # Custom log file locations
    LogLevel warn
    ErrorLog  /var/www/html/isc-domains/kdc2k22.com/logs/error.log
    CustomLog /var/www/html/isc-domains/kdc2k22.com/logs/access.log combined

RewriteEngine on
RewriteCond %{SERVER_NAME} =kdc2k22.com [OR]
RewriteCond %{SERVER_NAME} =www.kdc2k22.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>

Samx