Menu

Subdomain doesn't work

Help
Roger
2004-09-30
2012-10-11
  • Roger

    Roger - 2004-09-30

    I installed a wiki, and would like to use a subdomain for it. The wiki is normally accessible via www.mydomain.com/wiki, but not via wiki.mydomain.com. The favicon appears though, as well as other pages like the passencrypt page (wiki.mydomain.com/passencrypt.php). So it doesn't look like a configuration problem for the server. How can I set the wiki to accept this subdomain?

    The index.php page displays an almost empty page with the only code: <html><body></body></html>. This looks like the page checks for the URL and doesn't accept it. I searched the config file but couldn't find anything there. Hope someone can point me in the right direction.

    The SERVERNAME setting is just for the creation of links it seems.

    The server runs on apache 2.0.48, Redhat Linux.

     
    • Reini Urban

      Reini Urban - 2004-09-30

      This is an installation under DOCROOT, which is tricky because of the php handler overriding DATA_PATH.

      best described at http://phpwiki.org/PrettyWiki
      or in the phpwiki-talk archives.
      in short: you need a different server for the DATA_PATH

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.