Portál AbcLinuxu, 11. listopadu 2025 14:03
lighttpd.conf nastavím mod_rewrite takto
url.rewrite-once = ( "^/(.*)$" => "/index.php?co=$1" )tak to sice funguje jak chci až na to, že se nenačte CSS styl. V Apache funguje tohle v
.htaccess
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?co=$1 [L,QSA]
Netušíte čím to může být?
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.