-----Mensaje original-----
De: alfredo cosco [mailto:[EMAIL PROTECTED]
Enviado el: jueves, 28 de junio de 2007 18:58
Para: users@httpd.apache.org
Asunto: [EMAIL PROTECTED] some problems about mod rewrite


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

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to