Skip to content

Instantly share code, notes, and snippets.

View tomasliubinas's full-sized avatar
🎯
Focusing

Tomas Liubinas tomasliubinas

🎯
Focusing
  • Kaunas, Lithuania
View GitHub Profile
@tomasliubinas
tomasliubinas / symfonyCheck.php
Last active August 29, 2015 14:09
Symfony PHP system requirements check
<?php
//This file originally comes from Symfony, adapted slightly by @rezonanc and @tomasliubinas
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
@tomasliubinas
tomasliubinas / .htaccess
Last active June 8, 2017 15:13 — forked from ScottPhillips/.htaccess
Common .htaccess Redirects
#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/