background preloader

Azure

Facebook Twitter

Microsoft Azure, Office 365, Intune, PowerBI – les liens indispensables – la boite a outils | Stanislas.io. Best Practices for Drupal CMS on Azure Websites. Drupal CMS is an Open source Content management system written in PHP and use MySQL. Drupal offers a refined programming interface for developers, no programming skills are required for a basic website and installation. You can use Drupal to build everything from personal blogs to enterprise applications.

It is a popular framework among government organizations as well. The primary focus of this blog post is to articulate how to run Drupal CMS websites on Azure Websites platform and in this process you will learn: How to migrate existing Drupal site to Azure WebsitesHow to setup Azure Storage Module for Media contentHow to setup Memcached Cloud for Caching supportUse best practices for Drupal CMSScale across regions How to migrate existing Drupal site to Azure Websites Migrating your Drupal website to Azure website is a fairly easy task. Create an Azure Web Site and MySQL database Copy database to MySQL in Azure Web Sites There are many ways to migrate a database into Azure. Wrapping it up! Microsoft Azure, Office 365, Intune – les liens indispensables - Stanislas Quastana's blog on TechNet. Avec la démultiplication des services Cloud Microsoft, des options d’administrations et des moyens de les consommer, je me suis dit qu’il était temps d’avoir une petite boite à outils des liens indispensables pour bien gérer ses abonnements Azure, Office 365 et Microsoft Intune.

J’ai donc synthétisé dans cet article (que je vais essayer de maintenir à jour) les liens les plus utiles. [Dernière mise à jour : 28/09/2015] Microsoft Azure Version d'évaluation de Microsoft Calculatrice des coûts Nouvelle calculatrice des coûts pour les Les différents types de VM Azure en 1 image (Merci à Patrick) Le portail d'administration de Microsoft Azure : le nouveau portail d'administration (encore en Preview) Erreur 500 pendant la mise à jour Drupal 7 | Le blog de SebCorbin - Sébastien Corbin. Drupal 7 “500 – Internal server error” [SOLVED] | Lecciones Prácticas. Windows Azure Websites and Mobile Clients Part 2: The PHP Code. Today we’ll continue off where we left with our PHP website running on Windows Azure Websites. At this point we’ve got a PHP website deployed which will allow us to specify shortened URLs (slugs) and their full URL. The only real visual interface is that we can list out those shortened URLs.

Our real goal in all of this is to connect to the website (and the web service methods) via an Android and iOS app. However, before we get knee deep in native code, let’s go over the PHP code we deployed. One thing to note is that for this site, I used the Silex PHP micro-framework. If you haven’t already done so, pull the code for the site down from here. <? This is including the app.php file which returns a Silex/Application and then runs it. <IfModule mod_rewrite.c> Options -MultiViews RewriteEngine On RewriteCond %{REQUEST_FILENAME} ! And the web.config is: Both files are redirecting all requests to the index.php file. <?

And finally, here is the api method to add a new URL. Return $app; Cannot use .htaccess on windows azure? .htaccess - Mod_rewrite in Azure. How Do You Configure Windows Azure For Url Rewrite Using WordPress? Tutorial (1/2) : Comment installer Drupal dans Windows Azure Websites | Jean-Luc Boucho - Blog sur .NET, l'Architecture et Windows Azure. Courant 2011, j’ai étudié la possibilité d’exécuter Drupal sur la plateforme Windows Azure, l’opération était possible mais elle nécessitait des efforts d’intégration non négligeables.

Drupal est l’un des leaders des CMS (Content Management System), utilisé pour créer des sites web. Il est open-source, écrit en PHP et exploite une base de données de type SQL pour le stockage. Très répandu, il bénéficie d’un large écosystème de contributeurs et peut être étendu facilement grâce à de très nombreux modules disponibles. En 2012, la plateforme Windows Azure s’est enrichie de nouveaux services. Elle s’est dotée de disques persistants, de sites Web pouvant être déployés en quelques instants, et enfin du support natif de Drupal grâce au support de la distribution de ACQUIA. Je vous propose donc de découvrir, grâce aux dernières nouveautés d'Azure, comment installer Drupal dans un Windows Azure Website.

