View Single Post
  #8  
Old 13th May 2012, 11:48
jumba jumba is offline
Member
 
Join Date: May 2010
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default

/etc/apache2/sites-available/ispconfig.conf

Code:
################################################
# ISPConfig Logfile configuration for vlogger
################################################

LogFormat "%v %h %l %u %t \"%r\" %>s %B \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfig
CustomLog "| /usr/local/ispconfig/server/scripts/vlogger -s access.log -t \"%Y%m%d-access.log\" -d \"/etc/vlogger-dbi.conf\" /var/log/ispconfig/httpd" combined_ispconfig

<Directory /var/www/clients>
    AllowOverride None
    Order Deny,Allow
    Deny from all
</Directory>

# Do not allow access to the root file system of the server for security reasons
<Directory />
       AllowOverride None
       Order Deny,Allow
       Deny from all
</Directory>

<Directory /var/www/conf>
    AllowOverride None
    Order Deny,Allow
    Deny from all
</Directory>

# Except of the following directories that contain website scripts
<Directory /usr/share/phpmyadmin>
        Order allow,deny
        Allow from all
</Directory>

<Directory /usr/share/phpMyAdmin>
        Order allow,deny
        Allow from all
</Directory>

<Directory /usr/share/squirrelmail>
        Order allow,deny
        Allow from all
</Directory>

# allow path to awstats and alias for awstats icons
<Directory /usr/share/awstats>
        Order allow,deny
        Allow from all
</Directory>

Alias /awstats-icon "/usr/share/awstats/icon"
ls -la /etc/apache2/sites-enabled/

Code:
total 8
drwxr-xr-x 2 root root 4096 May  9 12:41 .
drwxr-xr-x 7 root root 4096 May  9 11:21 ..
lrwxrwxrwx 1 root root   39 May  9 11:45 000-apps.vhost -> /etc/apache2/sites-available/apps.vhost
lrwxrwxrwx 1 root root   26 May  9 11:21 000-default -> ../sites-available/default
lrwxrwxrwx 1 root root   43 May  9 11:45 000-ispconfig.conf -> /etc/apache2/sites-available/ispconfig.conf
lrwxrwxrwx 1 root root   44 May  9 11:46 000-ispconfig.vhost -> /etc/apache2/sites-available/ispconfig.vhost
lrwxrwxrwx 1 root root   48 May  9 12:37 100-site1.com.vhost -> /etc/apache2/sites-available/site1.com.vhost
lrwxrwxrwx 1 root root   48 May  9 12:41 100-site2.com.vhost -> /etc/apache2/sites-available/site2.com.vhost
lrwxrwxrwx 1 root root   54 May  9 12:36 100-site3.net.vhost -> /etc/apache2/sites-available/site3.net.vhost
In the last 3 lines, I replaced the original domain names with site1, site2 and site3.

Last edited by jumba; 13th May 2012 at 13:19.
Reply With Quote