NEMsss Posted January 31, 2008 Report Share Posted January 31, 2008 Vai var uztuter 2 web ar e107 websistemu uz 1 kompja. Kā? Man itka nesanaca, jo kad rasktu http://localhost/instal.php , tad atver neistu lapu, nu "Server not found". Link to comment Share on other sites More sharing options...
Admid3f^ Posted January 31, 2008 Report Share Posted January 31, 2008 uz 1 pc nevar 2 webus turet ... tikai var ucoz.net un shitos vissus bet tadus prostus nevar ... Link to comment Share on other sites More sharing options...
Teddy Posted January 31, 2008 Report Share Posted January 31, 2008 var, tikai localhost vietaa noraadi ip adresi un izveelies 2 dazhaadas datu baazes un atshkjiriigaas mapees turi webu... Piemeeram.. Tavs main webs http://tavaip/webs tavs otrs webs http://tavsip/webs2 tas pats ir ar datu baazeem main weba db - maindb otra weba db - otradb Link to comment Share on other sites More sharing options...
Admid3f^ Posted January 31, 2008 Report Share Posted January 31, 2008 Teddy es domaju ka nevar pldd.. Tagad vareshu turet 2 webus Link to comment Share on other sites More sharing options...
Teddy Posted January 31, 2008 Report Share Posted January 31, 2008 (edited) Tas pats buus bez ip adreses, ja gribi ar domein vaardu, tikai buus jaanoraada virtualhosti, tas bija apacha konfigaa, kur? preciizi neatceros... Izskatiisies shaadi... <VirtualHost *:80> ServerAdmin [email protected] DocumentRoot /www/lapa1/ ServerName tavalapa.oo.lv ErrorLog @rel_logfiledir@/lapa1-error_log CustomLog @rel_logfiledir@/lapa1-access_log common </VirtualHost> <VirtualHost *:80> ServerAdmin [email protected] DocumentRoot /www/lapa2/ ServerName tavalapa2222222222.oo.lv ErrorLog @rel_logfiledir@/lapa2-error_log CustomLog @rel_logfiledir@/lapa2-access_log common </VirtualHost> Taadejaadi ieguusti 2as lapas ar domeinu uz vienas kastes p.s. ja kaut ko nomudijos, pasakat pareiiz, vnk sen neesmu neko ar shiim lietaam darijis Edited January 31, 2008 by Teddy Link to comment Share on other sites More sharing options...
thydevil Posted January 31, 2008 Report Share Posted January 31, 2008 Izskatiisies shaadi... <VirtualHost *:80> ServerAdmin [email protected] DocumentRoot /www/lapa1/ ServerName tavalapa.oo.lv ErrorLog @rel_logfiledir@/lapa1-error_log CustomLog @rel_logfiledir@/lapa1-access_log common </VirtualHost> <VirtualHost *:80> ServerAdmin [email protected] DocumentRoot /www/lapa2/ ServerName tavalapa2222222222.oo.lv ErrorLog @rel_logfiledir@/lapa2-error_log CustomLog @rel_logfiledir@/lapa2-access_log common </VirtualHost> Taadejaadi ieguusti 2as lapas ar domeinu uz vienas kastes p.s. ja kaut ko nomudijos, pasakat pareiiz, vnk sen neesmu neko ar shiim lietaam darijis Ideja jau laba, bet kaada suuda peec vajag divus atsevishkjus ja var katru savaa folderii un ar savu datubaazi? Jaa tikai ucoz.net, kaatad, vairaak jau urod.net Link to comment Share on other sites More sharing options...
Teddy Posted January 31, 2008 Report Share Posted January 31, 2008 Varbuut shaadi labaak sapratiisi www.tavalapa.lv un www.vinjalapa.lv var staaveet uz vienas kastes, tikai jaanoraada virtuaalais hosts, lai uztureetu 2lapas nevaig 2kompjus Link to comment Share on other sites More sharing options...
RavenHolm Posted January 31, 2008 Report Share Posted January 31, 2008 (edited) vislabākie ir virtuālie hosti > skat teddy postu... Vienkārši un ērti Vhostus taisa @ C:\installdir\apache\conf mapē failā httpd.conf vai virtual-hosts.conf Edited January 31, 2008 by RavenHolm Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now