Etape 1. Etape 1 : Déploiement de Drupal et MySQL Puis « A partir de la galerie » Tutorial (2/2) : Comment installer Drupal dans Windows Azure Websites | Jean-Luc Boucho - Blog sur .NET, l'Architecture et Windows Azure. Ceci est la suite du tutorial (1/2) : Comment installer Drupal dans Windows Azure Websites. La première partie a abordé :Etape 1. Déployer Drupal et une base de données MySQL dans un nouveau site Web depuis le portail Windows Azure Dans cette deuxième partie du tutorial, nous abordons maintenant :Etape 2. Terminer la configuration de Drupal, depuis l’URL du site déployé Etape 3. Utiliser l’outil gratuit Microsoft WebMatrix sur votre ordinateur pour modifier le site en local (mode déconnecté) puis mettre à jour la version en ligneEtape 2 : Configuration de DrupalEn navigant à l'URL du site web déployé, celui-ci s’affiche, mais comme l’installation n’est pas complètement achevée, vous êtes convié à la terminer.

Cliquer afin de procéder. L’installation se poursuit par la configuration des différents modules par défaut. A la dernière étape de l’installation, remplir les informations demandées : adresse email, identifiant d’abonnement Acquia (optionnel) Félicitations ! Et voilà ! Best Practices for Drupal CMS on Azure Websites. Monday, June 2, 2014 Drupal CMS is an Open source Content management system written in PHP and use MySQL. Drupal offers a refined programming interface for developers, no programming skills are required for a basic website and installation. You can use Drupal to build everything from personal blogs to enterprise applications.

It is a popular framework among government organizations as well. The primary focus of this blog post is to articulate how to run Drupal CMS websites on Azure Websites platform and in this process you will learn: How to migrate existing Drupal site to Azure Websites How to setup Azure Storage Module for Media content How to setup Memcached Cloud for Caching support Use best practices for Drupal CMS Scale across regions How to migrate existing Drupal site to Azure Websites Migrating your Drupal website to Azure website is a fairly easy task.

Create an Azure Web Site and MySQL database Copy database to MySQL in Azure Web Sites Now you are ready to deploy. Coding practices. Error viewing drupal index after installation (file_put_contents( failed to open stream) Using Apache's mod_rewrite Redirection to Prevent Duplicate Site Content. As a site owner or webmaster, you want to do everything you can to optimize your site properly for search engines. It may seem odd, but a little technicality like having or not having the "www" in your site address can cause search engines to consider your site to be a duplicate of itself, hurting its search engine ranking. You need to redirect traffic using Apache's mod_rewrite to redirect site visitor traffic to a single web address.

Consider the following: Your site can be accessed via either of the following URLs: From a search engine's perspective, they are two different sites with exactly the same content. The solution is to redirect visiting traffic to a single URL using Apache's mod_rewrite. Different server configurations require different methods. 1. 2. Example 1 – Redirect domain.com to www.domain.com RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} !

Example 2 – Redirect www.domain.com to domain.com 3. 4. 5. 6. WordPress Troubleshooting Techniques on Azure Websites. Wednesday, August 20, 2014 WordPress is one of the popular Web Applications that is offered with Azure Websites Gallery to build dynamic websites. You may run into some issues with your WordPress websites and might want to troubleshoot them. In this post, we will review some common issues and discuss the best techniques to resolve them. How do I update PHP INI configuration for my WordPress site? Your WordPress site may require specific changes to PHP.INI based on requirements for your application such as allowing users to upload a file up to 12 MB which is higher than the default limit 8MB . You can enable a user-defined PHP configuration, by creating a file called .user.ini at the site root (D:\home\site\wwwroot folder) and add the following: upload_max_filesize = 12M Now, restart your website.

Next, browse this file and search for upload_max_size: My Media content (uploads folder) is 10GB in size and my Web Application is 1GB in size. How to setup SSL for my WordPress site. 10 URL Rewriting Tips and Tricks | RuslanY Blog. This post describes some of the tips and tricks that one may find useful when solving URL-based problems for their web server or web site. Each tip/trick has a description of a problem and then an example of how it can be solved with IIS 7 URL Rewrite Module. 1.

