![]() |
![]() |
![]() ![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 117 Pomógł: 0 Dołączył: 12.11.2008 Ostrzeżenie: (0%) ![]() ![]() |
.htaccess:
Kod RewriteEngine On RewriteBase / RewriteCond %{REMOTE_ADDR} !127.0.0.1 RewriteRule ^$ public/ [L] RewriteRule (.*) public/$1 [L] RewriteCond %{REMOTE_ADDR} 127.0.0.1 RewriteRule ^$ private/ [L] RewriteRule (.*) private/$1 [L] Czyli chcę, aby: - mi (IP==127.0.0.1) pokazywało pod / zawartość /private/ - komuś z zewnątrz (IP!==127.0.0.1) pod / pokazało zawartość /public/ Niestety jest error 500 ![]() |
|
|
![]() ![]() |
![]() |
Aktualny czas: 21.08.2025 - 09:01 |