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
(Turn on Error Reporting with .htaccess)
(Url-Rewriting / Speaking-Urls mit .htaccess)
Zeile 8: Zeile 8:
= Url-Rewriting / Speaking-Urls mit .htaccess =
= Url-Rewriting / Speaking-Urls mit .htaccess =
 +
== Cheat Sheets ==
* 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
 +
* Mod_Rewrite Variables Cheatsheet
 +
** http://www.askapache.com/htaccess/mod_rewrite-variables-cheatsheet.html
* http://stackoverflow.com/questions/2803040/apache-rewrite-mod-rewriterule-path-and-query-string
* http://stackoverflow.com/questions/2803040/apache-rewrite-mod-rewriterule-path-and-query-string
Zeile 22: Zeile 25:
* http://www.askapache.com/htaccess/modrewrite-tips-tricks.html
* http://www.askapache.com/htaccess/modrewrite-tips-tricks.html
 +
 +
** Sample:
 +
#Sending requests to a php script ^
 +
#This .htaccess rewrite example invisibly rewrites requests for all Adobe pdf
 +
#files to be handled by /cgi-bin/pdf-script.php
 +
RewriteRule ^(.+)\.pdf$  /cgi-bin/pdf-script.php?file=$1.pdf [L,NC,QSA]
= Authentifizierung mit .htaccess =
= Authentifizierung mit .htaccess =

Version vom 01:45, 18. Jun. 2013

Persönliche Werkzeuge