I think I'm havinig a htaccess problem?

Discussion in 'Site & Server Administration' started by Michael Silvester, May 5, 2007.

  1. #1
    Hi guys,

    I recently installed a traffic exchange script
    and when I go to look at it...it shows
    my blog?

    The script was installed here
    www.michaelsilvesters.com/cj

    and my blog is here
    www.michaelsilvesters.com/

    Why would it do that?

    Here is the htaccess code from my blog

    ===========
    # -FrontPage-
    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>
    AuthName www.michaelsilvesters.com
    AuthUserFile /home/wwwmich/public_html/_vti_pvt/service.pwd
    AuthGroupFile /home/wwwmich/public_html/_vti_pvt/service.grp
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    =========================

    And here is the code from the "cj" script

    =========================

    php_flag register_globals On

    =========================

    Is the htaccess the problem here?

    Thanks in advance!

    Take Care,

    Michael Silvester
     
    Michael Silvester, May 5, 2007 IP
  2. cyanide

    cyanide Peon

    Messages:
    483
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Yeah, the trouble is that you are using the permalinks and wp thinks that any folder inside is supposed to be part of wp.

    I'm not sure if this will work, but try this. inside the cj folder, create an htaccess file and put the following in.
     
    cyanide, May 6, 2007 IP