Skip to content

Instantly share code, notes, and snippets.

@Vitre
Vitre / .htaccess
Created November 2, 2014 12:02
Laravel .htaccess for WEDOS
# htaccess rules for subdomains and aliases
# to create new subdomain, create a folder www/subdom/(subdomain name)
# to create web for alias, create a folder www/domains/(whole domain name)
# htaccess pravidla pro subdomeny a samostatne weby aliasu
# pro vytvoreni subdomeny vytvorte adresar www/subdom/(nazev subdomeny)
# pro vytvoreni webu pro alias vytvorte adresar www/domains/(cely domenovy nazev)
# dalsi info a priklady: http://kb.wedos.com/r/32/webhosting-htaccess.html
#Options -MultiViews
// IPSUM image generator [http://ipsumimage.appspot.com]
$ipsum-img-api: 'http://ipsumimage.appspot.com' !default;
@mixin ipsum-img($width, $height, $label: false) {
@if $label {
background-image: url($ipsum-img-api + '/' + $width + 'x' + $height + '?l=' + $label);
} @else {
background-image: url($ipsum-img-api + '/' + $width + 'x' + $height);
}
background-position: center center;