Admin not working with VirtualHost
  • Hi there! I installed Newscoop initially with the global config option, but later decided to cut it over to a VirtualHost.  I removed the global config in conf.d, and setup a VirtualHost per the wiki:

    <VirtualHost *:80>
          ServerName news.scorewave.com
          DocumentRoot /var/lib/newscoop
          DirectoryIndex index.php index.html
          Alias /javascript /var/lib/newsco
    sudo apt-get install sourcefabric-keyring
    op/javascript/

          <Directory /var/lib/newscoop>
                  Options -Indexes FollowSymLinks MultiViews
                  AllowOverride All
                  Order allow,deny
                  Allow from all
          </Directory>
    </VirtualHost>

    Restarted apache2 of course.

    However when I try to hit http://news.scorewave.com/admin I'm getting a 404, and the apache logs show this:

    File does not exist: /var/lib/newscoop/newscoop

    BTW, the crux of what I'm trying to do is to make it so that newscoop is installed at the top level, not in /newscoop (i.e. http://news.scorewave.com should go to newscoop, rather than needing to hit http://news.scorewave.com/newscoop ).

    This seems like  a really basic config issue (I hope!) - anyone have tips on what might be wrong here?

    Thanks,
    ~ Matt

    EDIT: I decided to just re-install and select the vhost option and let the Newscoop installer take care of things, and all is working fine now.

    Post edited by Matt Penning at 2013-12-14 21:18:24