Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [Kohana] The requested URL / was not found on this server.
pifarek
post 11.11.2012, 16:05:02
Post #1





Grupa: Zarejestrowani
Postów: 91
Pomógł: 15
Dołączył: 3.03.2009
Skąd: Włocławek

Ostrzeżenie: (0%)
-----


Witam.
Mam serwer na linuxpl.com, wgrałem tam aplikację na Kohana 3.3, ustawiłem .htaccess i bootstrap.php, do serwera jest podpięta domenta. Po wpisaniu adresu w przeglądarkę pokazuje się błąd Kohany: "The requested URL / was not found on this server.".
bootstrap.php:
  1. Kohana::init(array(
  2. 'base_url' => '/',
  3. 'index_file' => false
  4. ));

.htaccess:
  1. # Turn on URL rewriting
  2. RewriteEngine On
  3.  
  4. # Installation directory
  5. RewriteBase /
  6.  
  7. # Protect hidden files from being viewed
  8. <Files .*>
  9. Order Deny,Allow
  10. Deny From All
  11. </Files>
  12.  
  13. # Protect application and system files from being viewed
  14. RewriteRule ^(?:application|modules|system)\b.* index.php/$0 [L]
  15.  
  16. # Allow any files or directories that exist to be displayed directly
  17. RewriteCond %{REQUEST_FILENAME} !-f
  18. RewriteCond %{REQUEST_FILENAME} !-d
  19.  
  20. # Rewrite all other URLs to index.php/URL
  21. RewriteRule .* index.php/$0 [PT]


Na hostingu jest podpięta jeszcze inna domena, na której działa Kohana w jakiejś starszej wersji z gałęzi 3.x, bootstrap i htaccess są ustawione tak samo, jak powyżej. W czym może być problem?


--------------------
www.swiths.com
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 19.07.2025 - 10:16