Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to configure Wiki Server on Lion Server?

Right now I am able to view my Wiki data only through http://localhost/wiki when I try http://mydomain.com/wiki I get a 404 Not Found.


One thing that I think is interesting is that http://localhost and http://mydomain.com both give me the "Welcome to Lion Server" page.


I enabled the Wiki service and the Web service both through the Server application.


My first thought was that I needed to configure a "Web Site" under the Web service to point to the proper directory location (such as in Snow Leopard Server). I've tried several different directories for the "Store Site Files In" field, such as "/Library/Server/Web/Data/Sites/Default" and "/usr/share/collabd/coreclient/public" to no avail.


The Lion Server documentation shows how to migrate wikis, but I didn't see anything about configuring the service (either in the Wiki service or the Web service).


Any ideas? Thanks.

Posted on Mar 15, 2012 3:06 PM

Reply
9 replies

Mar 16, 2012 7:46 AM in response to mickey13

Well the Wiki service doesn't dump any log information when I try to http://mydomain.com/wiki which makes sense if the problem is the Web service not pointing the request to the proper directory location; I still don't know where that is.


I'm trying /Library/Server/Wiki/FileData but I'm getting a permission problem. Makes me think that isn't the expected spot, but I guess I'll mess with the permissions and find out.

Mar 19, 2012 1:09 PM in response to mickey13

I found by deleting all of the "Web Sites" in the Web service, other than the one created by default, I can access the wiki through the machine's FQDN (http://whatever.com/wiki/projects). Once I add a "Web Site" (virtual host), the ability to access the wiki is gone. However, I can still access the wiki from http://localhost/wiki/projects (naturally I'm troubleshooting from the server itself). Why would adding virtual hosts via the Server.app cause the wiki to not be accessible through the default?

Mar 20, 2012 6:22 AM in response to mickey13

I tried to uncomment the following lines in the virtual host file (after I stop the Web service), but when I start the Web service back up, it just removes these lines entirely. I'm not sure why these commented-out lines would even be in there if the intention wasn't to be able to uncomment them and enable the services for the domain name. Any insight?




# ProxyPass / balancer://balancer-group/

# ProxyPassReverse / balancer://balancer-group/


...


# Include /etc/apache2/httpd_users.conf

# Include /etc/apache2/httpd_groups.conf

# Include /etc/apache2/httpd_webcalendar.conf

# Include /etc/apache2/httpd_pwdchange_required.conf

# Include /etc/apache2/httpd_emailrules_required.conf

# Include /etc/apache2/httpd_teams_required.conf

Mar 20, 2012 1:08 PM in response to mickey13

One problem was that I was selecting the machine's ip address for the field "IP Address" in the Web service; this apparently needs to be left on "Any".


I can now access the Wiki service, through the machine's hostname, and have virtual hosts at the same time. Does anyone know how to configure the Web service so that the Wiki service is accessible through a domain name other than the machine's hostname?

How to configure Wiki Server on Lion Server?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.