mjau-mjau wrote:if mod_rewrite is installed, but not working correctly, in almost all cases it was solved by including the
rewritebase rule. This rule is mentioned in the /check/ page by the rewrite test.
Normally you would just set it in .htaccess:
As commented in the default .htaccess:
# RewriteBase
# Some hosts require a RewriteBase rule to allow the rewriteEngine to function relative to your domain path. You can normally see if this is the case by going to your /check/ page. If RewriteBase is required, uncomment the line below.
# EXAMPLE 1: if running x3 in domain root, RewriteBase /
# EXAMPLE 2: if running from a root folder named 'x3', RewriteBase /x3
RewriteBase /
Sorry this just something I don't have a good grasp on yet. Here is what I have changed below and still fails. I added the /x3 in the last line as per Example: 2.
RewriteEngine on
# ######################################################################
# # IMAGEVUE X3
# ######################################################################
# Prevent access to various folders with exceptions
RewriteCond %{REQUEST_FILENAME} !app/parsers/slir [NC]
RewriteRule ^(app|templates|extensions)/ - [NC,F]
# RewriteBase
# Some hosts require a RewriteBase rule to allow the rewriteEngine to function relative to your domain path. You can normally see if this is the case by going to your /check/ page. If RewriteBase is required, uncomment the line below.
# EXAMPLE 1: if running x3 in domain root, RewriteBase /
# EAXAMPLE2: if running from a root folder named 'x3', RewriteBase /x3
RewriteBase /x3
Thanks in advance for the help.
Dennis