nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Apache VB SEO Rewrite - Getting Error 404

This is a discussion on Apache VB SEO Rewrite - Getting Error 404 within the Web servers forums, part of the Mastering Servers category; Hi, I just moved my forum to another service provider. Earlier i was on Cent OS 4.4 & now i ...


Go Back   nixCraft Linux Forum > Mastering Servers > Web servers

Linux answers from nixCraft.


Web servers Discussion on Apache, Nginx and Lighttpd HTTP/web server and configuration issues.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 28-06-2009, 11:31 PM
Junior Member
User
 
Join Date: May 2009
OS: Cent OS
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
peeyooshk is on a distinguished road
Unhappy Apache VB SEO Rewrite - Getting Error 404

Hi,

I just moved my forum to another service provider. Earlier i was on Cent OS 4.4 & now i m on Cent OS 5.3. PHP info can be found at: phpinfo() .
my .htaccess looks like: -

Code:
RewriteEngine On
#RewriteBase /forums
ewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]


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

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images|cron|vbseo_sitemap/)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]
But still when i enable vbseo i get 404 errors. Please guide.

Last edited by nixcraft; 30-06-2009 at 10:33 AM.
Reply With Quote
  #2 (permalink)  
Old 30-06-2009, 10:34 AM
raj's Avatar
raj raj is offline
Senior Member
User
 
Join Date: Jun 2005
Location: Hyderabad
OS: Fedora, Debian Linux
Posts: 307
Thanks: 42
Thanked 8 Times in 8 Posts
Rep Power: 6
raj will become famous soon enough raj will become famous soon enough
Default

Did you enabled mod_rewrite and .htaccess in httpd.conf? This is disabled by default.
__________________
Raj
Linux rulz.
I have never turned back in my life ; I shall not do so today.. haha
Reply With Quote
  #3 (permalink)  
Old 30-06-2009, 10:51 PM
Junior Member
User
 
Join Date: May 2009
OS: Cent OS
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
peeyooshk is on a distinguished road
Default

Hello,
Yes mod_rewrite is enabled and .htaccess is also enabled. for .htaccess these are the entries in my httpd.conf

Code:
AccessFileName .htaccess

#
# The following lines prevent .htaccess and .htpasswd files from being 
# viewed by Web clients. 
#
<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
</Files>
Please guide.

Thanks

Last edited by peeyooshk; 30-06-2009 at 10:56 PM.
Reply With Quote
  #4 (permalink)  
Old 01-07-2009, 07:47 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 245 Times in 184 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

You need to set AllowOverride to ALL:

Code:
AllowOverride ALL
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
Reply

Tags
apache seo , php seo , seo , vbseo , vbseo apache , vbseo url rewrite , vbulletin seo


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Apache error 403 Permission access on RHEL5 samengr Web servers 2 06-06-2009 02:18 AM
Lighttpd rewrite rules Melnax Web servers 0 01-06-2009 01:51 PM
Lighttpd rewrite problem Talon Web servers 4 16-10-2008 10:08 PM
Apache 503 error sweta Web servers 0 01-11-2007 03:00 AM
script to rewrite data. kavi Shell scripting 3 18-09-2005 12:13 AM


All times are GMT +5.5. The time now is 04:02 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38