Bug #21
closedAliases outside of document-root don't seem to work
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
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
Updated by Anonymous almost 20 years ago
This same issue also occurs in version 1.3.14 when using mysql virual hosts.
-- ikkeswar
Updated by stbuehler about 17 years ago
- Status changed from Assigned to Fixed
- Resolution set to worksforme
Missing user feedback.
Updated by stbuehler over 16 years ago
- Status changed from Fixed to Missing Feedback
Also available in: Atom