Koozali.org: home of the SME Server

SME 7 + iFolder

lulu62

SME 7 + iFolder
« on: November 17, 2006, 08:01:46 AM »
Hello,

I'm using SM7 in the gateway and server mode and i would like to make iFolder running on it. This program (iFolder) is based on a client software and a server software.
So I followed this HowTo that explains how to install iFolder Entreprise Server on a CentOS linux system, and here are the main steps :

1) Install Mono and Apache2 (only Mono for me)
2) Configure Yum with iFolder Server Repository
3) Install iFolder (with yum)
4) Create .config directory and assign Apache ownership
5) Configure the Server's Firewall to allow http traffic (I'm working on my local area network so i skipped this step)
6) Disable SELinux (I didn' find any file called selinux so i skipped this step)

I specify that my SME server and Apache are working great and i can browse my ibays using Firefox.

I think (i'm a linux newbie) that i did well finish the ifolder installation on my server however i cannot access the administration panel : http://host/admin , i get a 404 Not Found error (I obviously replace host by the LAN server IP)

First I though it was a problem with the apache alias so i updated the httpd.conf file in order that apache finds the folders where ifolder is installed and allow them to be browsed.
After that i was able to see the content of these folders (full of .aspx and .ascx files) so i clicked on some of them (Default.aspx and Login.aspx) but it didn't work : I got the text version of these files in firefox

Now i'm wondering if apache and its configuration files are not a little bit "SME customized" 'cause in every HowTo on the ifolder website it's explained for a new apache2 installation...

I'm also wondering if Mono is well working because if it's true why did I get the text version of the .aspx files ? (I don't know anything about aspx...)

I specify that the ifolder installation has created others folders : /etc/simias where i find 2 .config files and /etc/simias/apache where i find some .conf files.

Here is the content of /etc/simias/apache/ifolder_apache.conf :
Code: [Select]

Include /etc/httpd/conf.d/mod_mono.conf

Include /etc/simias/apache/default/*.conf

#NameVirtualHost 127.0.0.1

#<VirtualHost 127.0.0.1>
#       DocumentRoot /var/lib/www/example.com
#       ServerName example.com
#       Include /etc/simias/apache/example.com/*.conf
#</VirtualHost>

and here is the content of /etc/simias/apache/default/ifolder_admin.conf :
Code: [Select]

Include /etc/httpd/conf.d/mod_mono.conf

Alias /admin "/usr/lib/simias/admin"
AddMonoApplications admin "/admin:/usr/lib/simias/admin"
<Location /admin >
        MonoSetServerAlias admin
        Order allow,deny
        Allow from all
        AddHandler mono asax aspx ascx asmx ashx log csv
        DirectoryIndex Default.aspx index.html
</Location>

#Remove comments below this line to enable SSL
#LoadModule rewrite_module /usr/lib/apache2/mod_rewrite.so
#RewriteEngine On
#RewriteCond %{HTTPS} !=on
#RewriteRule ^/ifolder/(.*) https://%{SERVER_NAME}/ifolder/$1 [R,L]

If somebody can help me it would be so nice 'cause i really want to get this (wonderful) soft running on my server.

Thx.

Offline mmccarn

  • *
  • 2,651
  • +10/-0
SME 7 + iFolder
« Reply #1 on: November 19, 2006, 04:10:47 PM »
I tried to setup iFolder about 6 months ago and couldn't get it working on SME 7, so I setup a Virtual Machine running OpenSUSE 10.1 and installed it there.

on that system, the iFolder install created /etc/apache2/conf.d/ifolder_apache.conf containing:
Code: [Select]
Include /etc/apache2/mod_mono.conf
Include /etc/simias/apache/default/*.conf

lulu62

SME 7 + iFolder
« Reply #2 on: November 20, 2006, 07:09:09 AM »
Isn't there another way to get this software running on SME7 ?
I'm quite new at linux and virtualization is a little bit too early for me...
I though some changes in Apache or Mono would be some kind of solution ?!

Offline mmccarn

  • *
  • 2,651
  • +10/-0
SME 7 + iFolder
« Reply #3 on: November 20, 2006, 02:01:53 PM »
Sorry to be unclear...

I'm suggesting that you try this:

pico -w /etc/httpd.conf.d/ifolder_apache.conf
Code: [Select]
Include /etc/apache2/mod_mono.conf
Include /etc/simias/apache/default/*.conf

/etc/init.d/httpd-e-smith restart

If this causes any problems (server-manager doesn't work any more, for example):

rm /etc/httpd/conf.d/ifolder_apache.conf
/etc/init.d/httpd-e-smith restart

gerald001

Re: SME 7 + iFolder
« Reply #4 on: March 06, 2007, 09:43:10 PM »
Quote from: "lulu62"
If somebody can help me it would be so nice 'cause i really want to get this (wonderful) soft running on my server.

Thx.

High lulu62,
you might want to try a packaged rpm with some instructions on what additionally is needed for implementation of iFolder on SME.
Tested on a SME Server 7.1 and with iFolder Client on Mac and Windows.
http://schwarzecker.homelinux.net/index.php?option=com_content&task=view&id=153&Itemid=2
have a nice day
Gerald