some problems about mod rewrite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux