Skip navigation
This discussion is archived

Changing the default WIKI Server name

9930 Views 17 Replies Latest reply: Nov 24, 2009 4:32 PM by AK_Mike RSS
1 2 Previous Next
ReazDhaka Calculating status...
Currently Being Moderated
Sep 30, 2009 4:33 AM
We are running our school owned WIKI Services on a 10.5.7 Server.

Is there anyway to change the name in the default home page from the "Mac OSX Server" to something more customized without disturbing any content?

Reaz Shaheed
Network and Systems Administrator
American International School/Dhaka
MacBook, Mac OS X (10.5.7)
  • Rinonz Calculating status...
    Currently Being Moderated
    Oct 1, 2009 5:07 PM (in response to ReazDhaka)
    You can edit the index.html inside /Library/Webserver/Documents
    Just make sure you make a duplicate of it in case you need to go back.
    MacBook2,1, Mac OS X (10.6), MacPro3,1 - XServe G5 - XServe 3,1
  • John H Level 3 Level 3 (845 points)
    Currently Being Moderated
    Oct 13, 2009 6:32 PM (in response to Rinonz)
    I opened that page and it doesnt appear to be the page you see when you go to my groups webpage

    see
    https:/arina/biz/groups

    Am i looking in the right place?
    cheers
    G5/dual 2.0 Macmini intel G4 powerbook, Mac OS X (10.6.1), OSX Server - 10.5.8
  • CheezItMan Calculating status...
    Currently Being Moderated
    Oct 29, 2009 4:28 AM (in response to John H)
    Did you ever figure this out, I've been editing the page in our Podcast server, but I can't seem to find the CSS files. I need'em to get rid of that damm MacOS Server Banner.
    Macbook & XServ, Mac OS X (10.5.8)
  • Douggo Level 4 Level 4 (2,730 points)
    Currently Being Moderated
    Oct 30, 2009 7:33 PM (in response to John H)
    The files related to the default Groups page (index.html and the CSS files) are in the /usr/shared/collaboration directory. It's hidden, so you'll have to Terminal the file to somewhere you can open, edit, save and then move back.

    -Douggo
    Mac Pro (2X 3Ghz dual core); MacBook 2GHz C2D; G4 MDD Dual 867, Mac OS X (10.6.1), 20" Cinema Display; 30GB iPod Photo; iPhone; Airport Exteme
  • CheezItMan Level 1 Level 1 (0 points)
    Currently Being Moderated
    Oct 30, 2009 7:41 PM (in response to Douggo)
    Yep, I found it by looking at the server admin tools and then peeking at the hidden files.
    Macbook & XServ, Mac OS X (10.6.1)
  • Douggo Level 4 Level 4 (2,730 points)
    Currently Being Moderated
    Oct 30, 2009 7:55 PM (in response to CheezItMan)
    Yes, I needed to get there for the CSS files it contains. I just used the ditto command in Terminal to copy them to a visible folder so I could get at them.

    -Douggo
    Mac Pro (2X 3Ghz dual core); MacBook 2GHz C2D; G4 MDD Dual 867, Mac OS X (10.6.1), 20" Cinema Display; 30GB iPod Photo; iPhone; Airport Exteme
  • harry @ pmsi Level 3 Level 3 (535 points)
    Currently Being Moderated
    Oct 31, 2009 9:31 PM (in response to Douggo)
    I've had good success with changing items such as the banner by:
    - Change banner.jpg in usr/share/collaboration/css/serverhome/img to your banner image as a jpg file. Remember to verify
    Permissions set to Owner: root -rw, Group: wheel -r, Others: -r.

    HTH,
    Harry
    mini 1.83 core 2 duo 2GB RAM + 1TB ext drive, Mac OS X (10.5.8), iMac G5(10.5), MBP(10.6.1),Ruby & Ruby on Rails
  • Smittles Calculating status...
    Currently Being Moderated
    Nov 3, 2009 2:53 PM (in response to ReazDhaka)
    I just tried this, but it's not working.

    I changed the name of the banner.jpg to banner_old.jpg

    I moved my new banner.jpg into the same directory - it lists, it's in there, spelling is correct. It's not showing up on my web page, though. What gives?

    I didn't ditto, I just mv from a network share to usr/share/collaboration/css/serverhome/img

    What else do I need to do?
    MacBook Pro, Mac OS X (10.5.8)
  • Smittles Level 1 Level 1 (0 points)
    Currently Being Moderated
    Nov 3, 2009 2:54 PM (in response to harry @ pmsi)
    How do I verify permissions? Who's Owner?
    PPC G5, Mac OS X (10.5.5)
  • Smittles Level 1 Level 1 (0 points)
    Currently Being Moderated
    Nov 3, 2009 3:55 PM (in response to Smittles)
    I found the answers to my own questions:

    verify permissions with ls -l [filename]

    change permissions so it's group and world viewable with chmod 644 [filename]
    MacBook Pro, Mac OS X (10.5.8), 2.2 GHz Intel Core 2 Duo
  • smrice Calculating status...
    Currently Being Moderated
    Nov 12, 2009 9:42 AM (in response to Douggo)
    There does not appear to be an index.html file in /usr/share/collaboration/. Yes, I am looking for invisible files. Any ideas?
    Mac OS X (10.5.8)
  • Smittles Level 1 Level 1 (0 points)
    Currently Being Moderated
    Nov 12, 2009 9:58 AM (in response to smrice)
    smrice wrote:
    There does not appear to be an index.html file in /usr/share/collaboration/. Yes, I am looking for invisible files. Any ideas?

    Actually, you are. In order to see these files you have to have root access. I don't necessarily recommend giving yourself root access unless you have some experience with it. It's not difficult, but it can be very damaging if you perform the wrong function.

    Basically, open a Terminal window and type sudo bash

    That will turn your Mac Terminal window into a Unix-style Bash terminal.

    From there, CD into the directory listed above, and use vi to edit the file.

    If you don't know what I'm talking about, read up about bash and vi commands, how to use terminal, backing up files via vi and bash, and basic knowledge of Unix in general.
    MacBook Pro, Mac OS X (10.5.8), 2.2 GHz Intel Core 2 Duo
  • smrice Level 1 Level 1 (25 points)
    Currently Being Moderated
    Nov 12, 2009 4:05 PM (in response to Smittles)
    I am familiar with bash, and I have been looking using root access. Below is the output of ls:

    {quote:title=shell output}{quote}
    bash-3.2# ls -al /usr/share/collaboration/
    total 40
    drwxr-xr-x 14 root wheel 476 Sep 25 2007 .
    drwxr-xr-x 79 root wheel 2686 Sep 6 16:08 ..
    -rw-r--r-- 1 root wheel 1953 Sep 25 2007 api_tests.html
    -rw-r--r-- 1 root wheel 1228 Sep 25 2007 apiunit_testsuite.plist
    drwxr-xr-x 17 root wheel 578 Nov 4 16:48 css
    -rw-r--r-- 1 root wheel 1174 Sep 25 2007 debugMode.html
    -rw-r--r-- 1 root wheel 1653 Sep 25 2007 default_suites.plist
    -rw-r--r-- 1 root wheel 1 Sep 25 2007 fake.qti
    drwxr-xr-x 35 root wheel 1190 Sep 25 2007 images
    drwxr-xr-x 32 root wheel 1088 May 14 2009 javascript
    drwxr-xr-x 3 root wheel 102 Sep 25 2007 strings
    drwxr-xr-x 26 root wheel 884 Sep 25 2007 themes
    drwxr-xr-x 23 root wheel 782 Aug 27 2008 unitTests
    drwxr-xr-x 8 root wheel 272 Sep 25 2007 unittest


    So where's my index.html? Thanks for your help.
    Mac OS X (10.5.8)
  • Smittles Level 1 Level 1 (0 points)
    Currently Being Moderated
    Nov 12, 2009 4:17 PM (in response to smrice)
    try the path:
    {drive_name}/library/webserver/documents/

    That's where my main "home-page" index.html resides.

    the share/collaboration/ path is for the wiki, specifically, and falls into a different category. I needed access to the usr/share/collaboration/css/serverhome/img/banner.jpg

    I don't know why the .css for the home page resides in a very different directory than the main index.html page for the server home page, but it does.

    Hope this helps!

    Message was edited by: Smittles
    MacBook Pro, Mac OS X (10.5.8), 2.2 GHz Intel Core 2 Duo
1 2 Previous Next

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.