Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
NoSpy Posted July 10, 2019 Posted July 10, 2019 Hello, My community is in subdomain, I have trouble Apache 2.4 with apache 2.2 I have no problem <IfModule mod_rewrite.c> Options -MultiViews RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteRule \.(js|css|jpeg|jpg|gif|png|ico|map)(\?|$) /404error.php [L,NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> I have problem with this line. ". /index.php [L]" if I put RewriteRule ./index.php [L] forum does not work, but htaccess protect folder work if I put RewriteRule . /index.php [L] forum work, but not work htaccess protect folder work any idea how fix that ?
bfarber Posted July 10, 2019 Posted July 10, 2019 10 hours ago, NoSpy said: but not work htaccess protect folder work Can you clarify what you mean? Sounds like you are trying to prevent directory listings, which you can do with this command: Options -Indexes
NoSpy Posted July 12, 2019 Author Posted July 12, 2019 It's irrelevant. Options -Indexes I'm talking about the folder protection by htpasswd ". /index.php [L]" When I put this line with [L] it generates a conflict that disables the htpasswd in Apache 2.4 only.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.