MisterSimpson
Simpsons Fan
- 20 April 2006
- 2.947
- 106
Hallo habe eine .htaccess Datei die 2 mal nach Benutzerdaten fragt. Wie kann das sein?
Hier der Code
Hier der Code
Code:
AuthUserFile /pfad/zum/root/.passwd
AuthGroupFile /dev/null
AuthName "Intern"
AuthType Basic
<Files ~ "[^index.php|register|statistik]">
require valid-user
</Files>
Options +FollowSymLinks
RewriteEngine on
RewriteOptions inherit
RewriteRule ^register/?$ https://www.domain.de/index.php?id=737 [R=301,L,NC]
### Permanent Redirect (301) RewriteRule www.domain.de -> domain.de
#RewriteCond %{HTTP_HOST} ^domain.de$ [NC]
#RewriteRule ^(.*) https://www.domain.de/$1 [R=301,L]
### Redirect simulateStaticDocuments-URLs except typo3-be
RewriteRule ^(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic\.php)/ - [L]
RewriteRule ^typo3$ typo3/index_re.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)\.html$ /index.php [L]
#RewriteRule ^statistik$ https://www.domain.de/cgi-bin/awstats.pl?config=domain.de [L]
RewriteCond %{REMOTE_ADDR} !^IP Adresse$ [NC]
RewriteCond %{HTTP_HOST} ^crawl.domain.de$ [NC]
RewriteRule .* https://www.domain.de [R=301,L]
RewriteCond %{HTTP_HOST} ^domain.de$ [NC]
RewriteRule ^(.*) https://www.domain.de/$1 [R=301,L]
RewriteCond %{HTTP_HOST} !^crawl.domain.de$ [NC]
RewriteCond %{SERVER_PORT} !^443$
RewriteRule .* https://www.domain.de [R=301,L]