All pastes #2053812 Raw Edit

Stuff

public text v1 · immutable
#2053812 ·published 2011-05-04 13:25 UTC
rendered paste body

# ATTENTION!
# DO NOT MODIFY THIS FILE OR ANY PART OF IT. THIS CAN RESULT IN IMPROPER PLESK
# FUNCTIONING OR FAILURE, CAUSE DAMAGE AND LOSS OF DATA. IF YOU REQUIRE CUSTOM
# MODIFICATIONS TO BE APPLIED TO THE CONFIGURATION, PLEASE, PERFORM THEM IN THE
# FOLLOWING FILE(S):
# /var/www/vhosts/fullagency.it/conf/vhost.conf
# /var/www/vhosts/fullagency.it/subdomains/<subdomain-name>/conf/vhost.conf

<VirtualHost 62.149.229.71:80>
        ServerName   fullagency.it:80
        ServerAlias  www.fullagency.it

RewriteEngine on
RewriteCond %{REQUEST_URI} !^/http://www.fullagency.it/.*$
RewriteCond %{HTTP_USER_AGENT} "android|blackberry|ipad|iphone|ipod|iemobile|opera mobile|palmos|webos|googlebot-mobile" [NC]
RewriteRule ^(.*)$ /http://clienti.fullmidia.it/mobileagency/ [L,R=302]



        UseCanonicalName Off
        SuexecUserGroup         fullagency.it psacln
        DocumentRoot /var/www/vhosts/fullagency.it/httpdocs
        CustomLog  /var/www/vhosts/fullagency.it/statistics/logs/access_log plesklog
        ErrorLog  /var/www/vhosts/fullagency.it/statistics/logs/error_log
<IfModule mod_userdir.c>
        UserDir /var/www/vhosts/fullagency.it/web_users
</IfModule>
	ScriptAlias  /cgi-bin/ /var/www/vhosts/fullagency.it/cgi-bin/
        Alias  /plesk-stat /var/www/vhosts/fullagency.it/statistics/
        <Location  /plesk-stat/>
                Options +Indexes
        </Location>
        <Location  /plesk-stat/logs/>
                Require valid-user
        </Location>
        Alias  /webstat /var/www/vhosts/fullagency.it/statistics/webstat
        Alias  /webstat-ssl /var/www/vhosts/fullagency.it/statistics/webstat-ssl
        Alias  /ftpstat /var/www/vhosts/fullagency.it/statistics/ftpstat
        Alias  /anon_ftpstat /var/www/vhosts/fullagency.it/statistics/anon_ftpstat
        Alias  /awstats-icon /var/www/html/awstats/icon
        <IfModule mod_ssl.c>
                SSLEngine off
        </IfModule>
        <Directory /var/www/vhosts/fullagency.it/httpdocs>
        <IfModule sapi_apache2.c>
                php_admin_flag engine on
                php_admin_flag safe_mode off
                php_admin_value open_basedir "/var/www/vhosts/fullagency.it/httpdocs:/tmp"
        </IfModule>
        <IfModule mod_php5.c>
                php_admin_flag engine on
                php_admin_flag safe_mode off
                php_admin_value open_basedir "/var/www/vhosts/fullagency.it/httpdocs:/tmp"
        </IfModule>
                Options -Includes +ExecCGI
        </Directory>
        <Directory /var/www/vhosts/fullagency.it/web_users>
        <IfModule sapi_apache2.c>
                php_admin_flag engine off
        </IfModule>
        <IfModule mod_php5.c>
                php_admin_flag engine off
        </IfModule>