Hello Ferran,

      I have the standard WSGI configuration as you reminded now and before:

>WSGIScriptAlias / /opt/invenio/var/www-wsgi/invenio.wsgi

    and the sites are both working almost fine ( invenio submissions and
moin wiki page creation). But the

> uri: </RecentChanges?>  exception in
>.SERVER_RETURN: 404 (webinterface_handler.py:426:_handler)

perhaps occurred because the WSGI configuration for moin

WSGIScriptAlias /   /usr/share/moin/moin.wsgi
WSGIDaemonProcess moin user=www-data group=www-data ...
WSGIProcessGroup moin

was in /etc/apache2/apache2.conf.

I have now put them within the <virtualhost *.80>...</virtualhost> for the
wiki
and hopefully the exception handling problem should happily disappear.

Best Regards


On Thu, Dec 19, 2013 at 1:49 PM, Ferran Jorba <[email protected]> wrote:

> Hello Surendran
>
> > How can one have a virtual  hosting with the following
> >
> > WSGIScriptAlias /invenio /opt/invenio/var/www-wsgi/invenio.wsgi
> >
> > in the file
> >
> > /opt/invenio/etc/apache/invenio-apache-vhost.conf
> > ?
> > I am unable to do it.
>
> I think the trouble you are having is due to this /invenio path in your
> WSGIScriptAlias statement.  As I wrote you a few days ago, in my virtual
> host my WSGIScriptAlias is written as:
>
>  WSGIScriptAlias / /home/ddd/invenio/var/www-wsgi/invenio.wsgi
>
> In your case, it should be:
>
>   WSGIScriptAlias / /opt/invenio/var/www-wsgi/invenio.wsgi
>
> As I understand it, the real advantatge of creating virtual hosts is
> that you don't have to append any /invenio or /moinmoin to the addresses
> of your sites.
>
> Please review this statement both in your Invenio and your Moinmoin
> definitions.
>
> Best regards,
>
> Ferran
>



-- 
Surendran K.K.
020-27298293

Reply via email to