-
All replies
-
Helpful answers
-
Apr 14, 2013 1:35 PM in response to Deanby Kevin Neal,you cant get to two different sites using the same name ( if they are also using the same port number)
You need to make a new site with a new name. If you look at the default server website, the index file is set to go to /wiki/ before it will go to default.html
-
Apr 14, 2013 6:38 PM in response to Kevin Nealby Dean,Thank you Kevin,
where is that index file located? I looked into /library/Server/Web/Data/Sites/Default but I don't see an index file there.
-
Apr 15, 2013 12:08 AM in response to Deanby Kevin Neal,If you open Server.app and look at the website section, double click on the server website.
At the bottom it should save Index files, if you click on edit you'll see the order that it looks for a file to open.
Because /wiki/ is higher up in the list then it switches to the wiki website if that is active.
You can change the order by pushing /wiki/ to the bottom of the list, then the default server website should display when you visit the server website.
In order to be able to access both you need 2 websites set up.
Or you could set the secure website (ssl) to be the wiki and the server website could be the default.html
then visiting http://test.local. would be the standard website and https://test.local. would be the wiki
-
Apr 15, 2013 5:58 AM in response to Kevin Nealby Dean,Hmmm, test.local is the only website listed on the server. When I go to edit the test.local profile the profile opens but all the fields are grayed out. Including the Index Files: edit button. That does not change whether the Web Server is turned on or off.
-
Oct 28, 2015 3:02 PM in response to Kevin Nealby G Robert Lewis,I tried setting up a new website with the same domain name but a different port. But I can't find anyplace in the wiki settings that allows me to attach the wiki to the site on that port.
I expect I'll have the same issue if I try to enable Xcode services.
This is with just-installed El Capitan server (upgraded from Mavericks, which never had wiki or Xcode turned on).
-
Oct 28, 2015 9:21 PM in response to G Robert Lewisby Leopardus,Just rename the file /Library/Server//Web/Config/apache2/other/com.apple.webapp.wiki.conf to ....../com.apple.webapp.conf_old and it would not disappear.
Your website, wiki etc should all work
Leo
-
Oct 30, 2015 5:34 AM in response to Deanby Leopardus,Have you solved your problem? Tried my suggestion?
-
Oct 30, 2015 11:59 AM in response to Leopardusby G Robert Lewis,Thanks. But there was no file ..com.apple.webapp.wiki.conf in there (I had turned the wiki off in Server).
I turned the wiki back on, and three new files appeared in the "other" folder:
COM.APPLE.WEBAPP.AUTH.conf
COM.APPLE.WEBAPP.COLLABD.conf
COM.APPLE.WEBAPP.WIKI.conf
I can access the wiki if I type my server's IP address (either local or WAN) followed by "/wiki". But if I type my normal website name (e.g. www.mydomain.net), the server sends it to the site configured for that name.
How can I make the wiki and Xcode servers appear at:
www.mydomain.net/wiki and
www.mydomain.net/xcode ?
-
Oct 30, 2015 3:28 PM in response to G Robert Lewisby Leopardus,G Robert Lewis wrote:
Thanks. But there was no file ..com.apple.webapp.wiki.conf in there (I had turned the wiki off in Server).
I turned the wiki back on, and three new files appeared in the "other" folder:
COM.APPLE.WEBAPP.AUTH.conf
COM.APPLE.WEBAPP.COLLABD.conf
COM.APPLE.WEBAPP.WIKI.CONF
I can access the wiki if I type my server's IP address (either local or WAN) followed by "/wiki". But if I type my normal website name (e.g. www.mydomain.net), the server sends it to the site configured for that name.
How can I make the wiki and Xcode servers appear at:
www.mydomain.net/wiki and
www.mydomain.net/xcode ?
Keep wiki turned on. That is the config file which need to be changed to .......com.apple.webapp.wiki.config.old
Your other stuff should now work, if the order is correct as mentioned above.
Leo