gaziks52 Posted December 6, 2008 Report Share Posted December 6, 2008 kāds varētu būt iemesls ka neielādē CSS failu ja urlī raksta piem. blabla/comments/1 ... rakstot blabla/comments.php$id=1 viss darbojas RewriteEngine on RewriteRule ^comments/([0-9]+) comments.php?id=$1 Link to comment Share on other sites More sharing options...
codez Posted December 6, 2008 Report Share Posted December 6, 2008 ja css fails atrodas comments mapē, tad tā ceļs arī tiek pārrakstīts. Pievieno htaccessam šo: RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f Link to comment Share on other sites More sharing options...
gaziks52 Posted December 6, 2008 Author Report Share Posted December 6, 2008 itkā pievienoju bet tāpat nedarbojas ... index.php, comments.php un default.css man atrodas vienā mapē .... varbūt tas ir saistīts ar to ka pašā comments.php nav <link rel="stylesheet" type="text/css" href="default.css"/> bet ir <?php include("includes/header.php");?> tajā header failā ir <link rel="stylesheet" type="text/css" href="default.css"/> Link to comment Share on other sites More sharing options...
codez Posted December 6, 2008 Report Share Posted December 6, 2008 pieliec default priekšā / "/default.css" Link to comment Share on other sites More sharing options...
gaziks52 Posted December 6, 2008 Author Report Share Posted December 6, 2008 nop...pieliku tāpat nedarbojas ! Link to comment Share on other sites More sharing options...
codez Posted December 6, 2008 Report Share Posted December 6, 2008 tad norādi pilnnu ceļu /blabla/default.css Link to comment Share on other sites More sharing options...
gaziks52 Posted December 6, 2008 Author Report Share Posted December 6, 2008 paldies! tagad strādā :) Link to comment Share on other sites More sharing options...
Recommended Posts