Wiki Forum Sign up! Explore Home

Not signed in (Sign In)

LiveSearch

Welcome, Guest

Want to take part in these discussions? Sign in if you have an account, or apply for one below

Vanilla 1.1.2 is a product of Lussumo. More Information: Documentation, Community Support.

  1.  permalink
    Hello all !

    I'm from Brasil and I'm trying to install Clocking IT on my local server.

    But I have some troubles, the first is:
    Why when I access 192.168.0.1:3000 (apache running yet) I'm go to clockingit.com ?

    The second:
    Can you give me a example of configs files (like to run in offline or online mode) ?

    And third:
    When I access 192.168.0.1/cit/login/signup I got this error:
    ArgumentError in Login#signup
    Showing app/views/login/signup.rhtml where line #35 raised:
    wrong number of arguments (2 for 1)


    Thanks to all !

    Regards,
    Renan Gonçalves
    • CommentAuthoradmin
    • CommentTimeMay 7th 2007
     permalink
    You need to override www.clockingit.com in your hosts file, like I wrote in the Readme file, and access www.clockingit.com:3000 instead of using the IP address directly. Otherwise, the vhosting functionality won't work and you'll get a redirect to www.clockingit.com as 192.168.0.1 isn't a valid subdomain.

    Offline mode? What's that? :-) The example configs are the config/*-example files.

    Try running in production environment instead, or restart the server inbetween. For some reason, the time_zone_select gets broken in development mode after the 1st call.

    Hope that helps.

    -- Erlend
  2.  permalink
    Hi Erlend,
    Thank you for this fast response !

    Well ..
    On my company we use an Debian Gnu/Linux Server and many stations with Windows and Linux connected via samba.
    So, when we're here (on the company, local) we access our Apache Server using 192.168.0.1, and when we're working at home we use a NO-IP Server (like mycompany.no-ip.info, because our IP is dinamyc).

    How I can configure for this ? To use NO-IP ?

    Thanks for you attention !!!
  3.  permalink
    Ops, other problem.

    Look my webrick output:
    192.168.0.56 - - [07/May/2007:12:09:59 BRT] "GET /login HTTP/1.1" 302 101 - -> /login
    192.168.0.56 - - [07/May/2007:12:09:59 BRT] "GET /login/login HTTP/1.1" 302 100 - -> /login/login


    When I enter in 192.168.0.1/cit/public I go to a infinite looping.
    • CommentAuthoradmin
    • CommentTimeMay 8th 2007
     permalink
    Like I said, you need to make www.clockingit.com point to 192.168.0.1 (by overriding your /etc/hosts file under linux, or /windows/system32/drivers/etc/hosts.txt under Windows)

    You could also use mod_rewrite/mod_proxy under Apache to fix this as explained in another post here on the forums.

    -- Erlend
  4.  permalink
    Hi Erlend,

    I had applied this configuration every machine on this company.
    Thank you for you attention !