Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/v166574/fusca/wiki/includes/MagicWord.php on line 670

Warning: Invalid argument supplied for foreach() in /www/htdocs/v166574/fusca/wiki/includes/MagicWord.php on line 671

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/v166574/fusca/wiki/includes/MagicWord.php on line 675

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/v166574/fusca/wiki/includes/MagicWord.php on line 670

Warning: Invalid argument supplied for foreach() in /www/htdocs/v166574/fusca/wiki/includes/MagicWord.php on line 671

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/v166574/fusca/wiki/includes/MagicWord.php on line 675

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/v166574/fusca/wiki/includes/MagicWord.php on line 670

Warning: Invalid argument supplied for foreach() in /www/htdocs/v166574/fusca/wiki/includes/MagicWord.php on line 671

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/v166574/fusca/wiki/includes/MagicWord.php on line 675

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/v166574/fusca/wiki/includes/MagicWord.php on line 670

Warning: Invalid argument supplied for foreach() in /www/htdocs/v166574/fusca/wiki/includes/MagicWord.php on line 671

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/v166574/fusca/wiki/includes/MagicWord.php on line 675
.htaccess – Mein Wiki

.htaccess

Aus Mein Wiki

Wechseln zu: Navigation, Suche
Zeile 1: Zeile 1:
Tags: .htaccess, htaccess
Tags: .htaccess, htaccess
 +
= Settings / Debug per .htaccess =
=== Turn on Error Reporting with .htaccess ===
=== Turn on Error Reporting with .htaccess ===
  php_flag display_errors on
  php_flag display_errors on
  php_value error_reporting 7
  php_value error_reporting 7
 +
= Url-Rewriting mit .htaccess =
* mod_rewrite Quick Reference and Cheat Sheet
* mod_rewrite Quick Reference and Cheat Sheet
** http://semlabs.co.uk/journal/mod_rewrite-quick-reference-and-cheat-sheet
** http://semlabs.co.uk/journal/mod_rewrite-quick-reference-and-cheat-sheet
 +
* http://stackoverflow.com/questions/2803040/apache-rewrite-mod-rewriterule-path-and-query-string
 +
Sample:
 +
RewriteEngine On
 +
RewriteCond %{HTTP_USER_AGENT} ^.*mobile.*$ [NC]
 +
RewriteRule /path/index.php /path/iphone.php [QSA,L]
 +
#EDIT: QSA is Query string append, so you don't need to handle that 
 +
#differently. If you want you can add an extra parameter too, like:
 +
RewriteRule /path/index.php /path/iphone.php?extra=param [QSA,L]
 +
 +
 +
= Authentifizierung mit .htaccess =
== Hash Generatoren ==
== Hash Generatoren ==
=== Auf Server (Linux) ===
=== Auf Server (Linux) ===

Version vom 01:39, 18. Jun. 2013

Persönliche Werkzeuge