Publication alias for subfolder install
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    Hi devs,

    Following a request to document subfolder installs, I have set up an
    Apache DocumentRoot of /var/www/ and a ServerName of
    newscoop.64studio.com and have installed Newscoop 3.5.3 into
    /var/www/newscoop/

    I can now see the site at http://newscoop.64studio.com/newscoop/ on the
    localhost. This works fine when using a Publication Alias of
    newscoop.64studio.com (a local URL in my /etc/hosts file). My Apache
    config is attached.

    After reading the solution to http://dev.sourcefabric.org/browse/CS-2970
    I was expecting to have to use a Publication Alias of:

    newscoop.64studio.com/newscoop/

    but in fact, this does not work, I get the 'not assigned to a
    publication' error.

    So is it true that the Newscoop Publication Alias should match the
    Apache ServerName, regardless of any subfolder installation?

    Cheers!

    Daniel

    <VirtualHost *:80>
    DocumentRoot /var/www/
    ServerName newscoop.64studio.com
    DirectoryIndex index.php index.html
    <Directory /var/www/newscoop>
    Options -Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory>

    # php xcache stats
    Alias /xcache/ /usr/share/xcache/admin/
    <Directory "/usr/share/xcache/admin/">
    AllowOverride None
    Options ExecCGI
    Order allow,deny
    Allow from localhost
    </Directory>

    </VirtualHost>

  • 2 Comments sorted by
  • "So is it true that the Newscoop Publication Alias should match the Apache
    ServerName, regardless of any subfolder installation?"
    Yes

    Mugur Rus
    Senior Software Developer, Sourcefabric
    mugur.rus@sourcefabric.org

    Cluj-Napoca, Romania
    +40 (0)720 528408
    Skype: mugur_rus

    http://www.sourcefabric.org
    http://www.twitter.com/Sourcefabric



    On Mon, Jun 27, 2011 at 6:29 PM, Daniel James <
    newscoop-dev@lists.sourcefabric.org> wrote:

    > **
    > Hi devs,
    >
    > Following a request to document subfolder installs, I have set up an
    > Apache DocumentRoot of /var/www/ and a ServerName of
    > newscoop.64studio.com and have installed Newscoop 3.5.3 into
    > /var/www/newscoop/
    >
    > I can now see the site at http://newscoop.64studio.com/newscoop/ on the
    > localhost. This works fine when using a Publication Alias of
    > newscoop.64studio.com (a local URL in my /etc/hosts file). My Apache
    > config is attached.
    >
    > After reading the solution to http://dev.sourcefabric.org/browse/CS-2970
    > I was expecting to have to use a Publication Alias of:
    >
    > newscoop.64studio.com/newscoop/
    >
    > but in fact, this does not work, I get the 'not assigned to a
    > publication' error.
    >
    > So is it true that the Newscoop Publication Alias should match the
    > Apache ServerName, regardless of any subfolder installation?
    >
    > Cheers!
    >
    > Daniel
    >
    > <VirtualHost *:80>
    > DocumentRoot /var/www/
    > ServerName newscoop.64studio.com
    > DirectoryIndex index.php index.html
    > <Directory /var/www/newscoop>
    > Options -Indexes FollowSymLinks MultiViews
    > AllowOverride All
    > Order allow,deny
    > Allow from all
    > </Directory>
    >
    > # php xcache stats
    > Alias /xcache/ /usr/share/xcache/admin/
    > <Directory "/usr/share/xcache/admin/">
    > AllowOverride None
    > Options ExecCGI
    > Order allow,deny
    > Allow from localhost
    > </Directory>
    >
    > </VirtualHost>
    >
    > < http://forum.sourcefabric.org/index.php?t=getfile&id=167> Attachment:
    > newscoop < http://forum.sourcefabric.org/index.php?t=getfile&id=167>
    > (Size: 0.54KB)
    >

  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    Thanks Mugur, I added a mention of this to the 'Journalists and Editors' manual.

    Cheers!

    Daniel