Soprano Posted August 22, 2011 Report Share Posted August 22, 2011 (edited) Man radusies problēma ar appserver kad es eju iekšā http://localhost man rāda šo bet kad es eju http://localhost/phpmyadmin vis strādā un kad eju iekšā šādi http://127.0.0.1/ arī viss strādā varbūt host failā kautkas nav īsti kārtīā # localhost name resolution is handled within DNS itself. 127.0.0.1 localhost # ::1 localhost 127.0.0.1 activate.adobe.com 127.0.0.1 practivate.adobe.com 127.0.0.1 ereg.adobe.com 127.0.0.1 activate.wip3.adobe.com 127.0.0.1 wip3.adobe.com 127.0.0.1 3dns-3.adobe.com 127.0.0.1 3dns-2.adobe.com 127.0.0.1 adobe-dns.adobe.com 127.0.0.1 adobe-dns-2.adobe.com 127.0.0.1 adobe-dns-3.adobe.com 127.0.0.1 ereg.wip3.adobe.com 127.0.0.1 activate-sea.adobe.com 127.0.0.1 wwis-dubc1-vip60.adobe.com 127.0.0.1 activate-sjc0.adobe.com Pamaniju velvienu lietu uz IE http://localhost/ Strādāā, bet kapēc nestrādāuz firefox Edited August 22, 2011 by Soprano Link to comment Share on other sites More sharing options...
BOT^a Posted August 23, 2011 Report Share Posted August 23, 2011 cik redzu tavaa aiztusheetajaa vietaa vinjsh meegjina piekonekteeties domeenam, tas noziimee ka pashaa index failaa vai arii htacess faila air domeena redirects, un taapeec arii tev neiet. ieksh hosts faila pieliec klaat veel 2 ieraxtus ar to tavu domeenu 127.0.0.1 domeens.lv 127.0.0.1 www.domeens.lv Link to comment Share on other sites More sharing options...
laucinieks Posted August 23, 2011 Report Share Posted August 23, 2011 BOT^a, kāpēc jāliek host failā, ja var ieiet PP, kur pirki domēnu (visticamāk nic (ja nav hostings)) un uzlikt tur visus uzstādījumus. (Protams BOT^a variants strādās, bet tikai uz tava datora, ja vēlies, lai citi varētu ieiet caur domain'u, dari kā es teicu.) Link to comment Share on other sites More sharing options...
Soprano Posted August 23, 2011 Author Report Share Posted August 23, 2011 index failaa vai arii htacess faila air domeena redirects man www mapē ir tikai phpmyadmin Link to comment Share on other sites More sharing options...
BOT^a Posted August 23, 2011 Report Share Posted August 23, 2011 BOT^a, kāpēc jāliek host failā, ja var ieiet PP, kur pirki domēnu (visticamāk nic (ja nav hostings)) un uzlikt tur visus uzstādījumus. (Protams BOT^a variants strādās, bet tikai uz tava datora, ja vēlies, lai citi varētu ieiet caur domain'u, dari kā es teicu.) ja tu taisi un testee lapu uz sava datora, bet peectam lapu liksi uz hostinga vai sava servera, kaada velna peec jau preikshlaiciigi vajadzeetu piesaistiit visu domeenu testam pie sava PC? man www mapē ir tikai phpmyadmin vhost? Link to comment Share on other sites More sharing options...
Soprano Posted August 23, 2011 Author Report Share Posted August 23, 2011 (edited) a tu taisi un testee lapu uz sava datora, bet peectam lapu liksi uz hostinga vai sava servera, kaada velna peec jau preikshlaiciigi vajadzeetu piesaistiit visu domeenu testam pie sava PC? es ekspermentēju ar .htaccess <VirtualHost *:80> ServerAdmin [email protected] DocumentRoot "C:/Apache2.2/docs/dummy-host.x" ServerName dummy-host.x ServerAlias www.dummy-host.x ErrorLog "logs/dummy-host.x-error.log" CustomLog "logs/dummy-host.x-access.log" common </VirtualHost> <VirtualHost *:80> ServerAdmin [email protected] DocumentRoot "C:/Apache2.2/docs/dummy-host2.x" ServerName dummy-host2.x ErrorLog "logs/dummy-host2.x-error.log" CustomLog "logs/dummy-host2.x-access.log" common </VirtualHost> Edited August 23, 2011 by Soprano Link to comment Share on other sites More sharing options...
BOT^a Posted August 23, 2011 Report Share Posted August 23, 2011 ja godiigi pilniigi bezveertiiga atbilde Link to comment Share on other sites More sharing options...
sLIDe Posted August 23, 2011 Report Share Posted August 23, 2011 Pamēģini www mapē ielikt index.html vai index.php failu. Link to comment Share on other sites More sharing options...
BOT^a Posted August 23, 2011 Report Share Posted August 23, 2011 iekopee savu htacces faila kontentu!!! Link to comment Share on other sites More sharing options...
sLIDe Posted August 23, 2011 Report Share Posted August 23, 2011 Iepriekšējo postu vari neņemt vērā. Tev ir izveidota mape C:/Apache2.2/docs/dummy-host.x? Ja nav, tad tur arī slēpjas problēma, vismaz es tā domāju. Nezinu, kā AppServ veido Aliasus, bet iespējams, ir norādīts globālais alias uz PhpMyAdmin, tāpēc to arī vari atvērt. Link to comment Share on other sites More sharing options...
BOT^a Posted August 23, 2011 Report Share Posted August 23, 2011 ja nav izveidota taa mape tad parasti apacis met erroru un nestarteejas. bet kas maniits uz vecaakaam versijaam, ja arii palaizhas tad tikunta amet 404 vai 403 erroru Link to comment Share on other sites More sharing options...
laucinieks Posted August 23, 2011 Report Share Posted August 23, 2011 (edited) ja tu taisi un testee lapu uz sava datora, bet peectam lapu liksi uz hostinga vai sava servera, kaada velna peec jau preikshlaiciigi vajadzeetu piesaistiit visu domeenu testam pie sava PC? vhost? Ja viņš taisa un testē lapu uz sava datora, tad kādēļ viņam vajag iet caur domain'u, ja ir pieejams localhost jebšu 127.0.0.1 ? P.S. autor, ja nestrādā localhost, tad lieto 127.0.0.1, kur problēma? Tas tik un tā ir viens un tas pats. Edited August 23, 2011 by laucinieks Link to comment Share on other sites More sharing options...
BOT^a Posted August 23, 2011 Report Share Posted August 23, 2011 esi dzirdeejis par subdomeenu suutiishanu uz def index +dns wildcardiem? gribu redzeet kaa bez manuaala hosts faila editoshanas tu to realizeesi. muusdienaas nelietot url rewriting ir nestiliigi + SEO nedraudziigi!! 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