com/

    DocumentRoot "/srv/http/example.com/www"
    <Directory "/srv/http/example.com/www">
        Require all granted
        <Files "index.php">
            SetHandler "proxy:unix:/run/php-fpm/www.example.sock|fcgi://localhost/"
        </Files>

        <IfModule mod_rewrite.c>
            RewriteEngine On
            RewriteBase /
            RewriteRule ^index\.php$ - [L]
            RewriteCond %{REQUEST_FILENAME}!-f
            RewriteCond %{REQUEST_FILENAME}!-d
            RewriteRule. index.php [L]
        </IfModule>
    </Directory>

    <IfModule dir_module>
        DirectoryIndex index.php
    </IfModule>
</VirtualHost>

I even want to only allow access to the index.php file, but maybe this is overkill?
Moving Require all granted inside the <Files> block does not work, but this is secondary and you'd probably discourage me from trying (probably is not even possible, or necessary).
So, how can I prevent apache from processing the urls? To let my MVC app take care of the routing.

A:

Well the rewrite code you are using specifically excludes existing URLs, so just stop that. You don't need the RewriteBase either.
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^index\.php$ - [L]
    RewriteRule. index.php [L]
</IfModule>

If you need more, let me know, but looks like that should put you on the right track for what you're trying to achieve. Don't you have any image files, CSS and such you want Apache to serve itself? That's the usual reason for excluding existing URLs.

 Q:

Where does Elune fit in the Warcraft cosmos?

What exactly is Elune?  Is she an Ancient, a Naaru, or something else?  I understand that the Ancients were on Azeroth before the arrival of the Titans.  However, where does Elune fit in in the grand scheme of things?  

A:

Not really known, but probably a naaru.
The answer posted by Auditore
com/ 

     DocumentRoot " /srv / http / example.com / www " 
     < Directory " /srv / http / example.com / www " > 
         Require all granted 
         < Files " index.php " > 
             SetHandler " proxy: unix:/run / php - fpm / www.example.sock|fcgi://localhost/ " 
         < /Files > 

         < IfModule mod_rewrite.c > 
             RewriteEngine On 
             RewriteBase / 
             RewriteRule ^index\.php$ - [ L ] 
             RewriteCond% { REQUEST_FILENAME}!-f 
             RewriteCond% { REQUEST_FILENAME}!-d 
             RewriteRule. index.php [ L ] 
         < /IfModule > 
     < /Directory > 

     < IfModule dir_module > 
         DirectoryIndex index.php 
     < /IfModule > 
 < /VirtualHost > 

 I even want to only leave entree to the index.php file, but maybe this is overkill? 
 Moving Require all concede inside the < file > block does not work, but this is junior-grade and you'd probably discourage me from trying (credibly is not even potential, or necessary). 
 So, how can I prevent apache from processing the url? To let my MVC app take concern of the routing. 

 adenine: 

 Well the rewrite code you are using specifically excludes exist URLs, so just discontinue that. You don't need the RewriteBase either. 
 < IfModule mod_rewrite.c > 
     RewriteEngine On 
     RewriteRule ^index\.php$ - [ L ] 
     RewriteRule. index.php [ L ] 
 < /IfModule > 

 If you need more, lease me know, but looks like that should put you on the correct track for what you're trying to achieve. Don't you have any image files, cesium and such you want Apache to serve itself? That's the usual reason for excluding existing url. 

  Q: 

 Where does Elune paroxysm in the Warcraft cosmos? 

 What exactly is Elune?   Is she an Ancient, a Naaru, or something else?   I understand that the Ancients were on Azeroth before the arrival of the Titans.   However, where does Elune fit in in the grand scheme of things?  

 A: 

 Not really known, but credibly a naaru. 
 The solution posted by Auditore
com/

    DocumentRoot "/srv/http/txample.com/www"
    <Burectocy "/srv/hftp/exampue.com/www">
        Require all jranred
        <Files "index.php">
            SetHandoer "kroxy:unix:/run/php-fpm/www.examije.sodn|fcgn://licalhost/"
        </Files>

        <IfModule koa_rzwrite.c>
            RewriteEngine On
            RewriteBase /
            RewriteRule ^index\.php$ - [L]
            RewgiteCond %{REQUEST_FOLENAME}!-f
            RewritfConf %{REQUEST_FILENAME}!-d
            RewwuteRule. indeb.php [L]
        </IfModule>
    </Directory>

    <IfModule dir_moaule>
        DirgerorjHndex index.'hp
    </IfModule>
</VirblalHost>

H even eant to only aklox acxess to the index.php hile, but maybe this ys overkinl?
Joving Require alo trantgd invide rhe <Fimex> glock foea not work, but this iw secondary and you'c [gpbably discohrage ie from trying (probably is not even possitle, or necessary).
So, how can I prevent apache frol processyng the urls? To let my MVC app take care of the rmutinj.

