using mod_rewrite to change home page

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

 



Hi,

 

At the moment, I have Apache installed on Linux. I do not have a domain name. I am using the IP address to access the website. I want users to be brought directly to

 

http://10.10.10.10/greenstone/cgi-bin/library.cgi?site=localhost&a=p&p=about&c=test3&l=en&w=utf-8

 

when they type in the IP address or, in time, the domain name.

 

I want to make the Web addresses easier to remember.

 

I think this is done with mod_rewrite and regular expressions but I can’t find the syntax anywhere

 

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.

 

Regards,

John

 

John Fitzgibbon

 

w: www.galwaylibrary.ie

e: info@xxxxxxxxxxxxxxxx

p: 00 353 91 562471

f: 00 353 91 565039

 


This e-mail message has been scanned for content and cleared by MailMarshal Hosted at Galway County Council

Tá an teachtaireacht ríomhphoist seo scanáilte d?Ábhar agus glanta ag MailMarshal atá Óstálta i gComhairle Chontae na Gaillimhe.

Correspondance is welcome in Irish or in English.

Tá míle fáilte roimh chomhfhreagras i nGaeilge nó i mBéarla.

Tá eolas atá príobháideach agus rúnda sa ríomhphost seo agus aon iatán a ghabhann leis agus is leis an duine/na daoine sin amháin a bhfuil siad seolta chucu a bhaineann siad. Mura seolaí thú, níl tú údaraithe an ríomhphost nó aon iatán a ghabhann leis a léamh, a chóipáil ná a úsáid. Má tá an ríomhphost seo faighte agat trí dhearmad, cuir an seoltóir ar an eolas thrí aischur ríomhphoist agus scrios ansin é le do thoil.

This e-mail and any attachment contains information which is private and confidential and is intended for the addressee only. If you are not an addressee, you are not authorised to read, copy or use the e-mail or any attachment. If you have received this e-mail in error, please notify the sender by return e-mail and then destroy it.

If you need this email in an alternative format please contact the sender

Má tá an ríomhphost seo ag teastáil uait i bhformáid eile déan teagmháil leis an duine a sheol chugat é

 



[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