Opened 4 years ago

Closed 4 years ago

#1486029 closed Bugs (worksforme)

Error 403 if RC resides outside DOCUMENT_ROOT

Reported by: McShelby Owned by:
Priority: 3 Milestone: 0.3.1
Component: Core functionality Version: 0.3-rc1
Severity: normal Keywords: 403 DOCUMENT_ROOT alias
Cc:

Description (last modified by thomasb)

When RC is installed outside the DOCUMENT_ROOT and is access by using an alias, the whole installation is inaccessible because the webserver emits error 403.

eg:

WEBSERVER_ADDRESS=example.com
DOCUMENT_ROOT=C:\htdocs
ROUNDCUBE_DIR=C:\rc

Apache Config:
    Alias /rc "C:/rc/"
    <Directory "C:/rc/">
        AllowOverride All
        Options Indexes MultiViews ExecCGI
        DirectoryIndex index.php
        Order allow,deny
        Allow from all
    </Directory>

Accessing http://example.com/rc will end in an error 403.

Change History (3)

comment:1 Changed 4 years ago by McShelby

Did forgot to mention that the error is gone if the mod_rewrite stuff of RCs .htaccess is deleted/commented out.

comment:2 Changed 4 years ago by thomasb

  • Description modified (diff)

Roundcube itself doesn't send an 403 anywhere. Seems to be a webserver issue.

comment:3 Changed 4 years ago by alec

  • Resolution set to worksforme
  • Status changed from new to closed

Works for me.

Note: See TracTickets for help on using tickets.