Results 1 to 4 of 4

Thread: fresh install vshare login shows 404 error. Can't upload either.

  1. #1
    Join Date
    Nov 2009
    Posts
    8

    Default fresh install vshare login shows 404 error. Can't upload either.

    still trying to get this script running on a local ubuntu server.

    New installation goes fine

    When I try to use the vshare user login
    at http://server/vshare/login.php

    The server responds with 404 because the path changes
    to http://server/vshare/vshare

    if I back the address up to http://server/vshare
    I see that the use vshare is logged in.
    Videos uploaded from there do not work.

    I checked the paths in the config.php
    they are:
    /var/www/vshare
    http://server/vshare

    And, of course, I am still unable to upload videos.
    The videos simply don't upload to the server.

    I cannot give you the ftp and username. We are in a public school district behind a firewall and the ports are blocked. No FTP allowed in.
    I realize that that all of these installation issues are perfect opportunities
    to offer your hosting services, but we are not going that route. We must
    keep the hosting in house.


    I have followed the requirements here:
    YouTube Clone Server Requirements
    I installed all the modules.
    I checked the paths to the binaries during the installation.
    I have checked the paths in the config.php

    How do I fix the login problem?
    How do I get the videos to upload?

  2. #2

  3. #3
    Join Date
    Nov 2009
    Posts
    8

    Default

    the .htaccess was already there and it was fine.
    However, that got me going to the idea that the the .htaccess override was misconfigured in apache.

    For the benefit of others, here is the working configuration of the 000-default file located at /etc/apache2/sites-enabled/000-default

    I am using ubuntu server 9.10, but this also worked for me in ubuntu server 8.04
    NameVirtualHost *
    <VirtualHost *>
    ServerAdmin webmaster@localhost

    DocumentRoot /var/www/
    <Directory />
    Options FollowSymLinks
    AllowOverride All
    Order allow,deny
    allow from all
    </Directory>
    <Directory /var/www/>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    allow from all
    </Directory>

    ScriptAlias /cgi-bin/ /var/www/vshare/cgi-bin/
    <Directory "/var/www/vshare/cgi-bin">
    AllowOverride All
    Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
    Order allow,deny
    Allow from all
    AddHandler cgi-script cgi pl
    </Directory>

    ErrorLog /var/log/apache2/error.log

    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn

    CustomLog /var/log/apache2/access.log combined
    ServerSignature On

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
    Options Indexes MultiViews FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
    Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

    </VirtualHost>


    This also fixes the path of the cgi-bin directory to match the actual location under the vshare directory and the "AddHandler cgi-script cgi pl" linealso helped to get the uploader progress bar to work.
    Last edited by stevelee; 12-04-2009 at 06:19 AM.

  4. #4
    Join Date
    Sep 2007
    Posts
    906

    Default

    Try changing

    Code:
    Options Indexes FollowSymLinks MultiViews
    To

    Code:
    Options All
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

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
  •