Skip to Content.
Sympa Menu

lyceum-users - Re: [Lyceum-users] .htaccess and redirects

lyceum-users AT lists.ibiblio.org

Subject: Lyceum-users mailing list

List archive

Chronological Thread  
  • From: Adam Lindsay <atl AT comp.lancs.ac.uk>
  • To: John Joseph Bachir <jjb AT ibiblio.org>
  • Cc: lyceum-users AT lists.ibiblio.org
  • Subject: Re: [Lyceum-users] .htaccess and redirects
  • Date: Mon, 28 Aug 2006 11:48:46 +0100

John Joseph Bachir wrote:
Thanks for writing in John.

On Tue, 22 Aug 2006, John Neil wrote:

I have installed the latest nightly (22 August) and as test case have
installed it following the flat dir structure install on
http://nepherim.lifehaiku.com/2006/installing-lyceum-with-clean-urls/

I followed this tutorial as well, and found that the rewrite rules were fairly critical to everything working as expected (the lyceum/WP link structure, especially with trailing slashes, just doesn't work out without some help). I'm a newbie with mod_rewrite, myself, but was able to cobble something together. YMMV.

Note that the rules as displayed on the web page lost a few carriage returns. I *think* the correct interpretation of those lines is:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.(.*)
RewriteRule ^(.*) http://%1/$1 [R,L]

## Inserted some local rules here

RewriteRule ^(.*) /lyceum/$1 [L,QSA]

At the time, I had tried commenting on the Nepherim blog documenting my experiences, but either the comments were lost, or caught in moderation limbo. My memory of exactly what had to be done is hazy now, unfortunately.

Hi all. I'm new here, too.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Adam T. Lindsay, Computing Dept. atl AT comp.lancs.ac.uk
Lancaster University, InfoLab21 +44(0)1524/510.514
Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-





Archive powered by MHonArc 2.6.24.

Top of Page