[horde] Horde Groupware Webmail Edition on Fedora 20
Anthony Messina
amessina at messinet.com
Sun Mar 2 20:41:17 UTC 2014
Putting the reply back on the mailing list...
On Sunday, March 02, 2014 02:42:19 PM you wrote:
> Hello,
>
> Thanks for your reply. I've followed:
>
> http://wiki.horde.org/CentOS5InstallationNotes?referrer=HowTo
>
> but right now my system is kind of a mess, it's a test box so I'm not
> worried just have to clean it.
>
> What components do you have installed?
>
> Also, one thing I'm not liking is the fact that I've got a /horde
> alias making any url http://servername/horde/something, what I was
> wanting to do was have my webmail in it's own dedicated virtual host
> at http://webmail.servername do you have a setup like this?
>
> I'll probably have more questions when I put this on the full server.
>
> Thanks.
> Dave.
>
> On 3/2/14, Anthony Messina <amessina at messinet.com> wrote:
> > On Sunday, March 02, 2014 01:04:21 PM Techswing33 wrote:
> >> If anyone is running Horde Groupware Webmail on an FC20 system in
> >> particular or Fedora in general please get back to me. I'm running in
> >> to various issues with setup.
> >
> > I am. Though I am installing everything that is *not* in the horde pear
> > channel via yum/rpm so that I can keep the updated Horde install
> > "separate"
> >
> > from the pre-packaged Horde RPMs from upstream Fedora, which are way out
> > of
> >
> > date.
> >
> > I went through a series of trials and errors using the pear commands to
> > find
> >
> > out which dependencies are available already via php-pear-* or php-pecl-*
> > RPMs:
> >
> > pear install -a -B horde/horde --pretend
> >
> > I would then install the dependencies via yum/rpm. When it was all said
> > and
> >
> > done, I had all of Horde's deps that don't come from the horde pear
> > channel
> >
> > installed via yum/rpm, then I would remove the "--pretend" from the above
> > command and actually install Horde:
> >
> > pear install -a -B horde/horde
> >
> > Also, rather than trying to install webmail in one swoop, I installed the
> > Horde framework, followed by each of the components I wanted included,
> > repeating the "--pretend" process described above.
> >
> > I also do the same "--pretend" process when upgrading:
> >
> > pear upgrade -a -B -c horde --pretend
> >
> > to ensure I am not going to pull in updates from pear that will clobber
> > RPMs.
> >
> > Of note, I did all this on F19, and have since "yum upgraded" to F20
> > without
> >
> > issue.
> >
> > -A
I am using the Horde framework, IMP, Ingo, Kronolith, Turba, Nag, Ansel and
Gollem.
I created a separate horde.conf for Apache 2.4 which I include in my ssl.conf
(lines are likely wrapped):
# Horde Configuration
# After upgrading, run "find /var/www/horde -name .htaccess -print -exec cat
'{}' \;"
# to find updates to .htaccess configurations so we can adjust the
RewriteBases below
Alias /horde /var/www/horde
# Redirections
# Microsoft ActiveSync
Alias /Microsoft-Server-ActiveSync /var/www/horde/rpc/
AliasMatch (?i)^/autodiscover/autodiscover.xml /var/www/horde/rpc/
# CalDAV/CardDav
RedirectMatch 301 ^/.well-known/(caldav|carddav)$ /horde/rpc/
<Directory /var/www/horde>
AllowOverride None
SSLRequireSSL
<Files "test.php">
Require all denied
</Files>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /horde/
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ rampage.php [QSA,L]
</IfModule>
</Directory>
<Directory /var/www/horde/ansel>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /horde/ansel/
RewriteRule ^user/?$ group.php?groupby=owner [QSA,L]
RewriteRule ^category/?$ group.php?groupby=category [QSA,L]
RewriteRule ^all/?$ view.php?view=List&groupby=none [QSA,L]
RewriteRule ^user/([@a-zA-Z0-9%_+.!*',()~-]*)/rss/?$
rss.php?stream_type=user&id=$1 [L]
RewriteRule ^user/([@a-zA-Z0-9%_+.!*',()~-]*)/?$
view.php?view=List&groupby=owner&owner=$1 [QSA,L]
RewriteRule ^gallery/id/([0-9]+)/rss/?$
rss.php?stream_type=gallery&id=$1 [QSA,L]
RewriteRule ^gallery/id/([0-9]+)/([0-9]+)/?
view.php?view=Image&gallery=$1&image=$2 [QSA,L]
RewriteRule ^gallery/id/([0-9]+)/?$ view.php?view=Gallery&gallery=$1
[QSA,L]
RewriteRule ^gallery/([a-zA-Z0-9_@]+)/rss/?$
rss.php?stream_type=gallery&slug=$1 [L]
RewriteRule ^gallery/([a-zA-Z0-9_@]+)/([0-9]+)/?
view.php?view=Image&slug=$1&image=$2 [QSA,L]
RewriteRule ^gallery/([a-zA-Z0-9_@]+)/?$ view.php?view=Gallery&slug=$1
[QSA,L]
RewriteRule ^category/([@a-zA-Z0-9%_+.!*',()~-]*)/?$
view.php?view=List&groupby=category&category=$1 [QSA,L]
RewriteRule ^tag/?$ view.php?view=Results [QSA,L]
RewriteRule ^tag/([a-zA-Z0-9%_+.!*',()~-]*)/rss/?$
rss.php?stream_type=tag&id=$1 [QSA,L]
RewriteRule ^tag/([a-zA-Z0-9%_+.!*',()~-]*)/?$
view.php?view=Results&tag=$1 [QSA,L]
</IfModule>
</Directory>
<Directory /var/www/horde/content>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /horde/content/
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>
</Directory>
<Directory /var/www/horde/kronolith/feed>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /horde/kronolith/feed/
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?c=$1 [QSA,L]
</IfModule>
</Directory>
<Directory /var/www/horde/rpc>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /horde/rpc/
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,L]
</IfModule>
</Directory>
<Directory /var/www/horde/vfs>
Require all denied
</Directory>
<DirectoryMatch "^/var/www/horde/(.*/)?(config|lib|locale|po|scripts|
templates)/(.*)?">
Require all denied
</DirectoryMatch>
<Location /horde/admin/config>
# Allow access to Horde's configuration web interface from our internal
subnets
Require ip 10.1.1.0/24
</Location>
--
Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.horde.org/archives/horde/attachments/20140302/fa25b707/attachment-0001.bin>
More information about the horde
mailing list