user directory vs logical "user" folder

Discussion in 'Installation/Configuration' started by Toot, Jul 13, 2010.

  1. Toot

    Toot New Member

    Hello.

    The first site going onto my newly-built Centos 5.3 server with ISPConfig 2.2.36 uses a CMS that accesses /user/ directories via a generic mod_rewrite rule:
    Code:
    # If requested resource does not exist as a file
    RewriteCond %{REQUEST_FILENAME} !-f
    # and does not exist as a directory
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    
    Then the /index.php does some magic. However, accessing e.g. mysite.com/users/q/admin/ return a 404. I'm pretty sure it's because of the rule in /root/ispconfig/isp/conf/ -
    Code:
    AliasMatch ^/~([^/]+)(/(.*))? {HTTPD_ROOT}/{WEB}/user/$1/web/$3
    AliasMatch ^/users/([^/]+)(/(.*))? {HTTPD_ROOT}/{WEB}/user/$1/web/$3
    
    Is there a setting to change/remove these rules on a per-site basis? I don't really want to start disabling global functionality because a single site doesn't work, and I don't want to give access to the Vhosts_ispconfig.conf file either...

    Thanks for your time,
    AC
     
    Last edited: Jul 13, 2010
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    This function can not be disabled for a single website.
     
  3. Toot

    Toot New Member

    For now??? :)

    Thanks for the quick reply.
     

Share This Page