AlkantarClanX12

Your IP : 216.73.217.128


Current Path : /etc/apache2/sites-enabled/
Upload File :
Current File : //etc/apache2/sites-enabled/100-concellodapobradobrollon.gal.vhost

<Directory /var/www/concellodapobradobrollon.gal>
		AllowOverride None
				Require all denied
		</Directory>

<VirtualHost *:80>

									DocumentRoot /var/www/concellodapobradobrollon.gal/web
						
		ServerName concellodapobradobrollon.gal
		ServerAlias www.concellodapobradobrollon.gal
		ServerAdmin webmaster@concellodapobradobrollon.gal

		ErrorLog /var/log/ispconfig/httpd/concellodapobradobrollon.gal/error.log


		<IfModule mod_ssl.c>
		</IfModule>

		<Directory /var/www/concellodapobradobrollon.gal/web>
				# Clear PHP settings of this website
				<FilesMatch ".+\.ph(p[345]?|t|tml)$">
						SetHandler None
				</FilesMatch>
				Options +FollowSymLinks
				AllowOverride All
								Require all granted
						</Directory>
		<Directory /var/www/clients/client1/web1/web>
				# Clear PHP settings of this website
				<FilesMatch ".+\.ph(p[345]?|t|tml)$">
						SetHandler None
				</FilesMatch>
				Options +FollowSymLinks
				AllowOverride All
								Require all granted
						</Directory>




		# suexec enabled
		<IfModule mod_suexec.c>
			SuexecUserGroup web1 client1
		</IfModule>
		# php as fast-cgi enabled
	# For config options see: http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html
		<IfModule mod_fcgid.c>
				FcgidIdleTimeout 300
				FcgidProcessLifeTime 3600
				# FcgidMaxProcesses 1000
				FcgidMaxRequestsPerProcess 5000
				FcgidMinProcessesPerClass 0
				FcgidMaxProcessesPerClass 10
				FcgidConnectTimeout 3
				FcgidIOTimeout 600
				FcgidBusyTimeout 3600
				FcgidMaxRequestLen 1073741824
		</IfModule>
		<Directory /var/www/concellodapobradobrollon.gal/web>
				<FilesMatch "\.php[345]?$">
					SetHandler fcgid-script
				</FilesMatch>
				FCGIWrapper /var/www/php-fcgi-scripts/web1/.php-fcgi-starter .php
				FCGIWrapper /var/www/php-fcgi-scripts/web1/.php-fcgi-starter .php3
				FCGIWrapper /var/www/php-fcgi-scripts/web1/.php-fcgi-starter .php4
				FCGIWrapper /var/www/php-fcgi-scripts/web1/.php-fcgi-starter .php5
				Options +ExecCGI
				AllowOverride All
								Require all granted
						</Directory>
		<Directory /var/www/clients/client1/web1/web>
				<FilesMatch "\.php[345]?$">
					SetHandler fcgid-script
				</FilesMatch>
				FCGIWrapper /var/www/php-fcgi-scripts/web1/.php-fcgi-starter .php
				FCGIWrapper /var/www/php-fcgi-scripts/web1/.php-fcgi-starter .php3
				FCGIWrapper /var/www/php-fcgi-scripts/web1/.php-fcgi-starter .php4
				FCGIWrapper /var/www/php-fcgi-scripts/web1/.php-fcgi-starter .php5
				Options +ExecCGI
				AllowOverride All
								Require all granted
						</Directory>


		RewriteEngine on
		RewriteCond %{REQUEST_URI} ^/\.well-known/acme-challenge/
		RewriteRule ^ - [END]
		RewriteCond %{HTTP_HOST} ^www\.concellodapobradobrollon\.gal$ [NC]
				RewriteRule ^(.*)$ http://concellodapobradobrollon.gal$1 [R=301,NE,L]

		# add support for apache mpm_itk
		<IfModule mpm_itk_module>
			AssignUserId web1 client1
		</IfModule>

		<IfModule mod_dav_fs.c>
		# Do not execute PHP files in webdav directory
			<Directory /var/www/clients/client1/web1/webdav>
				<ifModule mod_security2.c>
					SecRuleRemoveById 960015
					SecRuleRemoveById 960032
				</ifModule>
				<FilesMatch "\.ph(p3?|tml)$">
					SetHandler None
				</FilesMatch>
			</Directory>
			DavLockDB /var/www/clients/client1/web1/tmp/DavLock
			# DO NOT REMOVE THE COMMENTS!
			# IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
      # WEBDAV BEGIN
			# WEBDAV END
		</IfModule>

<IfModule mod_headers.c>
    <DirectoryMatch "/\.well-known/acme-challenge/">
        Require all granted
        AllowOverride All
        Satisfy Any
    </DirectoryMatch>
</IfModule>


</VirtualHost>




<VirtualHost *:443>
    DocumentRoot /var/www/concellodapobradobrollon.gal/web
    ServerName concellodapobradobrollon.gal
    ServerAlias www.concellodapobradobrollon.gal
    
    # OTORGAR PERMISOS DE ACCESO EN EL PUERTO 443
    <Directory /var/www/concellodapobradobrollon.gal/web>
        Options +FollowSymLinks
        AllowOverride All
        Require all granted
        
        # REGLAS DE REESCRITURA PARA DRUPAL (ESTILOS DE IMAGEN)
        <IfModule mod_rewrite.c>
            RewriteEngine on
            RewriteBase /
            
            # Si el archivo no existe físicamente, mándalo al index.php de Drupal para que lo genere
            RewriteCond %{REQUEST_FILENAME} !-f
            RewriteCond %{REQUEST_FILENAME} !-d
            RewriteCond %{REQUEST_URI} !=/favicon.ico
            RewriteRule ^ index.php [L]
        </IfModule>
    </Directory>

    # Soporte para PHP (FPM)
    <IfModule mod_fastcgi.c>
        <Directory /var/www/concellodapobradobrollon.gal/web>
            <FilesMatch "\.ph(p3|p4|php|phtml)$">
                SetHandler dbgsrv
            </FilesMatch>
        </Directory>
    </IfModule>
    
    # CONFIGURACIÓN SSL
    SSLEngine on
    SetEnv HTTPS on
    SSLProtocol All -SSLv2 -SSLv3 -TLSv1 -TLSv1.1
    SSLCertificateFile /var/www/concellodapobradobrollon.gal/ssl/concellodapobradobrollon.gal.crt
    SSLCertificateKeyFile /var/www/concellodapobradobrollon.gal/ssl/concellodapobradobrollon.gal.key
    SSLCertificateChainFile /var/www/concellodapobradobrollon.gal/ssl/concellodapobradobrollon.gal.bundle

    ErrorLog /var/log/ispconfig/httpd/concellodapobradobrollon.gal/error.log
    CustomLog /var/log/ispconfig/httpd/concellodapobradobrollon.gal/access.log combined
</VirtualHost>