Re: using mod_rewrite to change home page

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

 



On Fri, Jun 10, 2011 at 10:53 AM, John Fitzgibbon <jfitzgibbon@xxxxxxxxxxxxxxxx> wrote:

Less importantly, I would like

 

http://10.10.10.10/greenstone/cgi-bin/library.cgi?e=p-01000-00---off-0test3--00-1----0-10-0---0---0direct-10---4-------0-1l--11-en-50---20-about---00-3-1-00-0--4--0--0-0-11-10-0utfZz-8-00&a=d&cl=CL2

 

to become

 

http://10.10.10.10/photographers

 

and

 

http://10.10.10.10/greenstone/collect/test3/index/assoc/HASH4dbf.dir/Portumna%20Abbey%202.jpg

 

to become

 

http://10.10.10.10/images/large/HASH4dbf.dir/Portumna%20Abbey%202.jpg

 

I would appreciate any help with this.


In order to create pretty/fancy URLs, your program, in this case Greenstone, needs to support setting fancy URLs or you need to set up a reverse proxy (which is much more complicated than mod_rewite).
In a quick bit of research, it does not seem that Greenstone does. You might want to ask a Greenstone users list. you can find Greenstone support resources here: http://www.greenstone.org/support

To set up a reverse proxy, you will need to know how the URLs in Greenstone are created. I understand that the program is open-source and written in C++ and some Java (and maybe more), so you should be able to find that out without too much trouble.

- Yehuda

[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