The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

can apache module crash?

Discussion in 'Security' started by ozzieonline, Jan 19, 2013.

  1. ozzieonline

    ozzieonline Well-Known Member

    Joined:
    Dec 20, 2012
    Messages:
    126
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hello,

    I use a rewrite rule to forward requests to a directory in the public_html folder to my index.php file.

    So this:

    www.mysite.com/existingdirectory

    will be forwarded to my index.php file (and from there into my framework). A "not found page" will appear.

    Now I wonder, is it somehow possible that an apache module crashes? (and my directories will be visible)
    Or can something like that only happen if Apache itself crashes?

    I ask this question because I wonder if I should take precautions in case the rewrite module fails. I'd really rather not do this, but that is why I wonder if a module can crash spontaneously???

    Any thoughts on this subject?
     
  2. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Apache as a whole can crash, but a single module not responding is unlikely. I have never heard of mod_rewrite crashing and the rest of Apache still functioning.
     
  3. ozzieonline

    ozzieonline Well-Known Member

    Joined:
    Dec 20, 2012
    Messages:
    126
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Thank you for answering my question Jared!
     
  4. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    You are most welcome.
     
Loading...

Share This Page