Entries Tagged as 'Og贸lne'

LightTPD, mod_rewrite i Kohana PHP - ukrywanie index.php/

maj 27th, 2008 · No Comments

Dzisiejszy wpis po艣wi臋cony jest integracji frameworka KohanaPHP z serwerem LightTPD w taki spos贸b, aby ukry膰 adres index.php. Tzw. 艂adne linki, czy nice urls s膮 bardzo wa偶ne pod wzgl臋dem optymalizacji strony internetowej pod wyszukiwarki.
Plik lighttpd.conf:
$HTTP[”host”] =~ “^(www\.|)nowaker\.net$” {

simple-vhost.server-root = “/home/www/nowaker.net/html”
accesslog.filename = “/home/www/nowaker.net/logs/access.log”
url.rewrite-once = (”^/(.*)$” => “index.php/$1″)

}
Plik application/config/config.php:

[…]$config[’index_page’] = ”;

[…]
Prawda, […]

Tags: Og贸lne