![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 381 Pomógł: 12 Dołączył: 9.07.2007 Ostrzeżenie: (0%) ![]() ![]() |
Witam, mam mały problem, otóż mam stronę która wykorzystuje .htaccess ale coś nie działa bo jak na nią wchodzę to mi się wyświetla "No input file specified." Oto zawartość pliku .htaccess:
Kod RewriteEngine on RewriteCond $1 !^(index\.php|img|galeria|js|css|robots\.txt|test\.php) RewriteRule ^(.*)$ /index.php/$1 [L] # #RewriteEngine on #RewriteCond %{REQUEST_FILENAME} !-f #RewriteRule ^(.*)$ /index.php/$1 [L] Co i gdzie muszę ustawić aby wszystko działało ? |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 17 Pomógł: 3 Dołączył: 7.04.2005 Ostrzeżenie: (0%) ![]() ![]() |
spróbuj wywalić slashe na początku ścieżki, tj.
Kod RewriteEngine on
RewriteCond $1 !^(index\.php|img|galeria|js|css|robots\.txt|test\.php) RewriteRule ^(.*)$ index.php/$1 [L] # #RewriteEngine on #RewriteCond %{REQUEST_FILENAME} !-f #RewriteRule ^(.*)$ index.php/$1 [L] |
|
|
![]() ![]() |
![]() |
Aktualny czas: 15.10.2025 - 14:53 |