|  | @@ -1,6 +1,19 @@
 | 
											
												
													
														|  | 
 |  | +<FilesMatch ^(composer\.(json|lock))$>
 | 
											
												
													
														|  | 
 |  | +    Deny from all
 | 
											
												
													
														|  | 
 |  | +</FilesMatch>
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |  RewriteEngine on
 |  |  RewriteEngine on
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | 
 |  | +#RewriteCond %{HTTP_HOST} ^www\.dominio\.com$
 | 
											
												
													
														|  | 
 |  | +#RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
 | 
											
												
													
														|  | 
 |  | +#RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
 | 
											
												
													
														|  | 
 |  | +#RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
 | 
											
												
													
														|  | 
 |  | +#RewriteRule ^(.*)$ https://dominio.com/$1 [R=301,L]
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |  #RewriteCond %{HTTPS} !^on$
 |  |  #RewriteCond %{HTTPS} !^on$
 | 
											
												
													
														|  | 
 |  | +#RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
 | 
											
												
													
														|  | 
 |  | +#RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
 | 
											
												
													
														|  | 
 |  | +#RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
 | 
											
												
													
														|  |  #RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
 |  |  #RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  # if a directory or a file exists, use it directly
 |  |  # if a directory or a file exists, use it directly
 |