Thread .htaccess Redirect (39 answers)
Opened by Escape at 2010-05-18 18:26

pq
 2010-05-19 00:17
#137290 #137290
User since
2003-08-04
12208 Artikel
Admin1
[Homepage]
user image
folgendes funktioniert hier prima:
Code: (dl )
1
2
RewriteCond %{HTTP_HOST} ^battie.perl-community.de$ [NC]
RewriteRule ^/index\.html$ /robots.txt [R=301,L]

folgendes funktioniert auch:
Code: (dl )
1
2
RewriteCond %{HTTP_HOST} ^battie.perl-community.de$ [NC]
RewriteRule ^/index\.html$ /robots.txt [L]

und folgendes auch:
Code: (dl )
1
2
RewriteCond %{HTTP_HOST} ^battie.perl-community.de$ [NC]
RewriteRule ^/index\.html$ /robots.txt [PT,L]


da du aber nicht gesagt hast, was du brauchst, musst du dir eins aussuchen.
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.h...
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread .htaccess Redirect