Le 14 déc. 07 à 19:12, MJ Ray a écrit :

Yikes!

Yes I know.

 I thought you were going to use the .htaccess rewrites to
avoid merging the two cgi-bin somehow.

First I thought this wouldn't really be possible unless you manually list all files (which would be inefficient). But now that I look at the opac scripts I see most are prefixed by 'opac'. I'll give it a try in a few days and post my results.

Does this have implications for cookies and logins... but then, are librarians special readers anyway?

No idea.

# The main multi-purpose rewriter.
RewriteCond %{QUERY_STRING} (.*?)(?:[A-Za-z0-9_-]+)=&(.*)
RewriteRule (.+) $1?%1%2 [N,R,NE]

# - Why a RewriteCond here not a QSA flag on the Rule?
# - Why a Redirect [R] flag on it?  Does that preserve POST data?

I have no idea about this rule. I just found it in the koha-http.conf so I added it. It seemed somewhat important... There are also other rewrites that I don't know if they are convenience rewrites or essential to get the system working in the sense that the ui generates such uri (e.g. those for /bib/).

Best,

Daniel



_______________________________________________
Koha-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/koha-devel

Reply via email to