December 6th, 2007, 07:02 PM
MDaemon / WorldClient on Apache
Having some major issues trying to get Apache to allow access to a directory.. 403 errors everytime.
Here we go:
We are using MDaemon mail server, and want to allow web access to World Client, MDaemons webmail tool.
I am trying to setup a virtual host in Apache to handle the job. I am using Apache 2.2 on Windows installed to C:\www\apache\.
My windows HOST file contains the following line to handle the dns routing:
My Apache httpd-vhosts.cnf file uses the following to assign the virtual host:
126.96.36.199 mail.oursite.com // IP and DOMAIN masked for security reasons
That's it.. I navigate to http://mail.oursite.com and get the 403 forbidden error.. no idea why.
CustomLog logs/wclient.access.log combined
Allow from all
RedirectMatch ^/$ http://mail.oursite.com/WorldClient.dll?View=Main
I followed the instructions correctly (i think) from MDaemons support site http://www.altn.com/Support/KnowledgeBase/KnowledgeBaseResults/?Number=KBA-01525
I can't even restart apache if I leave the OPTIONS thru REDIRECT directives intact in <Virtualhost> above..
Any ideas what I am doing wrong??
December 7th, 2007, 02:53 PM
You need a <Directory> section that matches your DocumentRoot wrapped around your Options through Redirect directives:
This is because a well secured web server will have a <Directory /> (<Directory "C:/" in Windows) with Allow from none to prevent access to your root file system, followed by a <Directory> to override those settings for any DocumentRoot.
Explain your problem instead of asking how to do what you decided was the solution.
April 18th, 2008, 04:03 PM
download MDaemon WorldClient
Where i can download MDaemon WorldClient for my linux?