Log in

View Full Version : Server error and htaccess


TimberFloorAu
11-28-2008, 06:32 PM
Hi,

Error we get when trying to post is:

Apache/2.2.10 (Unix) mod_ssl/2.2.10 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.6 Server at www.yobromofo.com Port 80

Have just checked .htaccess file, and this is what greets me...


# 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]


Not sure where that came from ( obviously VBSEO ) lol.

Have renamed it , and tried again to post.

Still nothing.

So checked site root, and renamed that htaccess file to, still nothing.

Any suggestions ?
I have tried our error log in cpanel,:-

I wont even go there on errors, most of which have stemmed from renaming htaccess ( presumably its a seo rewrite thang )

Anyways any help appreciated.

Ste

--------------- Added 1227904556 at 1227904556 ---------------

To add:

We can post replies, its just if the reply becomes fairly large ( I mean in the order of 20 or so lines )

Weird.

I have disabled SEO, and renamed all htaccess files. I have also tried disabling all plugins, thats not an issue.

So seems to be a page cache issue? me thinks... not sure

--------------- Added 1227917779 at 1227917779 ---------------

Issue fixed:

We contacted the server company:

Reply: The issue was with Apache mod_security