Microsoft Azure Open Source Development Support Team Blog

Support for Open Source Technologies on Microsoft Azure App Service

HTTP to HTTPS redirect for WordPress on Azure Web App on Linux

If you host WordPress site on Azure Web App on Linux running Apache, here are the steps to implement HTTP to HTTPS redirect: 1. Add RewriteRule in .htaccess in WordPress application root RewriteCond %{HTTP:X-ARR-SSL} ^$ RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] 2. Once this RewriteRule is added, you may see wp-admin page lost style like this, this… Read more

WordPress Plugin: App Service Assistant for Windows App Service Web Apps

App Service Assistant is a WordPress plugin that provides details on important settings and configuration. This can be helpful to troubleshoot WordPress issues. Information such as current theme, theme path, WP defines, plugins, php_errors.log (if enabled), debug.log (if enabled), user.ini, app settings. Installing this plugin is a cinch! Just follow the steps below to get it… Read more

Migrate WordPress content to Azure blob storage

Azure storage provides solution for applications requiring scalable, durable, and highly available storage for their data. In this blog, we cover the steps how to migrate existing WordPress content from file system to Azure blob storage. 1. Create storage blob Create an Azure storage account Create blob storage Create a blob container to store the… Read more

Redirect HTTP to HTTPS from .htaccess for Azure Web App on Linux on Apache

1. To verify the request is sent from HTTP or HTTPS for Web App on Linux: Unlike the application running on Web App on Windows, the server variable “HTTPS” is not defined for Web App on Linux. Check for “X-ARR-SSL”, this variable is set if the request is HTTPS. This information may be verified from Apache server variables,… Read more

Import a WordPress MySQL Database using WordPress Buddy+

This post discusses how to use the Azure Web App Site Extension, WordPress Buddy+, to import a WordPress MySQL Database (.sql file) into MySQL In-App. If you haven’t already, review and install (link here) the WordPress Buddy+ Site Extension for Azure Web Apps. The steps below require MySQL In-App to be enabled. Import Steps From Kudu CMD… Read more

First steps with Bitnami WordPress in Azure VM

If you choose Bitnami WordPress VM from Azure Market, you need to take the following considerations: 1.- Review the username & password for WordPress Application in the installation step. For example, the username is “user”   The password will be shown in the Boot Diagnostics the first time after creating the VM, you need to… Read more

Azure App Service Java CICD with Maven

Azure App Service provides integration with Github, Bitbucket, etc however, for Java webapps, it does not provide a default way to build and deploy the webapp directly from github. But the good news is, it does provide hooks by which you can modify the Kudu deployment script to achieve the continuous integration and continuous build… Read more

WordPress Migration: Easy as A-B-C, 1-2-3

Fig 1. WordPress Migration Components There are 3 steps to migrating a WordPress website to Azure App Service Web Apps. Copy WordPress files Migrate the MySQL Database Configure WordPress   Step 1. Copy WordPress files Make a backup of the current WordPress website. Tools commonly used for this is FTP Software like FileZilla or WinSCP…. Read more

Capture Java VM Traffic using Fiddler

Customer’s using the Azure SDK for Java may need to capture network traffic for the REST API requests to troubleshoot issues. Below are the steps to configure Fiddler and Eclipse to capture the API requests. Telerik provides documentation for configuring your Java app to send traffic to Fiddler available here, however, additional steps will be… Read more