cannot reproduce
authorJoey Hess <joey@kitenet.net>
Wed, 23 Nov 2011 20:13:16 +0000 (16:13 -0400)
committerJoey Hess <joey@kitenet.net>
Wed, 23 Nov 2011 20:13:16 +0000 (16:13 -0400)
IkiWiki/Plugin/highlight.pm
doc/bugs/Running_on_an_alternative_port_fails.mdwn

index 33d136fbf44c0277d2a540f77b9615bc2eb6ddcc..4e86207f101224cfb216dfbff8609ac5973bdbd5 100644 (file)
@@ -52,7 +52,7 @@ sub getsetup () {
 
 sub checkconfig () {
        eval q{use highlight};
 
 sub checkconfig () {
        eval q{use highlight};
-       if (highlight::DataDir->can('new')){
+       if (highlight::DataDir->can('new')) {
                $data_dir=new highlight::DataDir();
                $data_dir->searchDataDir("");
        } else {
                $data_dir=new highlight::DataDir();
                $data_dir->searchDataDir("");
        } else {
index c6e09171d332609bd1bb253e4f8f038c1385506f..8b5fefa91330973b1b3686d97817e5fec28ecaa0 100644 (file)
@@ -5,3 +5,12 @@ For example if you run on 'http://my.gear.xxx:8080/' then after clicking login (
  -- fergus
 
 NB: both the 'url' and the 'cgiurl' include the port and removing the port element provides the expected functionality.
  -- fergus
 
 NB: both the 'url' and the 'cgiurl' include the port and removing the port element provides the expected functionality.
+
+> I tried to reproduce this by making my laptop's web server use port
+> 8080. Set up ikiwiki to use that in cgiurl and url, and had
+> no problem with either openid or password auth login.
+> 
+> Ikiwiki has had some changes in this area in the past year; you don't say
+> what version you were using. It could also be a problem with your web
+> server, conceviably, if didn't correctly communicate the port to the cgi
+> program. --[[Joey]]