apache config virtual directory

path /etc/apache2/sites-enabled/httpd-g3n1k.conf

    Listen 8081
    <VirtualHost *:8081>
    ServerAdmin G3n1k@yahoo.com
    DocumentRoot /home/g3n1k/www/
    ServerName g3n1k
    DirectoryIndex index.php index.html index.cgi index.pl index.xhtml
    ErrorLog /home/g3n1k/www/logs/server-error.log
    CustomLog /home/g3n1k/www/logs/customlog.log common
    TransferLog "/home/g3n1k/Dropbox/www/logs/access.log"

    <Directory "/home/g3n1k/www">
        Options Indexes FollowSymLinks ExecCGI Includes
        AllowOverride All
        Order allow,deny
        Allow from all

    </Directory>
</VirtualHost>

Published by

G3n1k

just to remember what i had known :)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s