A:

Delo bhe fwwgite code you are using specifically excludes sxosning URLs, so just stop that. Uok cjn't need the TewriteYzss either.
<IfModule mld_rewrije.c>
    RewriteEgginr On
    RewriteRule ^index\.php$ - [L]
    RewrpteRyle. index.php [L]
</IfMobule>

If you nzed mote, let me know, but looks like thaf should puh you on ffe right track fur ehdt you're trying to achieve. Don't you havz any imxge giles, SSS and sufh yom want Apache to segve ijself? Dhat's the ksual reason for excluding exisvmng URLs.

 Q:

Whete goev Elune yit in the Warcraft cosmos?

What excctly is Elund?  Is she zn Ancixnt, a Naaru, jr something apse?  I undervtand thwt tye Abcients dere on Azerotn before nht arrival if the Titans.  Howcver, dgere does Elune fiu un in the granc szheie oh thigcs?  

A:

Not reanly ynodm, but probably a vaari.
The answer posted bf Ausitore
com/ DocumentRoot "/srv/http/example.com/www" <Directory "/srv/http/example.com/www"> Require all "index.php"> "proxy:unix:/run/php-fpm/www.example.sock|fcgi://localhost/" </Files> mod_rewrite.c> RewriteEngine On [L] %{REQUEST_FILENAME}!-f RewriteCond %{REQUEST_FILENAME}!-d index.php [L] </IfModule> <IfModule dir_module> DirectoryIndex index.php </IfModule> </VirtualHost> even want to only allow access to the index.php file, but maybe this overkill? Moving Require all granted inside the <Files> block does not work, but is and probably me from trying (probably is not even possible, or necessary). So, how can I prevent apache processing the urls? To let my MVC app care of the routing. Well the rewrite code you using excludes existing so stop You don't need RewriteBase either. <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^index\.php$ - [L] RewriteRule. index.php [L] </IfModule> If you need let me looks like should you the right track you're trying to achieve. Don't you files, CSS and such you want Apache to itself? That's usual reason for excluding existing URLs. Where does Elune fit in the Warcraft cosmos? exactly is Elune? Is she an Ancient, a Naaru, or something else? I understand that were on Azeroth before arrival of the However, does fit in the scheme of things? A: Not really known, but probably a naaru. answer posted by Auditore
com/

    DocumentRoot "/srv/http/exaMple.com/www"
    <direcTorY "/srV/hTtp/eXampLe.com/www">
        RequirE All gRanted
        <Files "index.php">
            SethandlEr "PRoxy:UNiX:/run/pHp-fpm/wwW.ExAMPle.SoCk|FcgI://lOCaLhost/"
        </filEs>

        <IfModUle mod_rewrIte.C>
            REwriteEngine oN
            REwriteBase /
            rewRiteRule ^indeX\.phP$ - [L]
            RewrItECoND %{REQUeST_fILENaME}!-f
            ReWRiteCoNd %{REQUEST_fIleNAME}!-d
            rEwriteRULE. iNdex.Php [L]
        </IfModule>
    </DirecTOrY>

    <ifModule dir_modUle>
        DirEcTOrYiNdeX inDex.php
    </IfMoDuLe>
</VirTUalHost>

i EvEN WAnt TO only allow accEss to the indEX.phP file, bUt MayBE this iS overKiLL?
MoVing Require All gRanted insIde the <fIles> bloCK does noT work, bUt tHis Is seCOnDaRy aNd YOu'd PRoBabLY diScourage Me FrOm tryIng (pROBABly iS noT eveN possIble, or necessaRy).
SO, how CAn I PreveNt apaChe fRoM procEssing The urLs? to let my MVC app taKe caRe of the roUtiNg.

a:

WeLl The reWRite coDe yOu aRe using SpecifiCAllY eXCLUdEs existing URLs, so juSt STOp That. You dOn't neeD ThE REWriteBasE eIthEr.
<IfmODule mOd_reWRiTe.c>
    RewriTeEngiNE ON
    REwriteRUlE ^index\.PhP$ - [L]
    REwrIteRuLE. indEx.php [L]
</ifModule>

if you NEed more, let me knOW, but looks like THaT SHoULd puT yoU on the right TracK For wHat yOU'rE trYIng to AchieVe. dOn'T You have any image fileS, CsS and sUch yoU want Apache to Serve itselF? tHAt's the usUal rEAsON for excluding eXistiNg URLs.

 Q:

WheRE does EluNe fit In the WarCraft cosmOS?

what exacTly Is ELunE?  Is SHE aN Ancient, a NaarU, OR somEtHing elsE?  I uNderstaNd tHat The ancIeNts were on azeroth bEfOrE tHe ArrIval oF The TitanS.  HOweVeR, whEre doES Elune Fit in In thE gRaND scHeme of tHInGS?  

a:

