Autor Zpráva
sdf
Profil *
Ahoj. Nechce se mi zobrazovat css po přidání htaccess pro pěkné url.
Na css odkazuji <link rel = "stylesheet" type = "text/css" href = "http://www.dave777.xf.cz/data/style.css">
Zajímavý, že stejným způsobem odkazuji na favicon a to funguje.

Htaccess:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteBase /

RewriteRule ^([^/]+)/?$ ?menu=$1 [L,QSA]
RewriteRule ^([^/]+)/([^/]+)?/?$ ?menu=$1&typ=$2 [L,QSA]
RewriteRule ^([^/]+)/([^/]+)/([^/]+)?/?$ ?menu=$1&typ=$2&podtyp=$3 [L,QSA]

Options +FollowSymlinks
RewriteCond %{HTTP_HOST} ^dave777.xf.cz
RewriteRule (.*) http://www.dave777.xf.cz/$1 [R=301,QSA,L]

ErrorDocument 404 /404.php

Díky za vše.
sdf
Profil *
Zde je adresa: www.dave777.xf.cz.
sdf
Profil *
Pomoc prosím.
Supra
Profil *
amatér nemá to bejt takhle <link rel = "stylesheet" type = "text/css" href = "http://www.dave777.xf.cz/data/style.css">
ale takhle :
]<link rel = "stylesheet" type = "text/css" href = "data/style.css">
:D :D :D :D
Gekon
Profil
Supra
Amatére.
sdf
Profil *
To já vím, jenže i s tím to nefunguje.
supra
Profil *
ale vžyt ti to funguje
sdf
Profil *
Teď jsem tam dal tu původní verzi.
Toto téma je uzamčeno. Odpověď nelze zaslat.

0