Hi all,
I’m troubling with my ojs installation domain and virtual hosts.
So, let’s explain.
I’ve a server with OJS under an institutional domain:
www.plataform.institution.it
That has some reviews inside, for example:
http://www.plataform.institution.it/index.php/reviewOne
http://www.plataform.institution.it/index.php/reviewTwo
http://www.plataform.institution.it/index.php/reviewThree
…
Now I want to have a domain name for each review, so I asked to the university computer centre to point the addresses:
www.reviewOne.institution.it
www.reviewTwo.institution.it
www.reviewThree.institution.it
to my server IP.
They did it, then i set up a vhost for each review like this:
<VirtualHost *:80>
ServerName www.reviewOne.institution.it
DocumentRoot /my_ojs_host_path
RedirectMatch /$ /index.php/reviewOne
</VirtualHost>
Now, everything seems to work well, the address:
www.reviewOne.institution.it
opens OJS instance for reviewOne:
www.reviewOne.institution.it/index.php/reviewOne
The problem is that any vhost address can open also all other reviews:
Let’s see:
the plataform is:
www.serena.unina.it
a review example is:
www.serena.unina.it/index.php/politics
with this url:
www.politics.unina.it
But if you call the instance of an other review it works instead to have a 404.
Try:
http://www.politics.unina.it/index.php/rth
this is an other review: http://www.rth.unina.it/
Has someone experienced the same problem and found a solution?
Thanks,
Alfredo