Parcourir la source

Agrego .gitignore y detalles en el .htaccess

Gabriel Badano il y a 4 ans
Parent
commit
9c57df9acc
2 fichiers modifiés avec 14 ajouts et 0 suppressions
  1. 5 0
      .gitignore
  2. 9 0
      .htaccess

+ 5 - 0
.gitignore

@@ -0,0 +1,5 @@
+/.idea/
+/.vscode/
+/assets/webapp/
+/protected/vendor/
+composer.lock

+ 9 - 0
.htaccess

@@ -4,7 +4,16 @@
 
 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 %{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]
 
 # if a directory or a file exists, use it directly