Listen 8081
NameVirtualHost *:8081
<VirtualHost *:8081>
servername localhost
ServerAlias localhost
DocumentRoot /var/www/html/astpp
DirectoryIndex index.php index.html index.shtml index.htm default.htm Default.aspx Default.asp index.pl
<IfModule mod_suphp.c>
AddType application/x-httpd-php .php
RemoveHandler .php
<FilesMatch "\.php$" >
SetHandler x-httpd-php
</FilesMatch>
<Location />
suPHP_AddHandler x-httpd-php
</Location>
</IfModule>
CustomLog /var/log/httpd/astpp_access_log combined
ErrorLog /var/log/httpd/astpp_error_log
SSLEngine on
SSLCertificateFile /etc/pki/tls/certs/ca.crt
SSLCertificateKeyFile /etc/pki/tls/private/ca.key
Alias /astpp/ "/var/www/html/astpp/"
<Directory "/var/www/html/astpp/">
AllowOverride All
</Directory>
Options +Includes +FollowSymlinks
<Location /stats>
Options +Indexes
</Location>
</VirtualHost>