.htaccess: RewriteRule: bad flag delimiters Announcing the arrival of Valued Associate #679:...

Is safe to use va_start macro with this as parameter?

Is the Standard Deduction better than Itemized when both are the same amount?

What's the meaning of "fortified infraction restraint"?

Why didn't Eitri join the fight?

What is the meaning of the simile “quick as silk”?

What is this building called? (It was built in 2002)

Fantasy story; one type of magic grows in power with use, but the more powerful they are, they more they are drawn to travel to their source

How to react to hostile behavior from a senior developer?

Around usage results

How do I make this wiring inside cabinet safer? (Pic)

How come Sam didn't become Lord of Horn Hill?

Is it a good idea to use CNN to classify 1D signal?

How do pianists reach extremely loud dynamics?

Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?

Is it fair for a professor to grade us on the possession of past papers?

Using et al. for a last / senior author rather than for a first author

Why aren't air breathing engines used as small first stages

What causes the direction of lightning flashes?

Can an alien society believe that their star system is the universe?

Irreducible of finite Krull dimension implies quasi-compact?

Withdrew £2800, but only £2000 shows as withdrawn on online banking; what are my obligations?

An adverb for when you're not exaggerating

Generate an RGB colour grid

Wu formula for manifolds with boundary



.htaccess: RewriteRule: bad flag delimiters



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Come Celebrate our 10 Year Anniversary!.htaccess RewriteRule ProblemWhich directive could make apache/rewrite redirect products/ to products.phpCan mod_rewrite Conditions/Rules be executed in random order?Force HTTPS with mod_rewrite, including proxied SSLhtaccess rewriting all subdomains to subdirectoriesMod_rewite - do these rewrite rules work?RewriteRule not working with mod_userdirrewrite rule does not rewrite url as expected.htaccess RewriteRule for directory based with two parametersWebsite stopped working - bad flag delimiters error





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I added



RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} /article/
RewriteRule ! ^article/d+ redirect.php [L]


to .htaccess and got a .htaccess: RewriteRule: bad flag delimiters message. Reviewed the related questions here but they didn't help.










share|improve this question














bumped to the homepage by Community 7 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















    0















    I added



    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_URI} /article/
    RewriteRule ! ^article/d+ redirect.php [L]


    to .htaccess and got a .htaccess: RewriteRule: bad flag delimiters message. Reviewed the related questions here but they didn't help.










    share|improve this question














    bumped to the homepage by Community 7 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      0












      0








      0








      I added



      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_URI} /article/
      RewriteRule ! ^article/d+ redirect.php [L]


      to .htaccess and got a .htaccess: RewriteRule: bad flag delimiters message. Reviewed the related questions here but they didn't help.










      share|improve this question














      I added



      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_URI} /article/
      RewriteRule ! ^article/d+ redirect.php [L]


      to .htaccess and got a .htaccess: RewriteRule: bad flag delimiters message. Reviewed the related questions here but they didn't help.







      mod-rewrite






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Oct 27 '15 at 7:57









      chxchx

      1,3951224




      1,3951224





      bumped to the homepage by Community 7 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 7 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          Compare



          RewriteRule ! ^article/d+ redirect.php [L]
          RewriteRule !^article/d+ redirect.php [L]


          Yes, the second works. You can't have a space between the ! and the pattern. AFAICS this is not mentioned in the Apache docs.






          share|improve this answer
























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "2"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f731879%2fhtaccess-rewriterule-bad-flag-delimiters%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Compare



            RewriteRule ! ^article/d+ redirect.php [L]
            RewriteRule !^article/d+ redirect.php [L]


            Yes, the second works. You can't have a space between the ! and the pattern. AFAICS this is not mentioned in the Apache docs.






            share|improve this answer




























              0














              Compare



              RewriteRule ! ^article/d+ redirect.php [L]
              RewriteRule !^article/d+ redirect.php [L]


              Yes, the second works. You can't have a space between the ! and the pattern. AFAICS this is not mentioned in the Apache docs.






              share|improve this answer


























                0












                0








                0







                Compare



                RewriteRule ! ^article/d+ redirect.php [L]
                RewriteRule !^article/d+ redirect.php [L]


                Yes, the second works. You can't have a space between the ! and the pattern. AFAICS this is not mentioned in the Apache docs.






                share|improve this answer













                Compare



                RewriteRule ! ^article/d+ redirect.php [L]
                RewriteRule !^article/d+ redirect.php [L]


                Yes, the second works. You can't have a space between the ! and the pattern. AFAICS this is not mentioned in the Apache docs.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Oct 27 '15 at 7:59









                chxchx

                1,3951224




                1,3951224






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Server Fault!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f731879%2fhtaccess-rewriterule-bad-flag-delimiters%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    117736 Шеррод Примітки | Див. також | Посилання | Навігаційне...

                    As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

                    Маріан Котлеба Зміст Життєпис | Політичні погляди |...