1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Problems with Ruby Web Applications

Discussion in 'Plesk for Linux - 8.x and Older' started by macuna, Aug 21, 2007.

  1. macuna

    macuna Guest

    0
     
    Hi guys, Im recently updated my Plesk version to 8.2 because this version suport Ruby on Rails, fcgid,etc, etc.

    I followed step by step the SWSoft documentation in the next link http://download1.swsoft.com/Plesk/Plesk8.2/Doc/plesk-8.2-unix-administrators-guide/37435.htm.

    But no working for me, in my web application I see next 404 error message.

    Not Found

    The requested URL /public/ was not found on this server.
    Apache/2.0.54 (Fedora) Server at domain.com Port 80

    And in my log the same error

    File does not exist: /var/www/vhosts/domain.com/httpdocs/public

    Can anybody tell me what is the problem ?

    Thanks!
     
  2. Amin Taheri

    Amin Taheri Golden Pleskian Plesk Certified Professional

    33
     
    Joined:
    Jul 5, 2007
    Messages:
    1,398
    Likes Received:
    1
    Location:
    Seattle Area
    First step would be to verify that /var/www/vhosts/domain.com/httpdocs/public exists and has the proper permissions and ownership.
     
  3. macuna

    macuna Guest

    0
     
  4. Amin Taheri

    Amin Taheri Golden Pleskian Plesk Certified Professional

    33
     
    Joined:
    Jul 5, 2007
    Messages:
    1,398
    Likes Received:
    1
    Location:
    Seattle Area
    Wow, those are horrible instructions. I especially like this part.

    lol so why create the file at all if you are only going to delete it? Did I miss something there?
     
  5. RevMagi

    RevMagi Guest

    0
     
    Ruby on Rails

    Hello guys,

    First off, I am still having issues myself as well. But lets clarify the create/delete .htaccess issue. They want you to ceate the .htaccess file they specified in the instructions and place that in your Applications folder, the your_application. The .htaccess file they are wanting you to remove is the .htaccess fine in the public folder of your application. I hope this clears this up.

    As for what I am doing myself since I have admin access to ssh, I am actually adjusing my web dir from httpdocs to httpdocs/public in a vhost.conf and vhost_ssl.conf file. I am also not putting in an application folder. This is not getting me the

    Application error
    Rails application failed to start properly

    Error.

    From what I am reading this means the path is incorrect in the settings. The instructions tell us to change the shebang to #!/usr/bin/ruby

    Half the battle is checking to see it is actually there. I am using Plesk in a VPS, have not checked a dedicated server but I found all of Ruby files to be in /opt/ruby/bin.
    I have since created sym links but I am unfortunately still getting the same error message.

    I will try to post more as I get further.
     
  6. eugenevdm

    eugenevdm Silver Pleskian

    30
    68%
    Joined:
    Nov 11, 2003
    Messages:
    611
    Likes Received:
    0
    Have you got an update on this? We are also trying to follow the instructions on Parallel's web site but not getting anywhere.
     
  7. jahsh420

    jahsh420 Guest

    0
     
Loading...