kamikaza2 Posted October 4, 2007 Report Share Posted October 4, 2007 (edited) Lietoju Linux Gentto.... ... PC stav talu prom, un to wadu ar webminu.... Lietoju apachi kas ir atrodama webminaa.... Viss itka iet, bet tagad, kad velos uzmest Vhostu... nekas nesanak.... Ieksh httpd.conf faila apaksha itka ieraxtu <VirtualHost *> DocumentRoot "var/www/localhost/htdocs/" ServerName adrese.lv ServerAlias adrese.lv </VirtualHost> un <VirtualHost *> DocumentRoot "var/www/localhost/htdocs/pro" ServerName pro.adrese.lv ServerAlias pro.adrese.lv </VirtualHost> Kad eju pro.adrese.lv maini aizmet uz to /pro mapi, bet kad eju vnk adrese.lv mani ari aizmet uz /pro mapi kaut ari Document Roota esmu ieraxtijis TIKAI /htdocs/ KA LAI TO LABO?? Edited October 4, 2007 by kamikaza2 Link to comment Share on other sites More sharing options...
valchers Posted October 4, 2007 Report Share Posted October 4, 2007 vai tad pašā webmin`ā nav iespēja pievienot vhostus? vakar pats uzliku webmin 1.370 un viss normāli strādā, pasties iekš Server->Apache webserver Link to comment Share on other sites More sharing options...
*jancis38* Posted October 4, 2007 Report Share Posted October 4, 2007 jā. agrak man tas pats bija. pamēģini apmest otrādi, tipo: <VirtualHost *> DocumentRoot "var/www/localhost/htdocs/pro" ServerName pro.adrese.lv ServerAlias pro.adrese.lv </VirtualHost> <VirtualHost *> DocumentRoot "var/www/localhost/htdocs/" ServerName adrese.lv ServerAlias adrese.lv </VirtualHost> Link to comment Share on other sites More sharing options...
kamikaza2 Posted October 4, 2007 Author Report Share Posted October 4, 2007 Neka... Hmmm nupar sapratu, ka vhost man vnk nestrada.... Mosh vinju kkur vajag ieslegt... Zinu ka tas bija Winadi bet uz linux esmu zaljsh ka gurkitis Link to comment Share on other sites More sharing options...
valchers Posted October 4, 2007 Report Share Posted October 4, 2007 man personigi visa konfigurācija stāv apache2.conf failā un man šeit ir šādi: NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot /var/www ServerName adrese.lv ServerAlias adrese.lv </VirtualHost> <VirtualHost *:80> DocumentRoot /var/www/dir ServerName dir.adrese.lv ServerAlias dir.adrese.lv </VirtualHost> Link to comment Share on other sites More sharing options...
kamikaza2 Posted October 4, 2007 Author Report Share Posted October 4, 2007 un kur ta tew ir tas apache2.conf Link to comment Share on other sites More sharing options...
valchers Posted October 4, 2007 Report Share Posted October 4, 2007 /etc/apache2/apache2.conf Link to comment Share on other sites More sharing options...
kamikaza2 Posted October 4, 2007 Author Report Share Posted October 4, 2007 (edited) man piemeram vispar tur tada faila nav ir tikai apache2-builtin-mods httpd.conf magic .... Mosh kads var uzmest savu httpd.conf ... Mosh esmu kko ne ta izdarijis jau sakuma.. Edited October 5, 2007 by kamikaza2 Link to comment Share on other sites More sharing options...
kamikaza2 Posted October 5, 2007 Author Report Share Posted October 5, 2007 Mosh kads var uzmest savu httpd.conf HELP PLZZ!!! Link to comment Share on other sites More sharing options...
Linc Posted October 5, 2007 Report Share Posted October 5, 2007 (edited) kamikaza2 said: ... PC stav talu prom, un to wadu ar webminu.... Lietoju apachi kas ir atrodama webminaa.... Viss itka iet, bet tagad, kad velos uzmest Vhostu... nekas nesanak.... Ieksh httpd.conf faila apaksha itka ieraxtu <VirtualHost *> DocumentRoot "var/www/localhost/htdocs/" ServerName adrese.lv ServerAlias adrese.lv </VirtualHost> un <VirtualHost *> DocumentRoot "var/www/localhost/htdocs/pro" ServerName pro.adrese.lv ServerAlias pro.adrese.lv </VirtualHost> Kad eju pro.adrese.lv maini aizmet uz to /pro mapi, bet kad eju vnk adrese.lv mani ari aizmet uz /pro mapi kaut ari Document Roota esmu ieraxtijis TIKAI /htdocs/ KA LAI TO LABO?? parej uz lighttpd un bus viss atrisinats un mazak resursus ediis emerge lighttpd Edited October 5, 2007 by Linc Link to comment Share on other sites More sharing options...
kamikaza2 Posted October 6, 2007 Author Report Share Posted October 6, 2007 Es linuxa neko daudz nejedzu... un atalinati ar tadu noteikti nemaceshu daboties .... Es zinu, ka ir iespejams uzmest ari vhostu uz webmina apaches.... PLzz... kursh war palidzet./... 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