Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [Kohana]Kohana pod Linuxem, Problem z htaccess
MateuszS
post
Post #1





Grupa: Zarejestrowani
Postów: 1 429
Pomógł: 195
Dołączył: 6.10.2008
Skąd: Kraków/Tomaszów Lubelski

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


Hey, mam skonfigurowanego apacza na wirutalnej maszynie, tak że mogę spokojnie odpalać pliki php etc. Teraz chce przeniesc kohane na ten serwer do katalogu glownego www. Niestety nie wiem czemu ale chyba nie widzi mojego pliku .htaccess

bootstrap.php
  1. 'base_url' => '10.83.200.80/' //probowalem z localhost, bez adresu itd


.htaccess
  1. # Turn on URL rewriting
  2. RewriteEngine On
  3.  
  4. # Installation directory
  5. RewriteBase 10.83.200.80/
  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,L]


.httpdconf
http://wklej.org/id/1476970/


Kohana wyrzuca standardowy error:
Kohana_HTTP_Exception [ 404 ]: The requested URL / was not found on this server.



Ten post edytował MateuszS 1.10.2014, 14:04:27
Go to the top of the page
+Quote Post

Posty w temacie


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

 



RSS Aktualny czas: 16.10.2025 - 13:34