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
.HTACCESS - Show CGI Source Code
Apache
0
2
1624
.HTACCESS - Rewrite to www
Apache
0
2
1956
.HTACCESS - Custom ErrorDocuments
Apache
0
2
1514
.HTACCESS - Send Custom Headers
Apache
0
1
1650
.HTACCESS - Blocking based on User-Agent Header
Apache
0
2
1530
.HTACCESS - Protect wp-content
Apache
0
4
1514
.HTACCESS - Protect wp-includes
Apache
0
1
1525
.HTACCESS - Stop Hotlinking
Apache
0
1
1504
.HTACCESS - Forbid Proxies
Apache
0
3
1543
.HTACCESS - No UserAgent, No POST
Apache
0
1
1500
.HTACCESS - No Referer, No Comment
Apache
0
2
1620
.HTACCESS - Removing the Query String
Apache
0
1
1466
.HTACCESS - Removing the Query String
Apache
0
1
1409
.HTACCESS - Loop Stopping Code
Apache
0
1
1640
.HTACCESS - Deny access to anything in a subfolder except php fopen
Apache
0
2
1435
.HTACCESS - External Redirect .php files to .html files (SEO friendly)
Apache
0
5
1764
.HTACCESS - Internal Redirect .php files to .html files (SEO friendly)
Apache
0
2
2295
.HTACCESS - Block access to files during certain hours of the day
Apache
0
4
1562
.HTACCESS - Allow only GET and PUT methods
Apache
0
1
1829
.HTACCESS - Read Apache Variables in PHP
Apache
0
2
1834