jupper Posted October 27, 2003 Report Share Posted October 27, 2003 kaa var noteikt, kaada adrese ir ierakstiita paarlukprogramma. man ir lapa, kurai ir divas valodas - latvieshu un lietuvieshu un vajag, lai ierakstot adrese.lv aiziet uz lv direktoriju un ja ieraksta adrese.lt uz lt direktoriju Link to comment Share on other sites More sharing options...
Venom Posted October 27, 2003 Report Share Posted October 27, 2003 $_SERVER['HTTP_HOST'] vai kaut kas liidziigs ieksh $_SERVER apskaties: <?php print_r($_SERVER); ?> Link to comment Share on other sites More sharing options...
RuncZ Posted October 27, 2003 Report Share Posted October 27, 2003 nu jaasaliek virtualhosti ieksh httpd.conf (mans domaat, ka ar tiem ir eertaak) apmeeram shitaa (ja lieto apache) NameServer xxx.xxx.xxx.xxx <VirtualHost ww.adrese.lv> ServerAdmin admin@adrese.lv DocumentRoot /celjsh/uz/lv/direktoriju ServerName www.adrese.lv </VirtualHost> <VirtualHost www.adrese.lt> ServerAdmin admin@adrese.lt DocumentRoot /celjsh/uz/lt/direktoriju ServerName www.adrese.lt </VirtualHost> taaa xxx.xxx.xxx.xxx vietaa jaaraxta tava servera ip adrese un ta jau vaidzeetu rulleeties Link to comment Share on other sites More sharing options...
Recommended Posts