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!

RewriteRule directive is forbidden

Discussion in 'General Discussion' started by ITDevil, Oct 24, 2007.

  1. ITDevil

    ITDevil Member

    Aug 22, 2006
    Likes Received:
    Trophy Points:
    Hi, How are you? I am having a problem with on of my sites after doing a restore via cpmove file.

    cPanel is showing the fallowing error. I am have tried "/scripts/upcp --force" "/scripts/fixeverythign" even recompiled the apache via WHM "Apache Update" i am having the same issue.


    RLimitMEM 292697429
    RLimitCPU 240
    ServerType standalone
    ServerRoot /usr/local/apache
    PidFile /usr/local/apache/logs/
    ScoreBoardFile /usr/local/apache/logs/httpd.scoreboard
    Timeout 15
    KeepAlive On
    MaxKeepAliveRequests 64
    KeepAliveTimeout 1
    MinSpareServers 10
    MaxSpareServers 15
    StartServers 15
    MaxClients 256
    MaxRequestsPerChild 64
    LoadModule rewrite_module     libexec/
    LoadModule expires_module     libexec/
    LoadModule php4_module        libexec/
    LoadModule bwlimited_module   libexec/
    LoadModule bytes_log_module   libexec/
    LoadModule auth_passthrough_module libexec/
    LoadModule security_module    libexec/
    LoadModule layout_module      libexec/
    AddModule mod_env.c
    AddModule mod_log_config.c
    AddModule mod_mime.c
    AddModule mod_negotiation.c
    AddModule mod_status.c
    AddModule mod_include.c
    AddModule mod_autoindex.c
    AddModule mod_dir.c
    AddModule mod_cgi.c
    AddModule mod_asis.c
    AddModule mod_imap.c
    AddModule mod_actions.c
    AddModule mod_userdir.c
    AddModule mod_alias.c
    AddModule mod_rewrite.c
    AddModule mod_access.c
    AddModule mod_auth.c
    AddModule mod_expires.c
    AddModule mod_so.c
    AddModule mod_setenvif.c
    <IfDefine SSL>
    AddModule mod_ssl.c
    AddModule mod_frontpage.c
    AddModule mod_php4.c
    AddModule mod_bwlimited.c
    AddModule mod_log_bytes.c
    AddModule mod_auth_passthrough.c
    AddModule mod_security.c
    AddModule mod_layout.c
    Include "/usr/local/apache/conf/modsec.conf"
    Port 80
    <IfDefine SSL>
    Listen 80
    Listen 443
    User nobody
    Group nobody
    DocumentRoot /usr/local/apache/htdocs
    <Directory />
           Options All
           AllowOverride All
    <Directory "/usr/local/apache/htdocs">
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        Allow from all
    <IfModule mod_userdir.c>
    UserDir public_html
    <IfModule mod_dir.c>
    DirectoryIndex index.html index.wml index.cgi index.shtml index.jsp index.js index.php4 index.php3 index.php index.phtml index.htm default.htm default.html home.htm
    AccessFileName .htaccess
    <Files ~ "^error_log$">
    Order allow,deny
    Deny from all
    Satisfy All
    <Files ~ "^\.ht">
        Order allow,deny
        Deny from all
        Satisfy All
    UseCanonicalName On
    <IfModule mod_mime.c>
        TypesConfig /usr/local/apache/conf/mime.types
    DefaultType text/plain
    <IfModule mod_mime_magic.c>
        MIMEMagicFile /usr/local/apache/conf/magic
    HostnameLookups Off
    ErrorLog /usr/local/apache/logs/error_log
    LogLevel warn
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common
    LogFormat "%{Referer}i -> %U" referer
    LogFormat "%{User-agent}i" agent
    ServerSignature Off
    DocumentRoot /usr/local/apache/htdocs
    <Location /whm-server-status>
        SetHandler server-status
        Order deny,allow
        Deny from all
        Allow from
    ExtendedStatus On
    <IfModule mod_rewrite.c>
    RewriteEngine on
    httpd.conf (account having problem)
    DocumentRoot /home/avenue/public_html
    User xxx
    Group xxx
    <IfModule mod_userdir.c>
      Userdir disabled
      Userdir enabled xxx
    <IfModule mod_suphp.c>
      suPHP_UserGroup xxx xxx
    <IfModule mod_php4.c>
      php_admin_value open_basedir "/home/xxx:/usr/lib/php:/usr/local/lib/php:/tmp"
    <IfModule mod_php5.c>
      php_admin_value open_basedir "/home/xxx:/usr/lib/php:/usr/local/lib/php:/tmp"
    User avenue
    Group avenue
    BytesLog /usr/local/apache/domlogs/
    CustomLog /usr/local/apache/domlogs/ combined
    ScriptAlias /cgi-bin/ /home/xxx/public_html/cgi-bin/
    Options +FollowSymlinks
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    any idea how to fix it?

    Thank You!

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