CODES
NEW
ADD
SaveCode.net
Ranking
Extension
set default charset for specific files
Home
/
Codes
/
apache
0
Set default charset for specific files
Copy
apache
.htaccess
set
Favourite
Share
By
Otis LeschV
at Mar 28 2022
Related code examples
force utf-8 charset
Set the default page of each directory
Apache mod_expires for media-files
Link to index.var for language files
enable gzip compression for static files
seo friendly redirect for multiple files
Default HTACCESS
Default Virtual Host
apache default document root
Standard modifications to Drupal's default .htaccess
Faux Folders from Files
gzip files in apache
Set up a 301 redirect
Cache Control with htaccess FILES MATCH
.htaccess deny access to xml files
apache set x-frame-options
Set content expiration in htaccess
apache set x-content-type-options
Set up a local virtual host website
Apache Configuration For Mercurial
mod_deflate for Apache 2.0
Wordpress: .htaccess for permalinks
mod_rewrite 301 for entire domain
HTTP proxy server for Iran
Forward http: to https: for SSL
Virtual host config for ZendFramework
.htaccess Site Down For Maintenance
301 Redirect for Query Strings
More efficient RewriteRule for Wordpress
htaccess for Wordpress Multi-site
Drupal .htaccess for enabling clean url's
bluehost rails public/.htaccess for fastcgi
Pretty permalinks on for Wordpress running on Apache
Cross Domain Font embedding for Firefox
.htaccess: No password for sub folder
seo friendly redirect for a single file
Plesk vhost.conf for symlinking httpdocs to another domain
htaccess rewrite rule for multiple store views
Force gzip compression for all relevant file types.
Htaccess rewrite file for Letsencrypt and CakePHP app
Configuring Multiple Domains within WAMP for Local Development
Htaccess tips for redirect file not found to new host
xampp apache not starting
apache port forwarding virtual host
hdinsight apache storm word count
astop apache
invalid command sslengine apache
apache drill plugin
adding htaccess file apache
apache multiple hostnames
cors apache alpine
get top ip apache acces
how to disable big sur apache
Password protected folder
Apache Tomcat connect howto
Forced download of a file with .htaccess
Drupal on PCextreme
Weiterleitung per .htaccess
Force a file to download with a “Save As†prompt
Create a custom error page
Prevent directory browsing
htaccess by ip or pass
Paginas de error para Apache
Redirection temporaire pour mise à jour
Redirect Your Domain To A Subfolder Using .htaccess
Multiple Virtual Hosts on Mac
Apache: Redirect IP's other than X to [URL]
generic Rewrite
htaccess force file download
Apache 2.2 performance tunning
Apache .htaccess example
number of apache connections
Maintenance Redirect
Website Maintenance Redirect
.htaccess 301 Redirect
mod_rewrite old URL to new URL
HAProxy URL Rewriting with query strings (ugly URLs)
HAProxy URL Rewriting
redirect from a subdomain to the main domain
Apache Redirect from *.example.com to example.com
Restarting apache on a cron
Zend Framework 1.8 htaccess
apache2 - enabling and disabling sites
block bad request
protect directories
super over simplified cache control and expire header htaccess
Redirect 404 error page to any page
.htaccess exclude directory from mod_rewrite
Rewrite URLs to force WWW
Rewrite Drupal's File system paths to remove redundant sites/example.com
Forward domain.com - to - www.domain.com
htaccess file sample
PREVENT HOTLINKING
Common .htaccess Rewrite Rules
301 Permalink Redirect from address without www to same address with www
Apache - Password protect a Directory
Redirect to main domain
Quick apache stress test
IPTABLES - Webserver(Apache) to MySQL config
Simple Hotlinking in Apache
Code examples by languages
javascript
29k
python
23k
shell
16k
php
14k
java
8k
html
7k
sql
7k
css
7k
c#
4k
typescript
3k
c++
3k
c
3k
bash
2k
swift
909
go
903
vba
890
dart
866
r
746
ruby
681
latex
477
kotlin
440
lua
395
matlab
270
rust
213
groovy
183
assembly
174
basic
151
markdown
102
delphi
76
scala
70
haskell
64
ascii
62
actionscript
56
perl
54
twig
53
elixir
52
julia
46
d
37
octave
34
velocity
34
f#
29
clojure
23
pascal
23
less
23
prolog
19
diff
18
vhdl
18
objective-c
16
fortran
16
scheme
16
abap
16
brainfuck
15
tcl
14
sieve
12
factor
11
lisp
10
jinja2
10
haxe
9
oz
9
pug
9
spreadsheet
9
smarty
9
crystal
7
verilog
7
cobol
6
ocaml
6
protobuf
6
q
6
turtle
6
gas
5
rpm
5
erlang
4
jsx
4
forth
3
handlebars
3
eiffel
2
elm
2
gherkin
2
scss
2
slim
2
textile
2
postscript
1
coffeescript
1
cython
1
dtd
1
ebnf
1
haml
1
idl
1
mathematica
1
nsis
1
puppet
1
soy
1
squirrel
1
toml
1
systemverilog
1