Thread View: pl.comp.www.server-side
1 messages
1 total messages
Started by jivanmuktaWYTNIJTO
Tue, 10 Aug 2010 11:51
tajemnicza zmiana URLa
Author: jivanmuktaWYTNIJTO
Date: Tue, 10 Aug 2010 11:51
Date: Tue, 10 Aug 2010 11:51
37 lines
2313 bytes
2313 bytes
Mam plik http://localhost/nieruchomosci-ogloszenia/secure/import_send.html
Omyłkowo wpisałem
http://localhost/nieruchomosci-ogloszenia/secure/import_send.php i adres zmienił
się na http://localhost/nieruchomosci-ogloszenia/secure/enter_announcement.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/secure/import_send.php to pojawia mi
się URL http://localhost/nieruchomosci-ogloszenia/secure/enter_announcement.php
--
Wysłano z serwisu OnetNiusy: http://niusy.onet.pl
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads