SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Zealot
    Join Date
    Jul 2004
    Location
    NC
    Posts
    194
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Cannot get progress bars to work w/ Apache Progress Module

    I am following this screencast Screencast : How to Create a File Upload Progress Bar in Rails, Passenger, Prototype and Low Pro - Rails Ill. as well as comparing this against all the other rails Apache Progress Module progress bar examples and I can't figure out why I am always getting a 404 routing error:

    ActionController::RoutingError (No route matches "/progress"):

    I have a feeling that it's something centered around my apache configurations but everything seems to check out.

    in my httpd.conf I have these relative configs:

    LoadModule upload_progress_module libexec/apache2/mod_upload_progress.so

    Include /private/etc/apache2/other/*.conf
    Include /private/etc/apache2/passenger_pane_vhosts/*.conf

    in /private/etc/apache2/other/phusion.conf, I have this:

    LoadModule passenger_module /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/ext/apache2/mod_passenger.so
    PassengerRoot /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7
    PassengerRuby /usr/local/bin/ruby


    in my passenger_pane_vhosts/file_upload_progress1.local.vhost.conf I have this virtual host set up:

    Code:
    <VirtualHost *:80>
       ServerName file_upload_progress1.local
       DocumentRoot "/Library/WebServer/Documents/ROR_tests/file_upload_progress1/public"
       RailsEnv development
       #RailsAllowModRewrite off
    
       <directory "/Library/WebServer/Documents/ROR_tests/file_upload_progress1/public">
            Order allow,deny
            Allow from all
           # AllowOverride all
       </directory>
    
        # needed for tracking upload progess
        <Location />
            # enable tracking uploads in /
            TrackUploads On
        </Location>
    
        <Location /progress>
            # enable upload progress reports in /progress
            ReportUploads On
        </Location>
    </VirtualHost>

    in /private/etc/apache2/extra/httpd-vhosts.conf I have:
    NameVirtualHost *:80


    Another off the hand problem I'm having, and might be a clue is w/ my Passenger Pane. I installed the Phusion Passenger Pane and every time I try to add an entry, I get this error: Your changes couldn’t be saved
    See the Console log for details.

    Please help! I've spent days trying to figure this out and it's driving me crazy.

  2. #2
    SitePoint Zealot
    Join Date
    Jul 2004
    Location
    NC
    Posts
    194
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •