renathy Posted July 16, 2011 Report Share Posted July 16, 2011 Vai varetu ludzu apgaismot, ko nozime shads htaccess? Vai tas nozīmētu, ka viss vienmēr ies un sāksies ar "index.php"? RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([a-z0-9._/-]+)? index.php Options -Indexes Quote Link to comment Share on other sites More sharing options...
vostro Posted July 16, 2011 Report Share Posted July 16, 2011 index.php nebūs redzams URL adresē! Quote Link to comment Share on other sites More sharing options...
nikidijs Posted July 16, 2011 Report Share Posted July 16, 2011 Pie reize varbūt varat ieteikt, kur varētu pamācīties šitās .htaccess štelles. Ko katrs simbols, komanda nozīmē u.t.t. Quote Link to comment Share on other sites More sharing options...
daGrevis Posted July 16, 2011 Report Share Posted July 16, 2011 Tur jau reāli ir tikai Apačī komandas un regulārās izteiksmes. Quote Link to comment Share on other sites More sharing options...
viena tante Posted July 17, 2011 Report Share Posted July 17, 2011 http://corz.org/serv/tricks/htaccess.php šeit, manuprāt ir daudz maz apskaidrots Quote Link to comment Share on other sites More sharing options...
nikidijs Posted July 17, 2011 Report Share Posted July 17, 2011 @viena tante - smuks ieteikums. Paldies :) Quote Link to comment Share on other sites More sharing options...
rpr Posted July 17, 2011 Report Share Posted July 17, 2011 nē viss neies caur index.php - neies faii, kas ir uz servera, pārējie laikam ies, bet vienīgi šķiet, ka tur kaut kas pārmudrīts, to pašu var uzrakstīt vienkāršāk. RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule .* index.php Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.