Hi,

I have configured two virtual hosts in my Virtuoso server:

-          One for virtuoso.szepmuveszeti.hu domain name, listening at port 
:8890. This will host the default Web site (conductor, etc.) to administer 
Virtuoso.

-          Other one for data.szepmuveszeti.hu domain name, listening at port 
:8891. Here, we have defined some virtual paths (sparql, sparql-auth, doc, id, 
etc.) to provide data in Linked Data form.

We are also using Apache 2 as a proxy to redirect the traffic from the two 
domain names to the corresponding ports :8890 and :8891 in Virtuoso:
<VirtualHost *:80>
        ServerAdmin webmaster@localhost
        ServerName data.szepmuveszeti.hu

        ProxyHTMLEnable on
        ProxyRequests       Off
        ProxyPreserveHost   On
        ProxyTimeout        300
        ProxyPass / http://localhost:8891/ Keepalive=On
        ProxyPassReverse / http://localhost:8891/ Keepalive=On

        ErrorLog ${APACHE_LOG_DIR}/error.log
        LogLevel warn

        CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

<VirtualHost *:80>
        ServerAdmin webmaster@localhost
        ServerName virtuoso.szepmuveszeti.hu

        ProxyRequests       Off
        ProxyPreserveHost   On
        ProxyTimeout        300
        ProxyPass / http://localhost:8890/ Keepalive=On
        ProxyPassReverse / http://localhost:8890/ Keepalive=On

        ErrorLog ${APACHE_LOG_DIR}/error.log
        LogLevel warn

        CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

virtuoso.szepmuveszeti.hu virtual server works correctly, but when we try to 
access any path in data.szepmuveszeti.hu, it says:
Error HTTP/1.1 404 File not found
The requested URL was not found    URI  = '/sparql-auth'

If we configure in Virtuoso "localhost:8891", we can access all the virtual 
paths correctly as "http://localhost:8891/sparql"; and so on.

I have also read something about inserting "ProxyHTMLEnable on" command in the 
Apache proxy conf., but it still does not work.

What are we doing wrong?

Thank you and best regards,
Idoia Murua
------------------------------------------------------------------------------
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to