Playgrounds
Snippets
Developers
Compiler
All
ActionScript
Ajax
AngularJS
Apache
AppleScript
ASP.NET
Bash
C
C#
C++
Coffee
CoffeeScript
ColdFusion
Command
CSS
Delphi
Django
ES6
GLSL
Grunt
Gulp
HAML
Haskell
HTML
iOS
Jade
Java
JavaScript
jQuery
JSX
Less
LUA
MDX
MySQL
Objective
Other
Pascal
Perl
PHP
Plain text
PowerShell
Processing
Progress
Prolog
Pseudocode
Python
Rails
RegExr
Ruby
SASS
Scala
Scheme
SCSS
SmallBASIC
Smarty
SQL
Stylus
SVG
Swift
TypeScript
VHDL
X++
XHTML
XML
Xojo
XSLT
New snippet
New playground
Sign up
Login
Upload
Playgrounds
Snippets
Developers
Sign up
Login
Codepad is a place for developers to share code snippets (PHP, Java, Bash, C, C++, Python and more). Create your HTML, CSS and JS Demos.
Sign up
Learn more
Sort
Popular
Most liked
Most recent
Time
Today
Last week
Last month
Last year
All time
Select Languages
ActionScript
Ajax
AngularJS
Apache
AppleScript
ASP.NET
Bash
C
C#
C++
ColdFusion
Command
CSS
Delphi
Django
Grunt
Gulp
HAML
HTML
iOS
Jade
Java
JavaScript
jQuery
Less
MySQL
Objective
Other
Pascal
Perl
PHP
PowerShell
Processing
Prolog
Pseudocode
Python
Rails
RegExr
Ruby
SASS
Scala
Scheme
Smarty
SQL
Swift
VHDL
XHTML
XML
Xojo
XSLT
SCSS
CoffeeScript
GLSL
Progress
Stylus
ES6
Coffee
TypeScript
X++
Haskell
SmallBASIC
JSX
SVG
Plain text
LUA
MDX
Apply
Reset
popular • Apache
How to Password Protect One File
Apache
0
0
1574
.htaccess - redirection to www host
Apache
0
2
885
Enable / Disable WWW
Apache
0
4
1127
Wordpress speed Cache-Control
Apache
0
2
1700
Cache for PageSpeed Insights
Apache
0
1
1470
Import files which are more than 10mb
Apache
0
0
1333
Apache: CSS Compession Gzip
Apache
0
1
1583
Apache: JS Compession Gzip
Apache
0
2
1580
block proxy servers from site access
Apache
0
0
1297
protects your site from many Vulnerability Scanners, Search Engines, Crawlers
Apache
0
3
1526
redireccionar301
Apache
0
0
2079
delIndexCodeigniter
Apache
0
0
1037
How to get xdebug var_dump to show full object/array
Apache
0
1
1781
Redirect Website IP and Non-WWW to Proper Address
Apache
0
3
1288
HTACCESS password protect site
Apache
0
2
1016
Using www or no in a website (.htaccess)
Apache
0
1
954
Apache WordPress - Disable XMLRPC from .htaccess
Apache
0
4
1549
.HTACCESS - Redirect Everyone Except IP address to alternate page
Apache
0
2
1552
.HTACCESS - Administrator Email for ErrorDocument
Apache
0
4
1533
.HTACCESS - Force "File Save As" Prompt
Apache
0
3
1607