Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Using .htaccess for mod_rewrite commands

Discussion in 'General Discussion' started by fwwebs, Jul 19, 2004.

  1. fwwebs

    fwwebs Well-Known Member

    Joined:
    Feb 16, 2004
    Messages:
    329
    Likes Received:
    0
    Trophy Points:
    166
    Are there any modules that will disable mod_rewrite using .htaccess? PHP suEXEC, maybe?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. AbeFroman

    AbeFroman BANNED

    Joined:
    Feb 16, 2002
    Messages:
    654
    Likes Received:
    1
    Trophy Points:
    318
    phpsuexec does disable mod_rewrite
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. SarcNBit

    SarcNBit Well-Known Member

    Joined:
    Oct 14, 2003
    Messages:
    1,010
    Likes Received:
    3
    Trophy Points:
    168
    You could look into the AllowOverride directive.

    I have not set this value personally, but that is where I would look first if I wanted to do it.

    That is if you haven't figured it out already in 3 months :)
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    I've not come across that at all. I have phpsuexec on all of our servers and use mod_rewrite frequently within .htaccess files on sites on them.

    [edit]Just noticed SarcNBit's comment - I hate it when old threads get dug up like that[/edit]
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. kashif

    kashif Active Member

    Joined:
    Jul 11, 2003
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    Lahore
    Regarding AllowOverRide

    Can you tell me chirpy what option of AllowOverRide you have set on your servers. I mean ALL. or something else. Orwhatyou have allowed in it to use mod_rewrite in .htaccess.


     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice