Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| var BatchStream = require('batch-stream2') | |
| var gulp = require('gulp') | |
| var coffee = require('gulp-coffee') | |
| var uglify = require('gulp-uglify') | |
| var cssmin = require('gulp-minify-css') | |
| var bower = require('gulp-bower-files') | |
| var stylus = require('gulp-stylus') | |
| var livereload = require('gulp-livereload') | |
| var include = require('gulp-include') | |
| var concat = require('gulp-concat') |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| #301 Redirects for .htaccess | |
| #Redirect a single page: | |
| Redirect 301 /pagename.php http://www.domain.com/pagename.html | |
| #Redirect an entire site: | |
| Redirect 301 / http://www.domain.com/ | |
| #Redirect an entire site to a sub folder | |
| Redirect 301 / http://www.domain.com/subfolder/ |