LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > [solved] vBSEO Configuration

Reply
 
Thread Tools Display Modes
  #1  
Old 04-03-2012, 09:02 PM
franciscol99 franciscol99 is offline
Member
 
Join Date: Apr 2012
Posts: 10
Default [solved] vBSEO Configuration

Hello,
I can't use vBSEO in my vbulletin because htaccess of vBSEO isn't working.
What should I do to make htaccess attached work in my LiteSpeed server?

Thanks,
franciscol99
Attached Files
File Type: txt htaccess.txt (987 Bytes, 3 views)

Last edited by NiteWave; 04-03-2012 at 10:34 PM..
Reply With Quote
  #2  
Old 04-03-2012, 09:14 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
the htaccess itself is ok without any change.

are you using lsws native vhost or read apache's config file httpd.conf ?
Reply With Quote
  #3  
Old 04-03-2012, 10:05 PM
franciscol99 franciscol99 is offline
Member
 
Join Date: Apr 2012
Posts: 10
I'm using lsws native vhost.
The vBulletin was installed inside /forum/ folder, vBSEO .htaccess is also on this folder.

Last edited by franciscol99; 04-03-2012 at 10:08 PM..
Reply With Quote
  #4  
Old 04-03-2012, 10:09 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
so please check:
lsws admin console -> Configuration -> Server -> HT Access -> Allow Override

and similar setting in your vhost -> general -> HT Access -> Allow Override

uncheck None, and check all others, then restart lsws
Reply With Quote
  #5  
Old 04-03-2012, 10:19 PM
franciscol99 franciscol99 is offline
Member
 
Join Date: Apr 2012
Posts: 10
Perfect, It is working now!
Thanks!

Last edited by franciscol99; 04-03-2012 at 10:22 PM..
Reply With Quote
  #6  
Old 04-03-2012, 10:45 PM
franciscol99 franciscol99 is offline
Member
 
Join Date: Apr 2012
Posts: 10
The htaccess isn't working properly, when I access a existent file, appears Page Not Found.

Reply With Quote
  #7  
Old 04-03-2012, 11:57 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
copy pageGlow_left.png under /forum, will http://.../forum/pageGlow_left.png show 404 error ?
Reply With Quote
  #8  
Old 04-04-2012, 12:01 AM
franciscol99 franciscol99 is offline
Member
 
Join Date: Apr 2012
Posts: 10
Yes, I've copied pageGlow_left.png to forum dir but still get Page not found.
Reply With Quote
  #9  
Old 04-04-2012, 04:53 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
solved -- the .htaccess file format error, lines not break correctly.
Quote:
RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$
vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] RewriteCond
%{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap|api\.php)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA] RewriteCond
%{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond
%{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]
change to
Quote:
RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap|api\.php)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]
fixed it

p.s. it's running latest 4.1.12
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump


All times are GMT -7. The time now is 10:02 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.