Results 1 to 6 of 6

Installation problems

This is a discussion on Installation problems within the Troubleshooting forums, part of the vBSEO SEO Plugin category; I'm running the IonCube version of 3.0.0, on Windows under IIS. I installed the free version of isapi_rewrite, and tested ...

  1. #1
    Ace
    Ace is offline
    Junior Member Ace's Avatar
    Real Name
    Ace
    Join Date
    Nov 2007
    Location
    Nelson, NZ
    Posts
    26
    Liked
    0 times

    Installation problems

    I'm running the IonCube version of 3.0.0, on Windows under IIS.

    I installed the free version of isapi_rewrite, and tested it to make sure it's working correctly. It seems to support only a single global httpd.conf, rather than per-folder .htaccess files.

    URLs on the page are getting re-written, but they aren't recognized when clicked.

    I copied the .htaccess file into the global config, but that isn't working either, and now their config file editor won't run...

    Speaking as an experienced sysadmin, this is nowhere close to the "5 minute" install that some have claimed, since the instructions aren't accurate or complete -- at least not for Windows (example problems: the config test program said IonCube was installed, but then vbseocp.php complained that it wasn't. The config php file that needs to have "mode 666" set still wasn't accessible when network service was granted write access. Writing needed to be enabled both in the IIS control panel, and also granted to "Users").

    So what's the next step? Have others been able to run with the free version of isapi_rewrite?

  2. #2
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    The rules for ISAPI_Rewrite are different than the .htaccess files. There is a separate text file (isapi_rewrite.txt) that contains those rules. Are those the ones you used?

  3. #3
    Ace
    Ace is offline
    Junior Member Ace's Avatar
    Real Name
    Ace
    Join Date
    Nov 2007
    Location
    Nelson, NZ
    Posts
    26
    Liked
    0 times
    No, I was using the .htaccess file, as described in the instructions.

    I switched to isapi_rewrite.txt. After fixing a syntax error (the [ISAPI_Rewrite] at the top isn't legal syntax), I tried it again and it still doesn't work.

    To be sure that the isapi is enabled, I added a config line at the bottom of httpd.conf to redirect somewhere if a certain non-existant page is referenced, and that works fine.

    I also updated the RewriteCondHost with my site name. I didn't expect that to help, and of course it didn't.

    From looking at the regex, it looks like it's expecting a "/forum" subdirectory, which I don't have. My forum is hosted at the top level. I've also changed the names of my admincp and modcp folders -- not sure if that matters.

    EDIT: code removed
    Last edited by Ace; 11-15-2007 at 01:05 AM.

  4. #4
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    If your forum is in the root, then you will need to modify the rules to remove the /forums part.

  5. #5
    Ace
    Ace is offline
    Junior Member Ace's Avatar
    Real Name
    Ace
    Join Date
    Nov 2007
    Location
    Nelson, NZ
    Posts
    26
    Liked
    0 times
    Quote Originally Posted by Keith Cohen View Post
    If your forum is in the root, then you will need to modify the rules to remove the /forums part.
    I did that, and it's still not working. I also added my re-named admincp and modcp folders to the list in one expression. The updated info is included below. Do you have any suggestions on how I can debug it?

    EDIT: code removed
    Last edited by Ace; 11-15-2007 at 01:04 AM.

  6. #6
    Ace
    Ace is offline
    Junior Member Ace's Avatar
    Real Name
    Ace
    Join Date
    Nov 2007
    Location
    Nelson, NZ
    Posts
    26
    Liked
    0 times
    OK, I think I've figured this out myself. It looks like the isapi syntax must have changed since your last release. Here's an updated version that works on my site:

    Code:
     
    RewriteEngine on
    RewriteCond %{HTTP:Host} ^www\.mydomain\.com
    RewriteRule ((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ /vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    RewriteCond %{HTTP:Host} ^www\.mydomain\.com
    RewriteCond %{REQUEST_URI} ^/(?!avatars|attachments|iconimages).*
    RewriteRule ^([^\?]*\.(?:gif|swf.*|jpg|png|css|xml|js|htm|txt|zip)(?:\?(.*))?)$ $1 [I,L]
    RewriteCond %{HTTP:Host} ^www\.mydomain\.com
    RewriteCond %{REQUEST_URI} ^/(?!admincp/|acp/|modcp/|mcp/|clientscript/|cpstyles/|images/|search\.php).*
    RewriteRule ^/(.+?)(?:\?(.*))?$ /vbseo.php?vbseourl=$1(?2&$2) [L]

Similar Threads

  1. VBSEO Installation problems
    By clarke_Kent in forum Troubleshooting
    Replies: 9
    Last Post: 11-11-2007, 08:16 PM
  2. Installation Problems
    By SAB in forum Troubleshooting
    Replies: 4
    Last Post: 06-07-2007, 12:36 PM
  3. Installation Problems
    By MaXit in forum Troubleshooting
    Replies: 2
    Last Post: 05-06-2006, 09:52 AM
  4. 3.5.1 Installation Problems
    By serphog in forum Troubleshooting
    Replies: 2
    Last Post: 11-02-2005, 06:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •