@Alfredo_Cosco wrote:
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.itThat 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.itto 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/reviewOneThe problem is that any vhost address can open also all other reviews:
Let's see:
the plataform is:
www.serena.unina.ita review example is:
www.serena.unina.it/index.php/politicswith this url:
www.politics.unina.itBut if you call the instance of an other review it works instead to have a 404.
Try:
http://www.politics.unina.it/index.php/rththis is an other review: http://www.rth.unina.it/
![]()
Has someone experienced the same problem and found a solution?
Thanks,
Alfredo
Posts: 1
Participants: 1