Add or Remove Trailing Slash Many web applications use “virtual URLs” – that is the URLs that do not directly map to the file and directory layout on web server’s file system. An example of such application may be an ASP.NET MVC application with URL format similar to this: or a PHP application with URL format that looks like this: This problem is very easy to fix with a rewrite rule. To always remove trailing slash from the URL: To always add trailing slash to the URL: 2. 3.

Very often you may have one IIS web site that uses several different host names. 4. 5. 7. 8. 9. 10. How do I stop Drupal from displaying a blank white screen? Topic: Module configuration When you receive a blank white screen there are a couple of things that may be going on. Review the following issues below. Memory Limit When you're setting up a site with a large module set like Ubercart, you may run into the issue where your Drupal site becomes non-responsive and instead displays a blank white screen (also know as the White Screen of Death).

This is most commonly due to the amount of memory required to run a site using so much code. Error Reporting If adjusting the memory limit isn't the culprit, another issue is that PHP could be failing somewhere, but not reporting the error to the screen. After inserting the code, load the same page that caused the same error in the first place. Converting Apache .htaccess rules to IIS web.config using IIS Manager for Azure Websites - Microsoft Azure | Open Source Development Support. Web.config - the settings and configuration file for a Windows IIS Web Application. .htaccess - the default filename of the directory-level configuration file for a Linux Apache Web Application. Disclaimer: The URL Rewrite tool by IIS Manager gives you suggested web.config rules. Since it is not a one-to-one conversion, the recommendation is to test these rules in a development environment. If you’re looking to create rewrite rules for the URL Rewrite Module, please see the article here.

These screenshots were taken from IIS Manager 8.6.9600 and assume you have URL Rewrite Installed. To convert .htaccess rules to web.config, launch IIS Manager. Step 1. Step 2. Step 3. Step 4. Step 5. Now that you have the rules in web.config format, validate and verify the rules on a development server. Dan Carroll | Configuring No-WWW for IIS on Azure. Posted 3 years ago. Tagged windows, coding, and azure. As part of the rollout of my site redesign, I’ve also switched hosts from WebFaction to Windows Azure. WebFaction was a great value for a shared host, and I’ll probably continue to use it in the future for small Python/Django projects, but I’ve been experimenting with Azure on some other projects and took the opportunity to make the switch. Where’d my .htaccess go? Azure Web Sites use IIS as a web server, not the more common Apache (or Nginx) server widely used across the Unix world.

One of the big behaviors I needed to maintain in the migration was to continue adherence to the No-WWW philosophy. I had this set up on the previous iteration of the site using an Apache .htaccess file. RewriteEngine OnRewriteBase / RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] RewriteRule ^(.*)$ [R=permanent,L] IIS, however, does not use .htaccess files. IIS URL Rewrite Luckily, IIS has its own URL rewriting module. Here’s what I came up with: Convert Apache .htaccess to IIS web.config, Part 2: IIS Manager import - Sysadmins of the North. Convert .htaccess to web.config with IIS Manager In a previous post I provided some IIS URL Rewrite equivalents of commonly used Apache mod_rewrite .htaccess settings. These snippets make it easier to convert your Apache mod_rewrite .htaccess web.config for IIS. In this post we’ll pursue an easier road: We use the Internet Information Services (IIS) 7.0 Manager, or IIS Manager in short, to import and convert our .htaccess file automatically.

Or perhaps you are interested in .htaccess examples for IIS? Import and convert Apache .htaccess to IIS web.config, Part 2: IIS Manager import As an example, we import the Drupal 7.22 .htaccess file and convert it to IIS web.config. Note: Drupal comes with a web.config file, but other CMS-s might not. About Internet Information Services (IIS) 7.0 Manager Internet Information Services (IIS) 7 Manager is an administration UI that provides end users and administrators with a way to remotely manage IIS 7.0 and IIS 7.5 servers. Now click the Import button.