View Single Post
  #10  
Old 6th February 2009, 20:25
koltz koltz is offline
Member
 
Join Date: Feb 2007
Posts: 61
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Code:
<VirtualHost 172.21.152.32:80>
    DocumentRoot /var/www/gamingdealz.com/web

    ServerName gamingdealz.com
    ServerAlias www.gamingdealz.com
    ServerAdmin webmaster@gamingdealz.com

    ErrorLog /var/clients/client1/web3/log/error.log

    ErrorDocument 400 /error/invalidSyntax.html
    ErrorDocument 401 /error/authorizationRequired.html
    ErrorDocument 403 /error/forbidden.html
    ErrorDocument 404 /error/fileNotFound.html
    ErrorDocument 405 /error/methodNotAllowed.html
    ErrorDocument 500 /error/internalServerError.html
    ErrorDocument 503 /error/overloaded.html

    <Directory /var/www/gamingdealz.com/web>
        Options FollowSymLinks
        AllowOverride Indexes AuthConfig Limit FileInfo
        Order allow,deny
        Allow from all
    </Directory>

    # cgi enabled
    ScriptAlias  /cgi-bin/ /var/clients/client1/web3/cgi-bin/
    AddHandler cgi-script .cgi
    AddHandler cgi-script .pl
    # mod_php enabled
    AddType application/x-httpd-php .php .php3 .php4 .php5
        php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -fwebmaster@gamingdealz.com"
    php_admin_value upload_tmp_dir /var/clients/client1/web3/tmp
    php_admin_value session.save_path /var/clients/client1/web3/tmp
    #php_admin_value open_basedir /var/clients/client1/web3:/usr/share/php5


</VirtualHost>
Reply With Quote