Mam plik http://localhost/nieruchomosci-ogloszenia/...mport_send.html
Omyłkowo wpisałem
http://localhost/nieruchomosci-ogloszenia/...import_send.php i adres zmienił
się na http://localhost/nieruchomosci-ogloszenia/...nnouncement.php
Nie rozumiem skąd to "przekierowanie".
Nie mam pliku secure/import_send.php ani secure/enter_announcement.php
Mam natomiast plik enter_announcement.php, katalog wyżej.
W katalogu secure mam .htaccess:
ErrorDocument 401 "C:\Program
Files\wamp\www\nieruchomosci-ogloszenia\secure\denial.html"
AuthUserFile "C:\Program Files\wamp\www\nieruchomosci-ogloszenia\secure\.htpass"
AuthName "Strony zabezpieczone"
AuthType Basic
require valid-user
Natmiast katalog wyżej mam .htaccess:
#v+
ErrorDocument 401 "C:\Program Files\wamp\www\nieruchomosci-ogloszenia\denial.html"
AuthUserFile "C:\Program Files\wamp\www\nieruchomosci-ogloszenia\.htpass"
AuthName "Strony zabezpieczone"
AuthType Basic
require valid-user
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* index.html [L]
#v-
Byłbym wdzięczny za wytłumaczenie dlaczego jaj omyłkowo wchodzę na
http://localhost/nieruchomosci-ogloszenia/...import_send.php to pojawia mi
się URL http://localhost/nieruchomosci-ogloszenia/...nnouncement.php