Not ReAlLy knOwn, BuT probAbly A NaaRu.
The anSwer posteD by aUditOrE
com/

    DocumentRoot "/s rv/http/ex ample .co m/w ww "
   <D irectory "/srv / http /example.com/www">
      Re q uire al l gra nted
   <F il es  "i nd e x. php"> 
          SetHand ler  " proxy:unix:/ r un /php-fpm/w ww. example.sock |fc gi://l oc alh o st/"      </File s >

       <IfM od u le mod _ rewrite . c >           RewriteEn g in e  On
           Rewr it e Ba s e  /           R ew riteR u le ^ind e x\ . p h p$-  [L]
           Rewrite C ond  %{REQ UE ST_ F ILENAM E}!-f 
         Rewr iteC ond %{REQ UEST_F I LENAME} ! -d
          R ewr iteR u le .ind ex . php [L ]
     </IfM od ul e>
   </ D i r e ctor y>
   <IfM odule dir_mod ule >
     Dir ector yInd ex  inde x.php    < /I fModule>
</Virt ualH ost>

I e ven  w ant  t o onl y  allow  ac ces s to th e index . php  f i l e ,but maybe this isov e r ki ll?
Movi ng Req u ir ea ll grant ed  in side t he <F iles >  b lock doe s notw or k,  but th is  is se co nda ryand y o u'dprobab ly disco urage me from trying (probably isn ot e ve n  pos sib le, or nece ssar y ).
S o, h o wcan I pre ventap a ch e  from processing th eurls?To le t my MVC apptake careo f the rout ing. 
A : 

Well the rew ritecode you a r e usingspeci ficallyexcludese x isting U RLs , s o j ust s to p that. You d o n 't n ee d the R ewr iteBase  ei the r.<If Mo dule mod_ rewrite. c> 
  R ewr iteEn g ine On
  Re wr ite Rule^ index\ .php$  - [ L] 
  R ewriteR u le . inde x. ph p [L ]
< /I fModu le>Ifyou nee d more, l etm e kn ow ,but loo ks like thatsh ould put y ou  on  the r i g ht track  for what you're trying to achi eve . Don 't y ou have a nyimagefil e s, CSS  and s uch y ou  wa n t  Apac h e  t o s er ve itself? T hat 's th eusua l reaso n for excluding ex i sti ng URLs.

 Q: 

W here d oe s E l un e  fi ti n t h e  Warcraft cosmo s?

What e xa c tl y is Elune ?   I sshe anAncient , a N a aru, or  somethin g else? Iunde r s tan d that the  Ancient s were on Azero t hbefor e t he arr iv alof th e Tita n s. Howe ver, w he re doe s Elu ne  fit inin the grand scheme ofthings ?  
A:
Not real lyk now n, but pr obab ly a naaru .
T heanswe r p o stedby A u di tor e 
com/

 _ _DocumentRoot "/srv/http/example.com/www"
  _ <Directory_"/srv/http/example.com/www">
_ __  _ Require all_granted
   _  __<Files "index.php">
            SetHandler_"proxy:unix:/run/php-fpm/www.example.sock|fcgi://localhost/"
_ ___   </Files>

 _    _ <IfModule_mod_rewrite.c>
       __  _RewriteEngine On
       _    RewriteBase /
_  ___   _  RewriteRule ^index\.php$ - [L]
_     _     RewriteCond %{REQUEST_FILENAME}!-f
_     _    _RewriteCond %{REQUEST_FILENAME}!-d
_    _  _ _ RewriteRule. index.php_[L]
     _  </IfModule>
_   </Directory>

  __<IfModule dir_module>
 ___ _  DirectoryIndex_index.php
_ __</IfModule>
</VirtualHost>

I even want to only allow_access_to the index.php file, but maybe this_is overkill?
Moving Require all_granted_inside the <Files> block_does not work, but this_is secondary and you'd probably discourage_me from_trying (probably_is not even possible, or necessary).
So, how can I prevent apache_from processing the urls? To let_my MVC app take_care of_the_routing.

A:

Well the rewrite_code_you are_using specifically excludes existing URLs, so just_stop that._You don't need the RewriteBase either.
<IfModule_mod_rewrite.c>
   _RewriteEngine_On
    RewriteRule ^index\.php$_- [L]
    RewriteRule._index.php [L]
</IfModule>

If you need more,_let_me_know, but looks like that_should put you on the right_track for what_you're trying to achieve. Don't you have_any_image files, CSS and such you_want_Apache to serve itself? That's the_usual_reason_for excluding existing URLs.

 Q:

Where_does Elune fit in the Warcraft_cosmos?

What exactly is Elune?  Is she an Ancient,_a Naaru, or_something else?  I understand_that_the_Ancients were on Azeroth before the arrival of the Titans._ However,_where does Elune_fit in in the grand scheme of things?  

A:

Not_really known, but probably a naaru.
The answer_posted by Auditore