Menu

Tag Archives: server

Express and Express Generator
Install Express and Express generator npm install express --global npm install express-generator -g Check if it is succesfully installed: express --help [...]
Run a local server and make it available remotely
Run a local server cd /path/to/your-project-folder # python2 python -m SimpleHTTPServer 8080 # python3 python3 -m http.server 8080 Open a browser and visit [...]
Intro to Elasticsearch
GitHub Page Intro Download Elasticsearch tar https://www.elastic.co/start examples are using version 5.4.1 Extract tar into directory Start elasticsearch [...]
simplehttpserver
simplehttpserver on npm Instalation npm install simplehttpserver -g Run the server simplehttpserver [directory] simplehttpserver . # current directory View [...]
Web Server for Chrome
Serve Web Pages from Local Folder with Web Server for Chrome
Sometimes you need to have web pages on localhost in order to test them properly. Web Server for Chrome is a Chrome app that enables you to setup a local [...]
.htaccess
Force https in .htaccess
RewriteEngine On RewriteCond %{HTTPS} !on RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} SOURCE
The structure of Apache Server Log
Apache2 server log is located at /var/log/apache2/access.log. It displays entries like: 127.0.0.1 - - [30/May/2017:11:36:50 +0200] "GET [...]
Install LAMP server and phpmyadmin on Ubuntu
Install Lamp server sudo apt-get install lamp-server^ http://localhost/ or http://127.0.0.1/ Restart server sudo /etc/init.d/apache2 restart Install [...]