Results 1 to 4 of 4

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

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

  2. #2
    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.

  3. #3
    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
  •