smf-forum

Is rewriteCond doesn't work with semicolon?

冷暖自知 提交于 2019-12-25 06:13:12
问题 I've ask this rewrite rule for Everything but certain pattern question. Well, the problem is still the same. I have the following htaccess: <IfModule mod_rewrite.c> # Options +FollowSymLinks -Indexes RewriteEngine On RewriteBase / RewriteCond %{REQUEST_URI} "forum/" [OR] RewriteCond %{REQUEST_URI} "forum" RewriteRule (.*) $1 [L] #Checks to see if the user is attempting to access a valid file, #such as an image or css document, if this isn't true it sends the #request to index.php RewriteCond

.gitignore not ignoring folder

故事扮演 提交于 2019-12-04 17:10:13
问题 I have a project in Laravel and I have forum in public directory which I don't want to push it to repository, so I write in .gitignore: ### Laravel ### vendor/ node_modules/ # Laravel 5 & Lumen specific bootstrap/cache/ .env.*.php .env.php .env # SMF public/forum/ # Rocketeer PHP task runner and deployment package. https://github.com/rocketeers/rocketeer .rocketeer/ However, the entry still appears in Git status Here is my tree with it: +... + public ++ forum +++... +... Where is the problem?