Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: bart-s on February 08, 2006, 10:53:09 PM
-
Hello everyone,
I would like to use SME as a WEBdav server to share my calandar using Mozilla Sunbird, Horde Kronolith etc. I've followed this howto to install MODdav: http://no.longer.valid/phpwiki/index.php/How%20to%20install%20mod_dav
The howto is written for SME 6.X, and I'm using 7.0pre1 (that's probably the reason why I'm in trouble right now..). I've used this RedHat rpm: mod_dav-1.0.3-5.i386.rpm
Everything worked fine, only this command gave an unspecified error:
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
The command to restart apache didn't work, so I rebooted the whole server. Since then, apache seems to be broken. My webbrowser can't establish a connection to the server-manager, so I'm not able tot change anything there. The apache logfile /var/log/httpd/error_log looks normal, so I'm a bit lost right now..
Is there anyone who could help me to get apache working again? The MODdav module doesn't have to work, that's not a big issue at the moment. It would be very great if I can get apache working again to be able to use webmail and the server-manager again..
Thanks!
-
I would like to use SME as a WEBdav server to share my calandar using Mozilla Sunbird, Horde Kronolith etc. I've followed this howto to install MODdav: http://no.longer.valid/phpwiki/index.php/How%20to%20install%20mod_dav
The howto is written for SME 6.X, and I'm using 7.0pre1 (that's probably the reason why I'm in trouble right now..).
As stated many places on this site...Contribs and How-to's for earlier versions of SME WILL MOST LIKELY NOT WORK on SME7. This particular How-to also deals with db settings. httpd.conf and the db locations have changed so that how-to needs updating for SME7. See this thred for more info.
http://forums.contribs.org/index.php?topic=27793.0
RedHat rpm: mod_dav-1.0.3-5.i386.rpm
Is this a CentOS4.2 RPM? If not, it probably won't work. Remember, SME7 is currently based on Centos4.2.
You can try this to get back where you started:
Remove the RPM
Delete /var/run/davLocks
Delete all those custom templates then re-expand the templates
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
Make sure you don't get any errors.
Restart your web server with
/etc/rc7.d/S86httpd-e-smith restart
This should remove what you did.
Paul
-
Thanks for your support! My server is working again!
This has been a good lesson for me...I will not use any howto's written for a previous version of SME again :-)
-
I have quite same problem when i use this howto to configure webdav on SME 7Rc3
Each time i do a RPM install, or an ibay creation the httpd.conf file goes wrong and crash apache
this line goes this way :
<Directory
/home/e-smith/files/ibays/ical/html>
DAV On
</Directory>
instead of this one
<Directory /home/e-smith/files/ibays/ical/html>
DAV On
</Directory>
i do a hand correction, a /etc/rc7.d/S86httpd-e-smith restart, and everything works great. But this solution sucks
Any solution ? :lol:
-
I have quite same problem when i use this howto to configure webdav on SME 7Rc3
Each time i do a RPM install, or an ibay creation the httpd.conf file goes wrong and crash apache
this line goes this way :
<Directory
/home/e-smith/files/ibays/ical/html>
DAV On
</Directory>
instead of this one
<Directory /home/e-smith/files/ibays/ical/html>
DAV On
</Directory>
i do a hand correction, a /etc/rc7.d/S86httpd-e-smith restart, and everything works great. But this solution sucks
Any solution ? :lol:
I guess there is some sort of return hidden in your template generating this section. Can you verify or post the relevant section so we can verify it?
-
relevant section in httpd.conf file ?
here it is.... my ibay is "ical"
It seems it goes wrong when i play the last command "/sbin/e-smith/signal-event ibay-modify ical"
#------------------------------------------------------------
# ical ibay directories (ical)
#------------------------------------------------------------
<Directory /home/e-smith/files/ibays/ical/html>
Options None
Options +Indexes
Options +IncludesNOEXEC
<FilesMatch "\.(php|php3|phtml)$">
order deny,allow
Deny from all
</FilesMatch>
AllowOverride None
order deny,allow
deny from all
allow from all
AuthName "ical"
AuthType Basic
AuthExternal pwauth
require user ical
Satisfy all
</Directory>
<Directory /home/e-smith/files/ibays/ical/cgi-bin>
AllowOverride None
order deny,allow
deny from all
allow from all
AuthName "ical"
AuthType Basic
AuthExternal pwauth
require user ical
Satisfy all
</Directory>
<Directory /home/e-smith/files/ibays/ical/files>
AllowOverride None
order deny,allow
deny from all
allow from all
AuthName "ical"
AuthType Basic
AuthExternal pwauth
require user ical
Satisfy all
</Directory>
<Directory
/home/e-smith/files/ibays/ical/html>
DAV On
</Directory>
<Directory /home/e-smith/files/ibays/Primary/html>
AddType application/x-httpd-php .php .php3 .phtml
AddType application/x-httpd-php-source .phps
php_admin_value open_basedir /home/e-smith/files/ibays/Primary/
</Directory>
Alias /wpad.dat /etc/httpd/conf/proxy/proxy.pac
<Location /wpad.dat>
order deny,allow
deny from all
allow from 127.0.0.1 192.168.1.0/255.255.255.0
</Location>
Alias /proxy.pac /etc/httpd/conf/proxy/proxy.pac
<Location /proxy.pac>
order deny,allow
deny from all
allow from 127.0.0.1 192.168.1.0/255.255.255.0
</Location>
-
There is a howto for webdav for SME7 here ...
http://no.longer.valid/phpwiki/index.php/How%20to%20install%20mod_dav%20on%20SME%207.x
Works no probs
Regards,
Tib
-
Removed and posted elsewhere.
-
I solved "my" problem.
Simply when i copied past the 95AddModDav2ibays template from contribs.org to putty (with m$) it adds a unknow line in the code.
I corrected the template and it works fine... It takes me a long while to find that mistake, but i learned a lot of stuff instead.
thx for support
-
Hi
I have followed the howto in the first post but I need to know if it is at all possible to setup the webdav to make use of usernames and password and not the ibay username and password. I need users to login using their own id's.
Also
can i make it so they can access their own user areas?
i use 6.0.1 or is this a feature on 7?
Thanks in advance
Kobus