The MU forums have moved to WordPress.org

Reg:Url redirection to some cgi page after installation (11 posts)

  1. umajaya
    Member
    Posted 15 years ago #

    I have been trying many methods to fix this issue..but still it is not fixed..kindly help me to troubleshoot.

    In my one server it is working fine.

    but in another server not working ,installation done.

    But url is redirecting.

    wordpress mu version:2.7.1.

    i tried with subdomain option also as said by AndyTSJ.

    Kindly help me to fix it..i really got frustrated with this issue.

    When i approached support in hosting they said problem is with script...pls help me...

    This is installed location:

    http://www.optimalthinking.com/community/

    redirecting to :

    http://www.optimalthinking.com/cgi-bin/php/community/index.php
    kindly help me..

    Thanks.

  2. cafespain
    Member
    Posted 15 years ago #

    Well that looks like it's a problem with your htaccess file.
    What have you got set for your reWrite base?

  3. andrea_r
    Moderator
    Posted 15 years ago #

    Looks like you're running php as cgi. That would certainly be an issue.

    at least I remember people having an issue with this before.

  4. umajaya
    Member
    Posted 15 years ago #

    this is in .htaccess file
    RewriteEngine On
    RewriteBase BASE/

    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

    # add a trailing slash to /wp-admin
    RewriteCond %{REQUEST_URI} ^.*/wp-admin$
    RewriteRule ^(.+)$ $1/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule . - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>
    </IfModule>

  5. andrea_r
    Moderator
    Posted 15 years ago #

    "RewriteBase BASE/" is incorrect.

    Did you let WPMU create the htaccess for you?

  6. umajaya
    Member
    Posted 15 years ago #

    How to do that?

    pls help me...

  7. cafespain
    Member
    Posted 15 years ago #

    When you installed, if WPMU couldn't write to a htaccess file it would have put up a message on the screen saying something like "Please cut and paste this into your htaccess file as I can't do it myself".

  8. umajaya
    Member
    Posted 15 years ago #

    no i did'nt get any message like that..

  9. cafespain
    Member
    Posted 15 years ago #

    Try changing the BASE/ to just / and see what happens. Sometimes that is all that is needed.

  10. umajaya
    Member
    Posted 15 years ago #

    Tried ..but not working

  11. umajaya
    Member
    Posted 15 years ago #

    now hosting persons changed and getting some message like
    Security Alert! The PHP CGI cannot be accessed directly.

    This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI variable is set, e.g. via an Apache Action directive.

    For more information as to why this behaviour exists, see the manual page for CGI security.

    For more information about changing this behaviour or re-enabling this webserver, consult the installation file that came with this distribution, or visit the manual page.

    Instead of showing display of wordpress mu page..it is displayed..kindly help me to fix this.

About this Topic