From: Reini U. <ru...@x-...> - 2006-06-14 19:23:23
|
asko schrieb: > Hi, > > is anybody running phpwiki over https? I'm having slight problems.. > > Firstly, the wiki is for private use and is protected by .htaccess .. > > > phpwiki-1.3.12p2_2, > apache-2.2.2 and php4-4.4.2_2 > > virtualhost looks something like this: > > <VirtualHost *:443> > ServerName phpwiki > ServerAdmin webmaster@server > DocumentRoot /usr/local/www/phpwiki > ErrorLog /var/log/apache/phpwiki-https-error.log > CustomLog /var/log/apache/phpwiki-https-access.log common > </VirtualHost> > > Usually web applications are able to detect the correct URL for internal > links, but now after authentication all the wiki urls point to > http://phpwiki. Basically I get http wikilinks, but I need https ;-) > > I was not able to force https in URL parameters in config file, > setting 'SERVER_NAME = https://phpwiki' produces bad links like > 'http://https://phpwiki/SomePage' .. Set SERVER_PORT = 443 in config.ini Maybe try DISABLE_HTTP_REDIRECT = true I lost my mod_ssl.so somewhere, so I cannot check immediately, but I will try to set it up again for the tests. > Btw, https worked in phpwiki 1.2 with similar configuration if it > counts, it broke after upgrade. > > Please help, what am I missing.. It probably has to do something with > URL detection? I remember for earlier 1.3.x days, that we had to fix it and I didn't check https for some years now. It's probably just wrong url forcing. -- Reini Urban http://phpwiki.org/ http://murbreak.at/ http://helsinki.at/ http://spacemovie.mur.at/ |