anonīms Posted January 12, 2009 Report Share Posted January 12, 2009 Ir lapa, kas ir izvietota /www/ mapē, bet gribas to lapiņu paslēpt (uzlikt coming soon), bet, ja es ielieku šo lapu teiksim www/lapa/ tad atkal ir jāmaina, gan bilžu src, gan css failā visu. Varbūt ir iespēja kaut kā izveidot, lai šī ieliekot www/lapa/ nebūtu jāmaina src un css? Link to comment Share on other sites More sharing options...
marcis Posted January 12, 2009 Report Share Posted January 12, 2009 Ir iespējams, norādot relatīvus ceļus uz bildēm, css, js. Ar mod_rewrite arī var, bet tad zūd jēga pārvietot lapu uz citu mapi. Kāpēc negribi uzlikt index.html ? Link to comment Share on other sites More sharing options...
anonīms Posted January 12, 2009 Author Report Share Posted January 12, 2009 ā, vispār jā. paldies :) Link to comment Share on other sites More sharing options...
anonīms Posted January 12, 2009 Author Report Share Posted January 12, 2009 Hmm, viņš tāpat uzskata index.php kā galveno :\ Link to comment Share on other sites More sharing options...
Klez Posted January 12, 2009 Report Share Posted January 12, 2009 a tu pasaki ka galvenais ir tikai index ..... veel var ar htaccess visu suutiit uz vienu failu ... Link to comment Share on other sites More sharing options...
anonīms Posted January 12, 2009 Author Report Share Posted January 12, 2009 a kā pateikt, kurš ir galvenais? Sūtīt uz vienu index visu laiku man nevajag, jo paralēli vajag arī strādāt pie "tās" lapas. Link to comment Share on other sites More sharing options...
Klez Posted January 12, 2009 Report Share Posted January 12, 2009 (edited) htaaceesaa ielic piem 403 error un 403 errorpage suuti iz sevis izveidoto ... un no savas ip atljauj .. šis atļaus pieslēgties tikai no ip: 192.111.222.221 ErrorDocument 403 /access.html Order Deny,Allow Deny from all Allow from 192.111.222.221 Satisfy Any un paareejiem raadiis to kas ir failaa: tavserveris.lv/access.html Edited January 12, 2009 by Klez Link to comment Share on other sites More sharing options...
anonīms Posted January 12, 2009 Author Report Share Posted January 12, 2009 thx :) Bet vispār paņēmu htaccess failā visus index pārsaucu par index2 un failu tāpat. Takā viss iet caur $GET'tiem, tad viss iet perfekti. Link to comment Share on other sites More sharing options...
Recommended Posts