Tagged: Apache


Adding SSL to your Server

Commands to run for Apache, in Ubuntu 16.04: sudo apt-get update sudo apt-get install software-properties-common sudo add-apt-repository ppa:certbot/certbot sudo apt-get...


Modifications needed in .htaccess for cross domain access

You can use the following as a starting point:

X-Access-Token, X-New-Access-Token are my application headers. Source: http://www.9lessons.info/2016/05/create-token-based-restful-services.html


Apache 2, PHP 5 and MariaDB on Raspbian

A great tutorial to do so can be found here: https://www.howtoforge.com/tutorial/install-apache-with-php-and-mysql-lamp-on-debian-jessie/ Please remember to prefix the commands with sudo or...


Configuration for a domain in your Ubuntu Apache

The content of a configuration file for a new domain in apache (e.g. /etc/apache2/sites-available/starfish.ml.conf ) should be:


Redirect to a new page using .htaccess files

The code is pretty simple:


htaccess subdomain creation

Source: http://stackoverflow.com/questions/5445978/htaccess-subdomain