LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Trac + Litespeed

Reply
 
Thread Tools Display Modes
  #1  
Old 06-29-2006, 10:25 PM
zhesto zhesto is offline
Member
 
Join Date: Jun 2006
Posts: 11
Default Trac + Litespeed

Hi, I installed Trac on my ubuntu dapper box, following these instructions. Everything working very well. Just there is still one more step - how to trigger HTTP Authentication box on /projects/xxxxx/login. With Apache it is releazed with:

Code:
<Location "/proj/login">
  AuthType Basic
  AuthName "project"
  AuthUserFile /var/www/trac.htpasswd
  Require valid-user
</Location>
See: Debian Sarge Trac Install

I tryed first to do this just for one project (fixed /projects/name/login. But what context to create?
- "Static"? - it's maping url to directory
- "CGI"? - it's mapping url to directory with cgi-bin scripts

So how to do Location-like stuff with Litespeed?

And the second stage is to do the same for multiply projects ( /projects/.../login ) but maybe i can create different context entry for every project.
Reply With Quote
  #2  
Old 06-30-2006, 09:54 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
I think it should be a CGI context, the context type should follow its parent context to make a context works just like "location" in Apache.
However, when I tried a single project Trac setup, I used FastCGI instead of CGI for better performance. Not sure how to implement that on a multiple project setup though.
Reply With Quote
  #3  
Old 06-30-2006, 10:44 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
You should define a CGI context with URI /trac.cgi/login, location is the same, pointing to trac.cgi, as the URL has been rewritten to "/trac.cgi/login", not "/projects/...." any more.

Just take a closer look at the Howto, it is possible to replace the CGI setup with FCGI setup, just add a FCGI app with trac.fcgi, add a FCGI context with URI /trac.fcgi, change the rewrite rule from /trac.cgi to /trac.fcgi.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to use litespeed load balancer for balancing lsapi technix Ruby/Rails 3 07-06-2007 08:28 PM
Another Apache / LiteSpeed how-to question ovizii Apache Migration/Compatibility 3 03-30-2007 08:30 AM
Problem running Gallery under LiteSpeed kchrist PHP 4 10-01-2006 02:53 PM
did anyone manage to get trac to work with litespeed? ts77 Install/Configuration 12 12-09-2005 01:34 PM
Best configuration for PHP LiteSpeed SAPI jeff Install/Configuration 6 10-19-2005 09:54 AM


All times are GMT -7. The time now is 11:20 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.