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
Recent comments
17 hours 19 min ago
22 hours 24 min ago
1 day 2 hours ago
1 day 4 hours ago
1 day 18 hours ago
1 day 18 hours ago
1 day 23 hours ago
2 days 6 hours ago
2 days 7 hours ago
2 days 8 hours ago