Roundcube Community Forum

 

snow lepoard wiki

Started by cagednikki, December 16, 2009, 01:06:38 PM

Previous topic - Next topic

cagednikki

I am now running roundcube on our Snow Leopard Server, but I would like our users to be able to go to roundcube from the mail link within their wiki that is hosted by the server, rather than Squirrel Mail which it does by default, I am sure this is possible but I can not figure out how to do this, if anyone has any ideas.....

SKaero

That would be a question for the people that make the wiki.

cagednikki

it is just the wiki within snow leopard, thought I might start here as I am sure that someone figured out how to do this.

wave

Move RoundCube out of the WebServer directory (recommendable, anyway):
sudo mv /Library/WebServer/Documents/roundcube /usr/share/

Copy the original httpd.conf file, if you ever need a backup:
sudo cp /private/etc/httpd/httpd_squirrelmail.conf /private/etc/httpd/httpd_squirrelmail.conf.backup

Change to the apache2 config directory:
cd /etc/apache2

Edit the httpd_squirrelmail.conf file in a text editor, like so:
sudo pico httpd_squirrelmail.conf

Put in these values:
Alias /WebMail /usr/share/roundcube
Alias /webmail /usr/share/roundcube

Options Indexes FollowSymLinks


Duplicate Apple's PHP script enabling webmail:
cd /usr/share/roundcube
sudo mkdir src
sudo cp /usr/share/squrrelmail/src/index.php src/
sudo chown -R root:admin src
sudo chmod -R 755 src

Restart Apache
sudo apachectl graceful
(You'll have to use ServerAdmin, if you're running more than one Site!)

casinoexpert

I am a casino expert and I would like to share this exclusive no deposit poker bonuses.

casinoexpert


cagednikki

In case anyone else is having the same problem as me, and would like to get the wiki link to point to their new Round Cube address, this is how I made it work.

1:  In Terminal: sudo cp /etc/apache2/httpd_squirrelmail.conf /etc/apache2/httpd_squirrelmail.conf.bak

2:. Edit the file /etc/apache2/httpd_squirrelmail.conf (with vi or nano) and comment out these lines by putting hashes in front of them:
Alias /WebMail /usr/share/squirrelmail
Alias /webmail /usr/share/squirrelmail

3: Add these two lines immediately after the lines you just commented out:
Redirect /WebMail https://www.domain.com/webmail
Redirect /webmail https://www.domain.com/webmail

4: Save the config file

5: Stop and start the web service.