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

    Join Date
    Aug 2006
    Posts
    50
    Rep Power
    9

    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:
    209.20.209.209    mail.oursite.com   // IP and DOMAIN masked for security reasons
    My Apache httpd-vhosts.cnf file uses the following to assign the virtual host:

    Code:
    <VirtualHost 209.20.209.209:80>
        
        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
    
    </VirtualHost>
    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
    Location
    Atlanta, GA
    Posts
    14,817
    Rep Power
    1100
    You need a <Directory> section that matches your DocumentRoot wrapped around your Options through Redirect directives:
    Code:
    <Directory "C:/MDaemon/Worldclient/HTML">
      Options ExecCGI
      ...
      Redirect ...
    </Directory>
    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
    Posts
    1
    Rep Power
    0

    download MDaemon WorldClient


    Hi.

    Where i can download MDaemon WorldClient for my linux?

    Thansk.

IMN logo majestic logo threadwatch logo seochat tools logo