summaryrefslogtreecommitdiff
path: root/configfile.h
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2008-12-26 10:33:01 +0100
committerLars Hjemli <hjemli@gmail.com>2008-12-26 10:33:01 +0100
commit377a1c8cedcbd18f42e45c6ab757a603af44df33 (patch)
tree8cfe705b3e68cafc913e7aee62033552082adf47 /configfile.h
parent11456a60deab19f5e3a1d191bdf48adfba9195e4 (diff)
downloadcgit-377a1c8cedcbd18f42e45c6ab757a603af44df33.tar.gz
cgit-377a1c8cedcbd18f42e45c6ab757a603af44df33.tar.bz2
cgit-377a1c8cedcbd18f42e45c6ab757a603af44df33.zip
Untie logic for SCRIPT_NAME and PATH_INFO
SCRIPT_NAME is used as fallback for virtual-root when virtual-root is unspecified in cgitrc and PATH_INFO is used as fallback for the query- string parameter 'url' when the latter is unspecified. But until now, the use of PATH_INFO depended on virtual-root also being unspecified, i.e. it was impossible to use PATH_INFO when virtual-root was specified. This commit makes the fallback on SCRIPT_NAME and PATH_INFO independent code paths, i.e. it is now possible to specify virtual-root in cgitrc while still using PATH_INFO (instead of rewrite rules) to get 'pretty urls'. Noticed-by: Jack Moffitt <jack@chesspark.com> Noticed-by: LiKai Liu <liulk@cs.bu.edu> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'configfile.h')
0 files changed, 0 insertions, 0 deletions
d8b21c762e&follow=1'>Skip broken tests.Jason A. Donenfeld1-0/+6 2015-01-28Add unprotected keys for GnuPG 2.1Jason A. Donenfeld11-0/+0 2015-01-28Use more stable with-colons outputJason A. Donenfeld2-3/+3 2015-01-28Revert "Only examine subkeys that are capable of encrypting."Jason A. Donenfeld2-2/+2 2015-01-28Take into account use in testsJason A. Donenfeld1-1/+1 2015-01-28Bump version1.6.4Jason A. Donenfeld1-1/+1 2015-01-27Strip ".gpg" from symlinks as wellTheo Chatzimichos1-2/+2 2015-01-19clip: Show an error message if xclip returns a non-zero exit codeWieland Hoffmann1-3/+2 2015-01-19Correct path for top level grepJason A. Donenfeld1-2/+3