httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <fernando.go...@mcu.es>
Subject RE: [users@httpd] some problems about mod rewrite
Date Fri, 29 Jun 2007 07:26:22 GMT


-----Mensaje original-----
De: alfredo cosco [mailto:orazio.nelson@gmail.com]
Enviado el: jueves, 28 de junio de 2007 18:58
Para: users@httpd.apache.org
Asunto: [users@httpd] 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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message