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.

Bug: Subdomain's "Disable redirection" has no effect...

Discussion in 'General Discussion' started by gizmoblaster, Nov 7, 2011.

Thread Status:
Not open for further replies.
  1. gizmoblaster

    gizmoblaster Registered

    Joined:
    Nov 7, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I know there are some threads on subdomain redirections but none addresses my specific problem.

    1- i created a subdomain
    2- I never asked for any cpanel redirection nor clicked on "manage redirection"
    3- I uploaded a small htaccess to the subdomain's folder (see below)
    4- and then cpanel automatically created a redirection code inspired by what was in the htaccess... (duh) but not exactly similar... (see below)
    5- it seems to interfere with the behaviour I want the htaccess to have (redirect without changing the url...)
    6- I try the "Disable redirection" button but it won't budge... the redirection remains there...

    My questions:
    1- What the heck? Why does cpanel take it on itself to create a redirect i didn't ask for?
    2- is this a bug or something i don't understand? What's the solution?

    Here's the code in my small htaccess:
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^apps\.mymaindomain\.com$ [NC]
    RewriteRule ^list-(.*)-apps-software$ http://www.mymaindomain.com/somephpscript.php?item=$1

    And here's the "so-called redirect" cpanel added on its own:
    http://www.mymaindomain.com/somephpscript.php?item=

    Thanks for any help.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    650
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Bug reports are now exclusively handled via our internal bug reporting system. Please use the following URL to submit a bug report for this issue:

    Submit A Bug Report

    Thank you.
     
Loading...
Thread Status:
Not open for further replies.

Share This Page