Skip to content

Instantly share code, notes, and snippets.

Avatar
👋

Tomas Liubinas tomasliubinas

👋
  • Kaunas, Lithuania
View GitHub Profile
@tomasliubinas
tomasliubinas / .htaccess
Last active Jun 8, 2017 — forked from ScottPhillips/.htaccess
Common .htaccess Redirects
View .htaccess
#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/
@tomasliubinas
tomasliubinas / symfonyCheck.php
Last active Aug 29, 2015
Symfony PHP system requirements check
View symfonyCheck.php
<?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
You can’t perform that action at this time.