#1  
Old 19th March 2012, 18:57
sjau sjau is offline
Local Meanie
 
Join Date: Apr 2006
Location: Switzerland
Posts: 1,138
Thanks: 4
Thanked 52 Times in 48 Posts
Default Globally add /horde ?

Meanwhile I like the horde webmail suite very much. It provides webmail, calendar, todo, contact and can sync via SyncML, ActiveSync and supports caldav (or webdav... never really sure).

Anyway, I'd like to make horde available on all domains at /horde.

So I looked how phpmyadmin and squirrelmail are being handled. If found that those are stored in /etc/apache2/sites-available/ispconfig.conf

Code:
<Directory /usr/share/phpMyAdmin>
        Order allow,deny
        Allow from all
</Directory>

<Directory /usr/share/squirrelmail>
        Order allow,deny
        Allow from all
</Directory>
Because of that, I thought I should add the horde info also there. So I added:

Code:
Alias /Microsoft-Server-ActiveSync /var/www/horde/rpc.php
Alias /horde /var/www/horde
<Directory /var/www/horde>
        Options +FollowSymLinks
        AllowOverride None
        order allow,deny
        allow from all
        php_value include_path ".:/usr/share/php"
        php_value open_basedir "none"
        php_value upload_tmp_dir "/var/www/horde/phptmp/"
</Directory>
After I restarted the webserver and used one of the domain I added, I got this error:

[Sun Mar 18 17:24:21 2012] [error] [client 127.0.1.1] SoftException in Application.cpp:221: File "/var/www/horde/index.php" is not in document root of Vhost "/var/www/clients/client1/web1/web"


However when I open it using the ip: http://ip_address/horde or http://hostname.com/horde it works.
__________________
"Common sense is not as common as commonly believed" by sjau

Auto-Install Script for ISPConfig and Horde on a Vanilla Debian Stable

Need more Repos for Ubuntu? Repository Generator
Need more Repos for Debian? Debian Repository Generator
Reply With Quote
Sponsored Links
  #2  
Old 20th March 2012, 07:58
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,421
Thanks: 812
Thanked 5,205 Times in 4,081 Posts
Default

PLease add:

AddType application/x-httpd-php .php

right after the line

allow from all

This will switch the php mode to mod_php for the horde directory as the current ph mode of the site would prevent access to files outside of the web dir for security reasons.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
alexander.bluemm (13th May 2012)
  #3  
Old 20th March 2012, 08:11
sjau sjau is offline
Local Meanie
 
Join Date: Apr 2006
Location: Switzerland
Posts: 1,138
Thanks: 4
Thanked 52 Times in 48 Posts
Default

I'll try tonight.

Btw, should I add the horde stuff to the ipsconfig file or to apache2.conf?
__________________
"Common sense is not as common as commonly believed" by sjau

Auto-Install Script for ISPConfig and Horde on a Vanilla Debian Stable

Need more Repos for Ubuntu? Repository Generator
Need more Repos for Debian? Debian Repository Generator
Reply With Quote
  #4  
Old 20th March 2012, 08:16
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,421
Thanks: 812
Thanked 5,205 Times in 4,081 Posts
Default

I would create a new file e.g. called horde.conf in the apache conf.d folder. apache will include all config files in conf.d automatically.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 20th March 2012, 17:59
sjau sjau is offline
Local Meanie
 
Join Date: Apr 2006
Location: Switzerland
Posts: 1,138
Thanks: 4
Thanked 52 Times in 48 Posts
Default

that works perfectly.
__________________
"Common sense is not as common as commonly believed" by sjau

Auto-Install Script for ISPConfig and Horde on a Vanilla Debian Stable

Need more Repos for Ubuntu? Repository Generator
Need more Repos for Debian? Debian Repository Generator
Reply With Quote
  #6  
Old 13th May 2012, 10:23
alexander.bluemm alexander.bluemm is offline
Junior Member
 
Join Date: Apr 2012
Posts: 4
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via AIM to alexander.bluemm
 
Default

Quote:
Originally Posted by till View Post
PLease add:

AddType application/x-httpd-php .php

right after the line

allow from all

This will switch the php mode to mod_php for the horde directory as the current ph mode of the site would prevent access to files outside of the web dir for security reasons.
Hi Till,

this works perfect.
__________________
MfG
der Alex
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
freebsd 7, samba 3, domain controller alexdimarco Suggest HOWTO 6 5th November 2010 16:54
ISPConfig 3.0.0.8 RC1 released till General 92 22nd February 2010 09:52
Unable to add a CNAME to DNS tmdg Installation/Configuration 4 27th August 2009 13:42
Advice on how to setup Lintrack As A LAN Gateway And An OpenVPN Bridge eddiequek HOWTO-Related Questions 0 12th July 2007 10:38
Have to manually add virtual server without WWW? lipp9000 Installation/Configuration 8 21st July 2006 15:54


All times are GMT +2. The time now is 23:48.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.