yes Yogesh, it's a private network. I tried on another windows 7 machine, with windows version of web2py and everything works perfectly. mmmmm... on the other windows machine i copied all web2py directory from my mac. Is it possible that i must download the windows version instead..??
Il giorno domenica 6 maggio 2012 18:42:02 UTC+2, Yogesh Kamat ha scritto: > > Hello Marco, > 192.168.x.x is a private network IP. Not able to check out.. > > Regards, > Yogesh > > On Sun, May 6, 2012 at 9:39 PM, Mchurch <[email protected]> wrote: > >> ThankYou guys. >> The file was enabled, but doing some more trying i was able to get >> localhost using public ip 192.168.100.191 (I'm catching all connections >> with a hotspot and redirecting users to >> http://192.168.100.191:8000/restaurant/default/show >> Now, on my Mac, doing that, i can see every pictures from my mobile. >> With windows i can't see images!! I tried with tornado and rocket, but >> same result. >> I think i'm loosing some path and jquery is getting crazy; may be i must >> use some absolute path in this view? >> The server is doing its job, and the logic too, server side is ok, it >> should be some javascript path.... >> >> <!DOCTYPE html> >> <html lang="en"> >> <head> >> <title>Responsive Image Gallery</title> >> <meta charset="UTF-8" /> >> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> >> <meta name="viewport" content="width=device-width, >> initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> >> <meta name="description" content="Responsive Image Gallery with >> jQuery" /> >> <meta name="keywords" content="jquery, carousel, image gallery, >> slider, responsive, flexible, fluid, resize, css3" /> >> <meta name="author" content="Codrops" /> >> <link rel="shortcut icon" href="../favicon.ico"> >> <link rel="stylesheet" type="text/css" href= >> "/{{=request.application}}/static/css/demo.css" /> >> <link rel="stylesheet" type="text/css" href= >> "/{{=request.application}}/static/css/style.css" /> >> <link rel="stylesheet" type="text/css" href= >> "/{{=request.application}}/static/css/elastislide.css" /> >> <link href=' >> http://fonts.googleapis.com/css?family=PT+Sans+Narrow&v1' rel= >> 'stylesheet' type='text/css' /> >> <link href='http://fonts.googleapis.com/css?family=Pacifico' rel= >> 'stylesheet' type='text/css' /> >> <script type="text/javascript" src=" >> http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js" >> ></script> >> <noscript> >> <style> >> .es-carousel ul{ >> display:block; >> } >> </style> >> </noscript> >> <script> >> $(function() { >> var pgurl = window.location.href.substr(window.location.href. >> lastIndexOf("/")+1); >> $("#nav li a").each(function(){ >> controllo=$(this).attr("href").substr($(this).attr("href"). >> lastIndexOf("/")+1); >> >> if(controllo == pgurl) >> $(this).addClass("selected"); >> }) >> }); >> </script> >> <script id="img-wrapper-tmpl" type="text/x-jquery-tmpl"> >> <div class="rg-image-wrapper"> >> >> >> <div class="rg-image-nav"> >> <a href="#" class="rg-image-nav-prev">Previous >> Image</a> >> <a href="#" class="rg-image-nav-next">Next Image</ >> a> >> </div> >> >> >> <div class="rg-image"></div> >> <div class="rg-loading"></div> >> <div class="rg-caption-wrapper"> >> <div class="rg-caption" style="display:none;"> >> <p></p> >> </div> >> </div> >> </div> >> </script> >> </head> >> <body> >> I CAN SEE THIS!!!!<img src= >> "/{{=request.application}}/static/images/bandiera_italiana.png"> >> <div class="container"> >> <div class="header"><div class="clr"></div></div><!-- header >> --> >> <div class="content"> >> <div class="rg-image-wrapper"><div class="rg-image-nav"></div> >> <div class="rg-image"><img src= >> "/{{=request.application}}/static/images/header-2.jpg"></div> >> <div class="rg-loading" style="display: none; "></div> >> <div class="rg-caption-wrapper"><div class="rg-caption" style >> =""></div></div> >> </div> >> >> <div id="rg-gallery" class="rg-gallery"> >> <div class="rg-thumbs"> >> <!-- Elastislide Carousel Thumbnail Viewer --> >> <div id="pippo" class= >> "es-carousel-wrapperbandiere""> >> <div class="es-nav"> >> <span class="es-nav-prev">Previous</span> >> <span class="es-nav-next">Next</span> >> </div> >> <div class="es-carouselbandiere"> >> <ul>{{ for elemento in ciclo:}} >> <li> >> >> {{immagine=IMG(_src="/"+request.application+ "/static/images/" + >> elemento.bandiera)}} >> {{=A(immagine, _href=URL('show', >> vars=dict(lingua=elemento.id,bandiera=elemento.bandiera)))}} >> </li> >> {{pass}} >> </ul> >> </div> >> </div> >> <!-- End Elastislide Carousel Thumbnail Viewer >> --> >> </div><!-- rg-thumbs --> >> <span><h1>Benvenuti al Ristorante Italia</h1> </span> >> {{include 'default/menu.html'}} >> >> <div class="rg-thumbs"> >> <!-- Elastislide Carousel Thumbnail Viewer --> >> <div class="es-carousel-wrapper"> >> <div class="es-nav"> >> <span class="es-nav-prev">Previous</span> >> <span class="es-nav-next">Next</span> >> </div> >> <div class="es-carousel"> >> {{include >> 'default/showmini.html'}}{{selector(piatti=piatti,cambio="")}} >> </div> >> </div> >> <!-- End Elastislide Carousel Thumbnail Viewer >> --> >> </div><!-- rg-thumbs --> >> </div><!-- rg-gallery --> >> >> </div><!-- content --> >> </div><!-- container --> >> <script type="text/javascript" src= >> "/{{=request.application}}/static/js/jquery.tmpl.min.js"></script> >> <script type="text/javascript" src= >> "/{{=request.application}}/static/js/jquery.easing.1.3.js"></script> >> <script type="text/javascript" src= >> "/{{=request.application}}/static/js/jquery.elastislide.js"></script> >> <script type="text/javascript" src= >> "/{{=request.application}}/static/js/gallery.js"></script> >> </body> >> </html> >> >> >> >> >> On Sunday, May 6, 2012 10:49:43 AM UTC+2, Mchurch wrote: >>> >>> Good morning to everybody. >>> I've a web2py application on a windows machine, the public windows ip >>> machine is 192.168.100.191. >>> From my mobile cell (nor tablet..) i can't get localhost. >>> I tried many times with 0.0.0.0, 127.0.0.1, and even if with the public >>> ip 192.168.100.191 but i always get "SITE DOWN FOR MAINTENANCE" >>> If I access localhost form the windows machine everything works fine. >>> It seems to me some permission problem.... >>> Help please. >>> Many thanks. >>> Marco. >>> >> >

