tikkai maacos Posted December 15, 2008 Report Share Posted December 15, 2008 taisu vienu webu uz pasuutiijuma... uz mana portatiivaa viss ir OK.. tikliidz uzlieku uz hosta.. gljuko... uz mana kompja atrodas c:/wamp/www/newone ->http://localhost/newone/ uz hosta ir /home/www/project/newone/ -> http://hosts.lv/newone/ probleema ir sekojosha... ieksh .htaccess faila ir ieraksts <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^categories/ /newone/categories.php </IfModule> uz mana kompja atverot http://localhost/newone/categories/ raadas viss OK.... bet ja es uz hosta to pashu lieku... tad raadas 404 errors ieksh phpinfo uz abiem php raada Loaded Modules: mod_rewrite es njaz kur vareetu buut probleema Link to comment Share on other sites More sharing options...
andrisp Posted December 15, 2008 Report Share Posted December 15, 2008 htaccess jāpielabo uz pareizo direktoriju. Link to comment Share on other sites More sharing options...
tikkai maacos Posted December 15, 2008 Author Report Share Posted December 15, 2008 kur ta buutu taa pareizaa direktorija? es visu ko esmu izmeeginaajies :( Link to comment Share on other sites More sharing options...
Delfins Posted December 15, 2008 Report Share Posted December 15, 2008 (edited) gan jau ka tev vispār htaccess atrubīts.. daži hostētāji tā dara. Visvienkāršāka pārbaude - uzliec 403 erroru :) Edited December 15, 2008 by Delfins Link to comment Share on other sites More sharing options...
rpr Posted December 17, 2008 Report Share Posted December 17, 2008 uz mana kompja atverot http://localhost/newone/categories/ raadas viss OK....bet ja es uz hosta to pashu lieku... tad raadas 404 errors nu tas tiešām ir dīvaini, ka uz tava kompa rādās. jo RewriteRule vajadzeetu buut ^newone/categories, nevis ^categories. vai arii jaapieliek klaat RewriteBase /newone Link to comment Share on other sites More sharing options...
Recommended Posts