WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Mod Rewrite (8 posts)

  1. thegeekguy
    Member
    Posted 8 years ago #

    ever since I installed wordpress 2.0 I can not access my awstats and I am wondering what mod rewrite rule I have to setup so I can access it again.

  2. VaamYob
    Member
    Posted 8 years ago #

    where do you have awstats installed ?

    Is is something like, /var/server/www/thegeekguy.com/cgi-bin/awstats.pl ?

  3. thegeekguy
    Member
    Posted 8 years ago #

    /home/blackdot/davidnewberger.com/awstats/cgi-bin/awstats.pl

  4. VaamYob
    Member
    Posted 8 years ago #

    my apache is rusty, but try this (before the WP rewrite rules):

    ScriptAlias /awstats/ /home/blackdot/davidnewberger.com/awstats/cgi-bin/

    then access your awstats via

    http://www.davidnewberger.com/awstats/awstats.pl

    If that doesn't work, we can try other steps.

  5. VaamYob
    Member
    Posted 8 years ago #

    FYI, you spelled wordpress wrong in your latest post. You've got it as Wordpres

  6. thegeekguy
    Member
    Posted 8 years ago #

    no go on that :(

    here is what I put in the htaccess file:

    ScriptAlias /awstats/ /home/blackdot/davidnewberger.com/awstats/cgi-bin/

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php
    </IfModule>
    # END WordPress

  7. thegeekguy
    Member
    Posted 8 years ago #

    well don't know what is going on but it is now working.

  8. VaamYob
    Member
    Posted 8 years ago #

    cool, glad it's running for you.

Topic Closed

This topic has been closed to new replies.

About this Topic