Portál AbcLinuxu, 12. května 2025 01:57
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^/(.*)$ index.php?obsah=$1 [L,QSA]
Když v prohlížeči zadám http://127.0.0.1/~tpikalek/pokus1/uvod, mělo by to hodit obsah /home/tpikalek/Server/pokus1/index.php?obsah=uvod, ale místo toho to vyhodí chybu:
The requested URL /~tpikalek/pokus1/uvod was not found on this server.
Zkoušel jsem i jiné podmínky.
Jak to udělat, aby to fungovalo?
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.