1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2006
    Rep Power

    MDaemon / WorldClient on Apache

    Hi all,

    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:

    Code:    mail.oursite.com   // IP and DOMAIN masked for security reasons
    My Apache httpd-vhosts.cnf file uses the following to assign the virtual host:

        ServerName mail.oursite.com
        DocumentRoot "C:/MDaemon/WorldClient/HTML"
        CustomLog logs/wclient.access.log combined
        ErrorLog logs/wclien.error.log
              Options ExecCGI
              AllowOverride None
              Order allow,deny
              Allow from all
              RedirectMatch ^/$ http://mail.oursite.com/WorldClient.dll?View=Main
    That's it.. I navigate to http://mail.oursite.com and get the 403 forbidden error.. no idea why.

    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??
  2. #2
  3. mod_dev_shed
    Devshed Supreme Being (6500+ posts)

    Join Date
    Sep 2002
    Atlanta, GA
    Rep Power
    You need a <Directory> section that matches your DocumentRoot wrapped around your Options through Redirect directives:
    <Directory "C:/MDaemon/Worldclient/HTML">
      Options ExecCGI
      Redirect ...
    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.
    # Jeremy

    Explain your problem instead of asking how to do what you decided was the solution.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2008
    Rep Power

    download MDaemon WorldClient


    Where i can download MDaemon WorldClient for my linux?


IMN logo majestic logo threadwatch logo seochat tools logo