mod_rewrite and ojs software

Problems with the Linux version of XAMPP, questions, comments, and anything related.

mod_rewrite and ojs software

Postby orazio » 28. June 2007 18:56

Hallo,
I'm going mad with a server configuration.

That's my problem:
There is an Institution: www.institution.org

It offers a e-journals service between OJS software:

www.ojs.institution.org

So each journal has this link:

www.ojs.institution.org/index.php/Journal

So they asked to transform this in this other:

www.Journal.institution.org

SO, first of all, I asked to the admin of www.institution.org to
create a second level domain www.Journal.institution.org and point it
to the server wich hosts: www.ojs.institution.org

Now I have to point www.Journal.institution.org to the right address:
i.e. www.ojs.institution.org/index.php/Journal

I tried Virtual Servers, but each Journal has not an its own
directory, and i cannot point the Virtual Server directives to a php
function call (i.e. www.ojs.institution.org/index.php/Journal) , but,
if I understand, it has to point to a real filesystem resource.

So I'm trying with mod_rewrite.

But I don't know how to write the Rules to rewrite them.
At least
www.Journal.institution.org

has to point here:
www.ojs.institution.org/index.php/Journal

Can anyone help me?
Tnx
Alfredo
orazio
 
Posts: 1
Joined: 28. June 2007 18:53

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 3 guests