Project

General

Profile

Actions

Bug #21

closed

Aliases outside of document-root don't seem to work

Added by Anonymous about 20 years ago. Updated over 16 years ago.

Status:
Missing Feedback
Priority:
Normal
Category:
mod_alias
Target version:
-
ASK QUESTIONS IN Forums:

Description

I am attempting to set up a moinmoin wiki on a virtual host. The document root is in a system-wide moinmoin directory that I cannot touch, however, each instance has a separate CGI script that is configured to read data out of its own instance directories. Here is my current configuration:


$HTTP["host"] =~ "wiki\.thewordnerd\.info" {
    alias.url = ( "/cgi-bin/" => "/usr/local/www/sites/wiki.thewordnerd.info/cgi-bin/" )
    simple-vhost.document-root = "/htdocs/" 
    url.rewrite = ( "^[a-zA-Z0-9/]*$" => "/cgi-bin/moin.cgi/$0" )
    cgi.assign = ( ".cgi" => "/usr/local/bin/python" )
}

In this setup, htdocs is a symlink in my document root which points to the read-only directory, and I would like for http://wiki.thewordnerd.info/cgi-bin/ to point to this instance's CGI directory, which cannot be symlinked from within htdocs. Currently any requests to /cgi-bin/ return 404s.

-- nolan

Actions #1

Updated by Anonymous about 20 years ago

I use the same kind of setup for Trac, see:
http://trac.lighttpd.net/trac/wiki/TracInstall

Only I don't use simple-vhost. So the two modules might be influencing each other in unexpected ways.

-- Mark van Eijk

Actions #2

Updated by jan about 20 years ago

  • Status changed from New to Assigned
Actions #3

Updated by Anonymous almost 20 years ago

This same issue also occurs in version 1.3.14 when using mysql virual hosts.

-- ikkeswar

Actions #4

Updated by jan over 19 years ago

Please verify that this works in 1.4.x ?

Actions #5

Updated by stbuehler about 17 years ago

  • Status changed from Assigned to Fixed
  • Resolution set to worksforme

Missing user feedback.

Actions #6

Updated by stbuehler over 16 years ago

  • Status changed from Fixed to Missing Feedback
Actions

Also available in: Atom