vBulletin SEO Forums

SEO

vBulletin Search Engine Optimization

Buy vBSEO Now! HACKER SAFE certified sites prevent over 99.9% of hacker crime.
ne nw
vBSEO Total Support Team Launches DeskPro New vBSEO Discount Level for Network Builders vBSEO 3.2.0 GOLD Has Landed Success with vBSEO = 600ore Web Visitors + $1400 in a Day! Crawlability Inc. Files for SEO Technology Patent
se sw

/ errors, but /forum-name/ etc. doesn't

This is a discussion on / errors, but /forum-name/ etc. doesn't within the Troubleshooting forums, part of the vBSEO SEO Plugin category; I'm on shared hosting (yes, bad, I know), and they allow custom compiled php.cgi, which I intend to use and ...

Go Back   vBulletin SEO Forums > vBSEO SEO Plugin > Troubleshooting

Enhancing 80 million pages.

Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read
  #1  
Old 05-04-2008, 02:10 AM
Member
 
Join Date: Sep 2005
Posts: 50
/ errors, but /forum-name/ etc. doesn't

I'm on shared hosting (yes, bad, I know), and they allow custom compiled php.cgi, which I intend to use and slap APC on. Based on information provided, in order to tell their apache installation to use the custom compiled php, I'd need to add these lines to .htaccess:

Code:
Options +ExecCGI
AddHandler php-cgi .php
Action php-cgi /cgi-bin/php.cgi
I added that, and every other page seems fine, but the main page, http://www.domain.com/ doesn't. It comes up with an error, reaching the maximum redirects, does anyone have an idea as to how to resolve this?

Edit: similar issue (same host) as this one here: can not use vbseo after using custom php.ini in dreamhost

Last edited by Alfarin; 05-04-2008 at 02:26 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #2  
Old 05-04-2008, 06:03 AM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,923
Hello,

what is your full .htaccess file contents?
Please try to change this line in .htaccess:
Code:
RewriteRule ^(.*\.php)$ vbseo.php?vbseourl=$1 [L,QSA]
to:
Code:
RewriteRule ^(cgi-bin/php.cgi/)?(.*\.php)$ vbseo.php?vbseourl=$2 [L,QSA]
__________________
Oleg Ignatiuk / Crawlability Inc.
Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service

vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #3  
Old 05-04-2008, 07:18 AM
Member
 
Join Date: Sep 2005
Posts: 50
Here's the .htaccess contents (if I uncomment the first 4 lines it won't work):
Code:
#Options +ExecCGI
#Options +FollowSymLinks
#AddHandler php-cgi .php
#Action php-cgi /cgi-bin/php.cgi

<FilesMatch "^php5?\.(ini|cgi)$">
        Order Deny,Allow
        Deny from All
        Allow from env=REDIRECT_STATUS
</FilesMatch>

<IfModule mod_security.c>
   SecFilterEngine Off
   SecFilterScanPOST Off
</IfModule>

# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
RewriteBase /

#RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]

RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

RewriteCond %{QUERY_STRING} !vbseourl=
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron)
RewriteRule ^(.*\.php(/.*)?)$ vbseo.php?vbseourl=$1 [L,QSA]

RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$
RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]
Can't seem to find the line you mentioned... is it this one?
Code:
 RewriteRule ^(.*\.php(/.*)?)$ vbseo.php?vbseourl=$1 [L,QSA]
Edit:
Commented out the above line, added the recommended line, it seems to be working now.
Checking other things to see if there is any side effect, thanks!

Edit2:
Just posting back, everything seems to be working great! Thanks!!!

Last edited by Alfarin; 05-04-2008 at 05:29 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #4  
Old 05-04-2008, 09:06 AM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,923
Quote:
Just posting back, everything seems to be working great! Thanks!!!
Great! You are welcome
__________________
Oleg Ignatiuk / Crawlability Inc.
Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service

vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
errors forum down xboxlive42626 Bug Reporting 4 05-03-2006 09:09 AM
db errors: mark forum read danrak Troubleshooting 2 11-26-2005 09:07 AM


All times are GMT -4. The time now is 03:41 AM.


Powered by vBulletin Version 3.8.0 Release Candidate 2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.5 ©2008, Crawlability, Inc.