SnakeLV Posted November 30, 2008 Report Share Posted November 30, 2008 (edited) Sen gribēju pajautāt, bet nu. piem man ir tā root --web1 --web2 ----files ----style <a href="index.php?sadala=a" >aa</a> links atrodas mapē files, tad tas pieprasīs arī failu no mapes files. (http://root/web2/files/index.php) ja uzlikšu <a href="/index.php?sadala=a" >aa</a> viņš ņem root mapi. (http://root/index.php) Kā uzlikt, lai katrā projektā (web1, web2) sakne būtu web1/web2 nevis pati pati sakne root? Manuprāt, to varēja izdarīt gan ar htaccess, gan ar php uzstātot base url. Tik nezinu kā. Edited November 30, 2008 by SnakeLV Link to comment Share on other sites More sharing options...
anonīms Posted November 30, 2008 Report Share Posted November 30, 2008 Īsti nesapratu par ko iet runa, bet pamēģini mod_Rewrite Link to comment Share on other sites More sharing options...
SnakeLV Posted November 30, 2008 Author Report Share Posted November 30, 2008 Īsti nesapratu par ko iet runa, bet pamēģini mod_Rewrite mm nē, ne to gribēju. vnk nezinu, kā pareizi izskaidrot Link to comment Share on other sites More sharing options...
xPtv45z Posted November 30, 2008 Report Share Posted November 30, 2008 http://httpd.apache.org/docs/1.3/vhosts/ Link to comment Share on other sites More sharing options...
SnakeLV Posted December 1, 2008 Author Report Share Posted December 1, 2008 mm, un savādāk nevar? Link to comment Share on other sites More sharing options...
marcis Posted December 2, 2008 Report Share Posted December 2, 2008 Savādāk varētu ar mod_rewrite, bet tas būs risinājums čerez ž* Link to comment Share on other sites More sharing options...
Recommended Posts