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: John Neil <John.Neil AT uts.edu.au>
  • To: 'DaveG' <lyceum AT solidgone.com>, 'Adam Lindsay' <atl AT comp.lancs.ac.uk>
  • Cc: lyceum-users AT lists.ibiblio.org
  • Subject: Re: [Lyceum-users] .htaccess and redirects
  • Date: Wed, 30 Aug 2006 14:59:05 +1000

Dave

I have just tried to leave a comment on Nepherim but it is not submitting.

For those that could help my comment was that after trying the updated
rewrite rules my site redirects to
http://www.w3.org/Protocols/

any explanation for this?

I have the same directory structure as the Nepherim instructions but I have
a php index in the root for my front page. Any tips would be gratefully
received.

Cheers


-----Original Message-----
From: lyceum-users-bounces AT lists.ibiblio.org
[mailto:lyceum-users-bounces AT lists.ibiblio.org] On Behalf Of DaveG
Sent: Monday, 28 August 2006 9:37 PM
To: Adam Lindsay
Cc: lyceum-users AT lists.ibiblio.org
Subject: Re: [Lyceum-users] .htaccess and redirects

Adam Lindsay wrote:
> Note that the rules as displayed on the web page lost a few carriage
> returns. I *think* the correct interpretation of those lines is:
>
Not sure what happened to the text on the blog, except putting code in a
blog is a real pain in the #$@ -- 'll correct it. It *should* be:

#Options +FollowSymLinks
RewriteEngine On

# Rewrite www.domain.com to domain.com
RewriteCond %{HTTP_HOST} ^www\.(.*)
RewriteRule ^(.*) http://%1/$1 [R,L]

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

Let me know if that doesn't work, and I'll try to help out.

> 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.
>
Not sure what happened here either -- I have no comments pending
moderation...


~ ~ Dave
_______________________________________________
Lyceum-users mailing list
Lyceum-users AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/lyceum-users





Archive powered by MHonArc 2.6.24.

Top of Page