yeahz Posted February 10, 2010 Report Share Posted February 10, 2010 Kāpēc kad es mēģinu ieseivot hosts failu (C:\Windows\system32\drivers\etc\hosts), tad man saka, failu izmanto kāda cita programma, bet neviena cita viņu neizmanto (nu laikam jau windows :D). Kā ar to tikt galā? Windows 7. Quote Link to comment Share on other sites More sharing options...
endrju Posted February 11, 2010 Report Share Posted February 11, 2010 Kāpēc kad es mēģinu ieseivot hosts failu (C:\Windows\system32\drivers\etc\hosts), tad man saka, failu izmanto kāda cita programma, bet neviena cita viņu neizmanto (nu laikam jau windows :D). Kā ar to tikt galā? Windows 7. Run As Administrator. Quote Link to comment Share on other sites More sharing options...
Pentiums Posted February 11, 2010 Report Share Posted February 11, 2010 Noņem Read only Quote Link to comment Share on other sites More sharing options...
yeahz Posted February 11, 2010 Author Report Share Posted February 11, 2010 Bet es jau esmu administrators, vispār vienīgais lietotājs. Read only tur nav. Quote Link to comment Share on other sites More sharing options...
rATRIJS Posted February 11, 2010 Report Share Posted February 11, 2010 Atver notepad As Administrator (labais taustinjsh uz ikonas un tam buutu jaabuut sarakstaa) un tad caur Open atver hosts failu. Quote Link to comment Share on other sites More sharing options...
yeahz Posted August 30, 2010 Author Report Share Posted August 30, 2010 Negribējās taisīt jaunu topiku, tāpēc: Uztaisīju port forwarding rūterim, izslēdzu firewall, un ieejot manā IP rāda 403 Forbidden. Kāpēc? Kas jālabo? Sekoju šim te - http://portforward.com/english/routers/port_forwarding/Linksys/WRT54GL/TalkSwitch.htm Quote Link to comment Share on other sites More sharing options...
briedis Posted August 30, 2010 Report Share Posted August 30, 2010 Es domāju, ka 403 izmet apače, nevis rūteris :) Moš vienkārši tev nav piekļuves tai mapei(nav tiesību redzēt failu sarakstu)? Quote Link to comment Share on other sites More sharing options...
yeahz Posted August 30, 2010 Author Report Share Posted August 30, 2010 Nu ja, ka to rāda apache. Atļaujas visas ir. Un ja tas kaut ko maina, tad ejot caur localhost un 127.0.0.1 strādā viss kā vajag. Quote Link to comment Share on other sites More sharing options...
briedis Posted August 30, 2010 Report Share Posted August 30, 2010 Nu kaut kas nav konfigā. Visdrīzāk, nav tiesību piekļūt no cita hosta, tikai no localhosta... Skaties konfigā (gan parastajā, gan virtualhost failā) Quote Link to comment Share on other sites More sharing options...
yeahz Posted August 30, 2010 Author Report Share Posted August 30, 2010 Es nezinu, ko lai īsti tur meklē :D Varu parādīt nelielu fragmentu no vhosts, kas laikam neko nemaina. <VirtualHost 127.0.0.1> DocumentRoot C:\AppServ\www ServerName localhost </VirtualHost> <Directory C:\web> Order Deny,Allow Allow from all Options FollowSymLinks AllowOverride FileInfo </Directory> NameVirtualHost 127.0.0.1 <VirtualHost 127.0.0.1> DocumentRoot C:\web\auto ServerName auto </VirtualHost> Quote Link to comment Share on other sites More sharing options...
briedis Posted August 30, 2010 Report Share Posted August 30, 2010 (edited) Paprovē šitā: <VirtualHost *:80> Jo pagaidām, tas kas tev tur ir norādīts attiecas tikai uz 127..., bet ja nāk no citas IP, tad nekā.. Pēc izmaiņām, neaizmirsti pārstartēt apači.. Edited August 30, 2010 by briedis Quote Link to comment Share on other sites More sharing options...
yeahz Posted August 30, 2010 Author Report Share Posted August 30, 2010 nekā, viss pa vecam. Quote Link to comment Share on other sites More sharing options...
briedis Posted August 30, 2010 Report Share Posted August 30, 2010 Paprovē pievienot: <VirtualHost *:80> DocumentRoot "C:\AppServ\www" ServerName [te ārējais IP] </VirtualHost> Quote Link to comment Share on other sites More sharing options...
yeahz Posted August 31, 2010 Author Report Share Posted August 31, 2010 (edited) Jā, paldies, tagad ir :) Tikai tagad nevar tikt no localhost, bet nu tas nekas. Edited August 31, 2010 by yeahz Quote Link to comment Share on other sites More sharing options...
briedis Posted August 31, 2010 Report Share Posted August 31, 2010 Paprovē pievienot alias'u: <VirtualHost *:80> DocumentRoot "C:\AppServ\www" ServerName [te ārējais IP] ServerAlias localhost </VirtualHost> Bet skaties, lai nav tā, ka vairākiem ierakstiem sakrīt servera vārdi, iespējams apače nestartēsies... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.