<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>bbPress support forums Tag: vps</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums Tag: vps</description>
<language>en</language>
<pubDate>Tue, 02 Dec 2008 06:32:19 +0000</pubDate>

<item>
<title>_ck_ on "Server Overload"</title>
<link>http://bbpress.org/forums/topic/server-overload#post-19102</link>
<pubDate>Tue, 09 Sep 2008 17:26:52 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">19102@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hmm, they shouldn't have had to recompile but maybe something was out of whack with the version numbers.&#60;/p&#62;
&#60;p&#62;By the way, Cpanel has a very nice control panel to let you rebuild apache yourself (it's called easyapache). But that's something to learn down the road. You should very rarely (if ever) have to rebuild unless adding special features.&#60;/p&#62;
&#60;p&#62;Glad to hear you got it working in the end. eAccelerator and the mysql cache will definitely turn a turtle of a server into a rabbit.
&#60;/p&#62;</description>
</item>
<item>
<title>clementine on "Server Overload"</title>
<link>http://bbpress.org/forums/topic/server-overload#post-19097</link>
<pubDate>Tue, 09 Sep 2008 14:59:06 +0000</pubDate>
<dc:creator>clementine</dc:creator>
<guid isPermaLink="false">19097@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;_ck_ FINALLY I did it... The admins had to recompile my Apache... and we've had lots of problems... but now I have it....&#60;/p&#62;
&#60;p&#62;(edit)&#60;br /&#62;
IT'S F****NG flying :D Thanks So SO MUCH!!!!!
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Server Overload"</title>
<link>http://bbpress.org/forums/topic/server-overload#post-19055</link>
<pubDate>Sun, 07 Sep 2008 20:18:29 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">19055@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;By the way, if you are asking yourself if it's worth this much trouble getting eAccelerator to work, the answer is definitely yes. It will give you a very nice speed boost in bbPress and WordPress.&#60;/p&#62;
&#60;p&#62;Since your server is very standardized as Cpanel + PHP 4.4.8 I am virtually positive we can get this going.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Server Overload"</title>
<link>http://bbpress.org/forums/topic/server-overload#post-19054</link>
<pubDate>Sun, 07 Sep 2008 20:08:42 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">19054@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;No the zen optimizer is not an opcode cache, it's just another keyhole optimizer. eAccelerator has a keyhole optimizer too but it doesn't hurt anything to use them both. I use them both on PHP4 servers, PHP5 doesn't need it.&#60;/p&#62;
&#60;p&#62;I think there are possibly THREE (simple) problems.&#60;/p&#62;
&#60;p&#62;One is a leftover corrupted eaccelerator cache left on your drive from a previous attempt that has to be cleared/deleted first. &#60;/p&#62;
&#60;p&#62;Two is an old eaccelerator that was built for a different version of PHP, it needs to be rebuilt with that script above.&#60;/p&#62;
&#60;p&#62;The last possibility might be the extension load order.&#60;/p&#62;
&#60;p&#62;(you can try disabling the zend optimizer altogether as it's overkill when eaccelerator is running)&#60;/p&#62;
&#60;p&#62;So:&#60;/p&#62;
&#60;p&#62;1. Try deleting your old eaccelerator disk cache first&#60;br /&#62;
&#60;code&#62;rm -rf /tmp/eaccelerator&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;2.  Go into php.ini and look for the Zend section.&#60;br /&#62;
It will look something like this but maybe not exactly like this:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;[Zend]
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.0.1
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.0.1
zend_optimizer.version=3.0.1
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;3. Make sure that Zend section is ABOVE (before) the eAccelerator section. You can also try commenting it all out with semi-colons before each line to disable it entirely.&#60;/p&#62;
&#60;p&#62;Last but not least, you should also delete the entire eAccerator section in PHP.ini and then run that script above.&#60;/p&#62;
&#60;p&#62;---------------------------&#60;br /&#62;
After thinking about this for awhile, I would put my money on the idea that your eAccelerator was built for an earlier version of PHP and MUST be re-compiled by that script.
&#60;/p&#62;</description>
</item>
<item>
<title>clementine on "Server Overload"</title>
<link>http://bbpress.org/forums/topic/server-overload#post-19053</link>
<pubDate>Sun, 07 Sep 2008 20:03:42 +0000</pubDate>
<dc:creator>clementine</dc:creator>
<guid isPermaLink="false">19053@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;_ck_ now I know why it crashes... i already have the Zen Optimizer installed!!! So i guess i don't need the eAccelerator, right?
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Server Overload"</title>
<link>http://bbpress.org/forums/topic/server-overload#post-19049</link>
<pubDate>Sun, 07 Sep 2008 17:37:25 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">19049@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;If you replaced the semi-colon and it still will not restart, you need to double check for a typo.&#60;/p&#62;
&#60;p&#62;Failing that, you can try removing all lines starting with &#60;code&#62;eaccelerator.&#60;/code&#62; which should be at the very end of the &#60;code&#62;php.ini&#60;/code&#62; or just putting semi-colons in front of them.&#60;/p&#62;
&#60;p&#62;I perhaps should have told you to make a copy of &#60;code&#62;php.ini&#60;/code&#62; via  &#60;code&#62;cp php.ini  php.bak&#60;/code&#62;  but since it's documented here we should be able too repair it.&#60;/p&#62;
&#60;p&#62;Actually, that install script probably made a backup of &#60;code&#62;php.ini&#60;/code&#62; for you. Update: no unfortunately it does that when it's about to copy and it didn't make it that far. But you may have backup copies from other programs. See what files show up when you do a &#60;code&#62;ls php* -latr&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>clementine on "Server Overload"</title>
<link>http://bbpress.org/forums/topic/server-overload#post-19048</link>
<pubDate>Sun, 07 Sep 2008 17:14:30 +0000</pubDate>
<dc:creator>clementine</dc:creator>
<guid isPermaLink="false">19048@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;_ck_ , I cannot restart the apache service, so I placed again the semi-colon. What should I do now?&#60;/p&#62;
&#60;p&#62;This is the error I get:&#60;/p&#62;
&#60;p&#62;Restarting Apache&#60;br /&#62;
[a fatal error or timeout occurred while processing this directive]
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Server Overload"</title>
<link>http://bbpress.org/forums/topic/server-overload#post-19026</link>
<pubDate>Sun, 07 Sep 2008 04:38:57 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">19026@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;OH! You know what my tired eyes missed?&#60;/p&#62;
&#60;p&#62;Yes, you have the eAccelerator *settings*,&#60;br /&#62;
BUT &#60;strong&#62;it's disabled!&#60;/strong&#62;&#60;/p&#62;
&#60;p&#62;Someone disabled it by putting a semi-colon in front of the actual binary:&#60;br /&#62;
&#60;code&#62;;extension=&#38;quot;eaccelerator.so&#38;quot;&#60;/code&#62;&#60;br /&#62;
See that? To enable it, the semi-colon has to be removed, otherwise it's dormant.&#60;/p&#62;
&#60;p&#62;Now if it wasn't properly installed and the setting were just left in place, then removing the semi-colon may just halt PHP entirely and prevent your apache from working correctly.&#60;/p&#62;
&#60;p&#62;So try removing the semi-colon, save &#60;code&#62;php.ini&#60;/code&#62; and then restart Apache via: &#60;code&#62;service httpd restart&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;If apache doesn't restart, or it does but you can't access web pages, then you need to go put back the semi-colon or remove the eaccelerator section entirely.&#60;/p&#62;
&#60;p&#62;If apache starts but you can't find an &#34;eaccelerator&#34; section inside &#60;code&#62;phpinfo()&#60;/code&#62; then it's not really installed, or installed incorrectly.  If that's the case, then you need to remove all the existing eaccelerator lines listed above, and then run that install script again.&#60;/p&#62;
&#60;p&#62;By the way, if you don't know what &#60;code&#62;phpinfo()&#60;/code&#62; is, just make a file called &#60;code&#62;phpinfo.php&#60;/code&#62; and put only this line into it: &#60;code&#62;&#38;lt;?php  phpinfo(); ?&#38;gt;&#60;/code&#62; and put it somewhere you can access it from the web on your server and then access it via the web.&#60;/p&#62;
&#60;p&#62;You will definitely see a speed boost when reloading pages once eAccelerator is properly installed and running.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Server Overload"</title>
<link>http://bbpress.org/forums/topic/server-overload#post-19025</link>
<pubDate>Sun, 07 Sep 2008 04:30:28 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">19025@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I probably made a bad assumption that it was not installed, though it definitely doesn't come by default on a cpanel setup so that's a bit unusual. Strange someone would put eaccelerator on there but not enable the mysql cache.&#60;/p&#62;
&#60;p&#62;You can look at your phpinfo()  to find out if eAccelerator is really installed and active. &#60;/p&#62;
&#60;p&#62;That eaccelerator compress and compression level is just a waste of cpu time. I'd either set&#60;br /&#62;
&#60;code&#62;eaccelerator.compress=&#38;quot;0&#38;quot;&#60;/code&#62;&#60;br /&#62;
or&#60;br /&#62;
&#60;code&#62;eaccelerator.compress_level=&#38;quot;1&#38;quot;&#60;/code&#62;&#60;br /&#62;
&#60;strong&#62; &#60;/strong&#62;&#60;br /&#62;
By the way, the php configuration is located in&#60;br /&#62;
&#60;code&#62;/usr/local/lib/php.ini&#60;/code&#62;&#60;br /&#62;
and the eAccelerator options are at the very bottom of the file if you ever have to manually edit them.
&#60;/p&#62;</description>
</item>
<item>
<title>clementine on "Server Overload"</title>
<link>http://bbpress.org/forums/topic/server-overload#post-19022</link>
<pubDate>Sat, 06 Sep 2008 22:05:26 +0000</pubDate>
<dc:creator>clementine</dc:creator>
<guid isPermaLink="false">19022@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;_ck_ I'm getting this error, I guess it's already installed?&#60;/p&#62;
&#60;p&#62;;extension=&#34;eaccelerator.so&#34;&#60;br /&#62;
eaccelerator.shm_size=&#34;16&#34;&#60;br /&#62;
eaccelerator.cache_dir=&#34;/tmp/eaccelerator&#34;&#60;br /&#62;
eaccelerator.enable=&#34;1&#34;&#60;br /&#62;
eaccelerator.optimizer=&#34;1&#34;&#60;br /&#62;
eaccelerator.check_mtime=&#34;1&#34;&#60;br /&#62;
eaccelerator.debug=&#34;0&#34;&#60;br /&#62;
eaccelerator.filter=&#34;&#34;&#60;br /&#62;
eaccelerator.shm_max=&#34;0&#34;&#60;br /&#62;
eaccelerator.shm_ttl=&#34;0&#34;&#60;br /&#62;
eaccelerator.shm_prune_period=&#34;0&#34;&#60;br /&#62;
eaccelerator.shm_only=&#34;0&#34;&#60;br /&#62;
eaccelerator.compress=&#34;1&#34;&#60;br /&#62;
eaccelerator.compress_level=&#34;9&#34;&#60;br /&#62;
ABORT: Please uninstall any existing instance of eAccelerator.&#60;br /&#62;
&#60;a href=&#34;mailto:root@node2&#34;&#62;root@node2&#60;/a&#62; [~]#
&#60;/p&#62;</description>
</item>
<item>
<title>clementine on "Server Overload"</title>
<link>http://bbpress.org/forums/topic/server-overload#post-19021</link>
<pubDate>Sat, 06 Sep 2008 21:52:51 +0000</pubDate>
<dc:creator>clementine</dc:creator>
<guid isPermaLink="false">19021@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;_ck_  I don't want to say it too loud, but Ithink ITS WORKING.... The server has been alive for 1day long... With no crashing... Still, I think it's a bit cranky... and I stopped cpanel... I will start service only when I need it...&#60;/p&#62;
&#60;p&#62;I'm going to install eAccelerator Right Now!!! Thanks so so so much...!! I'll keep informing you!
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Server Overload"</title>
<link>http://bbpress.org/forums/topic/server-overload#post-18993</link>
<pubDate>Sat, 06 Sep 2008 04:01:51 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">18993@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;By the way, once you are done with this, we'll install eAccelerator and that will give your PHP a nice boost too.&#60;/p&#62;
&#60;p&#62;Let me know how the MySQL cache mod goes.&#60;/p&#62;
&#60;p&#62;If you don't want to wait and feel comfortable trying it right away, try downloading and using this script to auto-install eAccelerator on Cpanel:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;wget &#60;a href=&#34;http://tutorials.medialayer.com/cPanel/eaccelerator.sh&#34; rel=&#34;nofollow&#34;&#62;http://tutorials.medialayer.com/cPanel/eaccelerator.sh&#60;/a&#62;
chmod 700 eaccelerator.sh
./eaccelerator.sh&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;&#60;em&#62;&#60;strong&#62; &#60;/strong&#62;&#60;/em&#62;&#60;br /&#62;
Once it is done, you might have to restart apache&#60;br /&#62;
&#60;code&#62;service httpd restart&#60;/code&#62;&#60;br /&#62;
and you should definitely notice another speed boost.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Server Overload"</title>
<link>http://bbpress.org/forums/topic/server-overload#post-18986</link>
<pubDate>Fri, 05 Sep 2008 20:03:51 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">18986@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;No, if you have bbpress and wordpress integrated, and you are with bbPress 0.9, you should stick with WordPress 2.5 because that's the only version that works with bbPress 0.9&#60;/p&#62;
&#60;p&#62;There is nothing wrong with WP 2.5 and no need to upgrade to 2.6, because if you do, you'll need bbPress 1.0 alpha which is unstable and has bugs.
&#60;/p&#62;</description>
</item>
<item>
<title>clementine on "Server Overload"</title>
<link>http://bbpress.org/forums/topic/server-overload#post-18985</link>
<pubDate>Fri, 05 Sep 2008 19:12:21 +0000</pubDate>
<dc:creator>clementine</dc:creator>
<guid isPermaLink="false">18985@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Done!!!! Let's wait!!! Thanks so much _ck_ !! (I'm still making the cache things!!) &#60;/p&#62;
&#60;p&#62;I'll tell you in a couple of hours how it looks.&#60;/p&#62;
&#60;p&#62;Should I update wordpress version to the last one? Or it's slower?&#60;/p&#62;
&#60;p&#62;Thanks again.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Server Overload"</title>
<link>http://bbpress.org/forums/topic/server-overload#post-18984</link>
<pubDate>Fri, 05 Sep 2008 19:02:08 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">18984@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Okay, carefully edit your &#60;code&#62;/etc/my.cnf&#60;/code&#62; (ask if you don't know how to edit) and REPLACE what's in there with this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[mysqld]
max_connections = 400
key_buffer = 16M
myisam_sort_buffer_size = 32M
join_buffer_size = 1M
read_buffer_size = 1M
sort_buffer_size = 2M
table_cache = 1024
thread_cache_size = 286
interactive_timeout = 25
wait_timeout = 1000
connect_timeout = 10
max_allowed_packet = 16M
max_connect_errors = 10
query_cache_limit = 1M
query_cache_size = 16M
query_cache_type = 1
tmp_table_size = 16M
skip-innodb
[mysqld_safe]
open_files_limit = 8192
[mysqldump]
quick
max_allowed_packet = 16M
[myisamchk]
key_buffer = 32M
sort_buffer = 32M
read_buffer = 16M
write_buffer = 16M
[mysqlhotcopy]
interactive-timeout&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;&#60;strong&#62;&#60;em&#62; &#60;/em&#62;&#60;/strong&#62;&#60;br /&#62;
After you edit it you'll need to restart the mysql engine by typing this in the ssh:&#60;br /&#62;
&#60;code&#62;service mysql restart&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;(optionally there's also a mysql restart in cpanel)&#60;/p&#62;
&#60;p&#62;Then do a couple of refreshes on your bbPress pages and it should seem a bit zippier.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Server Overload"</title>
<link>http://bbpress.org/forums/topic/server-overload#post-18983</link>
<pubDate>Fri, 05 Sep 2008 18:48:47 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">18983@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Oh they probably changed the bb-config.php so it doesn't matter where you put it anymore. &#60;/p&#62;
&#60;p&#62;bb-config.php used to load another file but now I think they make the other file load bb-config for safety and logic reasons.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Server Overload"</title>
<link>http://bbpress.org/forums/topic/server-overload#post-18982</link>
<pubDate>Fri, 05 Sep 2008 18:46:36 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">18982@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;For now you should be okay with cpanel and whm - they do make life much easier running a server. There are things we can fine tune eventually.&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;However you have one HUGE problem.&#60;br /&#62;
You have no mysql cache enabled, at all!&#60;/strong&#62;&#60;/p&#62;
&#60;p&#62;When we get it fixed you will see a big difference in bbpress (and wordpress) performance.
&#60;/p&#62;</description>
</item>
<item>
<title>lstelie on "Server Overload"</title>
<link>http://bbpress.org/forums/topic/server-overload#post-18981</link>
<pubDate>Fri, 05 Sep 2008 18:46:27 +0000</pubDate>
<dc:creator>lstelie</dc:creator>
<guid isPermaLink="false">18981@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;_ck_&#60;/p&#62;
&#60;p&#62;In latest &#60;code&#62;bb-config.php&#60;/code&#62; there is no &#60;code&#62;/* Stop editing */&#60;/code&#62;&#60;br /&#62;
Do I put  &#60;code&#62;$bb-&#38;gt;load_options = true;&#60;/code&#62; at the end of the file ?
&#60;/p&#62;</description>
</item>
<item>
<title>clementine on "Server Overload"</title>
<link>http://bbpress.org/forums/topic/server-overload#post-18980</link>
<pubDate>Fri, 05 Sep 2008 18:39:58 +0000</pubDate>
<dc:creator>clementine</dc:creator>
<guid isPermaLink="false">18980@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Also, I have cpanel and WHM... should I stop them?
&#60;/p&#62;</description>
</item>
<item>
<title>clementine on "Server Overload"</title>
<link>http://bbpress.org/forums/topic/server-overload#post-18979</link>
<pubDate>Fri, 05 Sep 2008 18:37:03 +0000</pubDate>
<dc:creator>clementine</dc:creator>
<guid isPermaLink="false">18979@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Thanks a lot for your help _ck_, I'm doing all the changes you said... bbpress config file and super cache...&#60;/p&#62;
&#60;p&#62;That's what I get when I type the command:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;mailto:root@node2&#34;&#62;root@node2&#60;/a&#62; [~]# cat /etc/my.cnf&#60;br /&#62;
[mysqld]&#60;br /&#62;
skip-bdb&#60;br /&#62;
skip-innodb&#60;/p&#62;
&#60;p&#62;I'm on 0.9.0.2 bbPress version...
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Server Overload"</title>
<link>http://bbpress.org/forums/topic/server-overload#post-18946</link>
<pubDate>Fri, 05 Sep 2008 08:25:34 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">18946@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Show me your mysql configuration by doing this in your shell (ssh)&#60;/p&#62;
&#60;p&#62;&#60;code&#62;cat /etc/my.cnf&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;and copy what it returns to a post here or into pastebin.com&#60;/p&#62;
&#60;p&#62;I suspect we can improve it. MySQL cache is very important to bbPress performance.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Server Overload"</title>
<link>http://bbpress.org/forums/topic/server-overload#post-18945</link>
<pubDate>Fri, 05 Sep 2008 08:20:02 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">18945@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;You (and everyone) needs to make sure this is in your &#60;code&#62;bb-config.php&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$bb-&#38;gt;load_options = true;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;make sure you put it BEFORE &#60;code&#62;/* Stop editing */&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Server Overload"</title>
<link>http://bbpress.org/forums/topic/server-overload#post-18944</link>
<pubDate>Fri, 05 Sep 2008 08:07:16 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">18944@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Running bbPress on a server with 128mb of ram would be very difficult unless it's a very light setup with low use.&#60;/p&#62;
&#60;p&#62;256mb should be doable if that is real, permanent memory and not burst memory. It's also important if you don't have alot of overhead like cpanel running.&#60;/p&#62;
&#60;p&#62;#1 problem on most small VPS is you either don't have the mysql cache turned on or it's too small of a cache&#60;/p&#62;
&#60;p&#62;#2 problem is you almost certainly don't have a PHP opcode cache like eAccelerator installed&#60;/p&#62;
&#60;p&#62;#3 problem on almost all VPS is bad neighbors.&#60;br /&#62;
On a shared host, you can easily tell when you have bad neighbors who are overloading the server (node). On a VPS they are hidden. If you have an inexperienced host, they may have a hard time tracking down the offender, or may not even care. If they tell you that your neighbors can't affect you, that's an outright lie or plain ignorance.&#60;/p&#62;
&#60;p&#62;If you are running bbPress 1.0 alpha it has several problems generating far too many mysql queries and that could be causing you some headaches. If you are using bbPress 0.9, definitely stick with that, but you need to fine tune your settings.&#60;/p&#62;
&#60;p&#62;WordPress has some nice caching plugins like wp-super-cache. No such creature exists yet for bbPress, so all pages must be rendered each time by the engine, making it use more overhead than WordPress.
&#60;/p&#62;</description>
</item>
<item>
<title>clementine on "Server Overload"</title>
<link>http://bbpress.org/forums/topic/server-overload#post-18926</link>
<pubDate>Thu, 04 Sep 2008 21:35:53 +0000</pubDate>
<dc:creator>clementine</dc:creator>
<guid isPermaLink="false">18926@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hi. I've just moved into a Virtual Dedicated Server, i have 4 wordpress instalations with very few users and visits (like 200 per day) and 2 bbpress instalations with 200 users and 800 visits/day each one... They are in different accounts in the server, sharing DDBB.&#60;/p&#62;
&#60;p&#62;The server its supposed to have 126mb ram but they've double increased my memory so, 256...&#60;/p&#62;
&#60;p&#62;The server gets overloaded all the time, and I guess it's BBpress... I don't have any plugin or anything weird, just a smileys plugin. Does anybody knows what might be happening? I have ssh access and all that stuff...
&#60;/p&#62;</description>
</item>
<item>
<title>serimu on "Pretty Permalinks on Debian VPS Server"</title>
<link>http://bbpress.org/forums/topic/pretty-permalinks-on-debian-vps-server#post-15136</link>
<pubDate>Tue, 08 Apr 2008 08:12:28 +0000</pubDate>
<dc:creator>serimu</dc:creator>
<guid isPermaLink="false">15136@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I changes ifmodule to IfModule but it did not fixed the problem. And I dont know why it is lowercase for my .htaccess file. It may reason from a previous bbpress rewrite-rules.php or not. I dont know, and I also could not figure out that difference. &#60;/p&#62;
&#60;p&#62;I also tried to rename wordpress' .htaccess file to check whether it creates a problem or not. When I do that, I get my website working for root and all wordpress pages are not reachable. Forum is the same. So I get an idea, is there any problem with the server or apache for reading the .htaccess file located on /forum folder. Is there any option on apache, or somewhere on the server to read or not to read the .htaccess files on subfolders?&#60;/p&#62;
&#60;p&#62;And I contacted to technical stuff of hosting company, and he asked for the apache version where I was using my site with no problem. It was Apache 1.3 , and this vps has Apache 2. So he said he will try it with apache 1.3 to check whether it is working or not.&#60;/p&#62;
&#60;p&#62;UPDATE: I added a rewrite rule to .htaccess file on /forum folder to check whether it works for a simple redirect or not. And it worked for:&#60;/p&#62;
&#60;p&#62;Redirect /forum/a/ &#60;a href=&#34;http://www.domain.com/b/&#34; rel=&#34;nofollow&#34;&#62;http://www.domain.com/b/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Pretty Permalinks on Debian VPS Server"</title>
<link>http://bbpress.org/forums/topic/pretty-permalinks-on-debian-vps-server#post-15120</link>
<pubDate>Tue, 08 Apr 2008 03:30:11 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">15120@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Your bbpress htaccess in /forum/  looks fine EXCEPT for what I hope is just a manual typo&#60;br /&#62;
&#60;code&#62;&#38;lt;ifmodule mod_rewrite.c&#38;gt;&#60;/code&#62;&#60;br /&#62;
case matters in htaccess if I recall correctly&#60;br /&#62;
It should be&#60;br /&#62;
&#60;code&#62;&#38;lt;IfModule mod_rewrite.c&#38;gt;&#60;/code&#62;&#60;br /&#62;
note the &#60;strong&#62;IfM&#60;/strong&#62;odule&#60;/p&#62;
&#60;p&#62;(eta: the apache manual does say &#34;Directives in the configuration files are case-insensitive&#34; but give it a shot anyway - bbPress doesn't generate it like that so I am not sure why it's lower case in your setup?)&#60;/p&#62;
&#60;p&#62;If changing that does nothing,  the htaccess in the webroot that runs wordpress is also bit messy and my bet would be it's got rules conflicting with bbpress's&#60;/p&#62;
&#60;p&#62;Is your site active or can you temporarily rename/delete the htaccess in the webroot and see if suddenly the bbpress slugs start working correctly? MAKE SURE YOU BACKUP THE FILE FIRST.&#60;/p&#62;
&#60;p&#62;ps. next time use something like pastebin.com for that long of a copy/paste and just post the link
&#60;/p&#62;</description>
</item>
<item>
<title>serimu on "Pretty Permalinks on Debian VPS Server"</title>
<link>http://bbpress.org/forums/topic/pretty-permalinks-on-debian-vps-server#post-15114</link>
<pubDate>Mon, 07 Apr 2008 23:00:09 +0000</pubDate>
<dc:creator>serimu</dc:creator>
<guid isPermaLink="false">15114@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;thanks for your reply,  I am sending my httpd.conf, and htaccess files for wordpress and bbpress. Im also using gallery2 which is located at /somegalleryfolder. I use a plugin to integrate it with wordpress. But it has no problem, before or after I moved to the new vps. Bbpress is located at /forum folder. And its htaccess is contains only the code generated by bb-admin/rewrite-rules.php&#60;/p&#62;
&#60;p&#62;I found my &#60;strong&#62;httpd.conf&#60;/strong&#62; file, I dont know whether there is a security issue to put it here or not. But I hope it give you some idea about what could be problem:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
#&#60;br /&#62;
# This is the main Apache HTTP server configuration file.  It contains the&#60;br /&#62;
# configuration directives that give the server its instructions.&#60;br /&#62;
# See &#38;lt;URL:http://httpd.apache.org/docs/2.2&#38;gt; for detailed information.&#60;br /&#62;
# In particular, see&#60;br /&#62;
# &#38;lt;URL:http://httpd.apache.org/docs/2.2/mod/directives.html&#38;gt;&#60;br /&#62;
# for a discussion of each configuration directive.&#60;br /&#62;
#&#60;br /&#62;
# Do NOT simply read the instructions in here without understanding&#60;br /&#62;
# what they do.  They're here only as hints or reminders.  If you are unsure&#60;br /&#62;
# consult the online docs. You have been warned.&#60;/p&#62;
&#60;p&#62;ServerRoot &#34;/etc/httpd&#34;&#60;br /&#62;
Listen 80&#60;/p&#62;
&#60;p&#62;#LoadModule php4_module /usr/lib/apache/libphp4.so&#60;br /&#62;
LoadModule php5_module /usr/lib/apache/libphp5.so&#60;br /&#62;
#LoadModule suphp_module /usr/lib/apache/mod_suphp.so&#60;br /&#62;
LoadModule php5_module        /usr/lib/apache/libphp5.so&#60;/p&#62;
&#60;p&#62;User apache&#60;br /&#62;
Group apache&#60;/p&#62;
&#60;p&#62;ServerAdmin &#60;a href=&#34;mailto:admin@localhost&#34;&#62;admin@localhost&#60;/a&#62;&#60;br /&#62;
DocumentRoot &#34;/var/www/html&#34;&#60;/p&#62;
&#60;p&#62;&#38;lt;Directory /home/*&#38;gt;&#60;br /&#62;
    AllowOverride All&#60;br /&#62;
    Options +MultiViews -Indexes +FollowSymlinks +IncludesNoExec +Includes&#60;br /&#62;
&#38;lt;Limit GET POST OPTIONS PROPFIND&#38;gt;&#60;br /&#62;
    Order allow,deny&#60;br /&#62;
    Allow from all&#60;br /&#62;
&#38;lt;/Limit&#38;gt;&#60;br /&#62;
&#38;lt;LimitExcept GET POST OPTIONS PROPFIND&#38;gt;&#60;br /&#62;
    Order deny,allow&#60;br /&#62;
    Deny from all&#60;br /&#62;
&#38;lt;/LimitExcept&#38;gt;&#60;br /&#62;
&#38;lt;/Directory&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;Directory /&#38;gt;&#60;br /&#62;
    Options All&#60;br /&#62;
    AllowOverride All&#60;br /&#62;
&#38;lt;/Directory&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;Directory &#34;/var/www/html&#34;&#38;gt;&#60;br /&#62;
    Options +Indexes +FollowSymLinks&#60;br /&#62;
    AllowOverride None&#60;br /&#62;
    Order allow,deny&#60;br /&#62;
    Allow from all&#60;br /&#62;
   &#38;lt;IfModule mod_suphp.c&#38;gt;&#60;br /&#62;
        suPHP_Engine On&#60;br /&#62;
        suPHP_UserGroup webapps webapps&#60;br /&#62;
   &#38;lt;/IfModule&#38;gt;&#60;br /&#62;
&#38;lt;/Directory&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;IfModule dir_module&#38;gt;&#60;br /&#62;
    DirectoryIndex index.html index.htm index.shtml index.php index.php5 index.php4 index.php3 index.phtml index.cgi&#60;br /&#62;
&#38;lt;/IfModule&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;FilesMatch &#34;^\.ht&#34;&#38;gt;&#60;br /&#62;
    Order allow,deny&#60;br /&#62;
    Deny from all&#60;br /&#62;
    Satisfy All&#60;br /&#62;
&#38;lt;/FilesMatch&#38;gt;&#60;/p&#62;
&#60;p&#62;ErrorLog /var/log/httpd/error_log&#60;br /&#62;
LogLevel warn&#60;/p&#62;
&#60;p&#62;&#38;lt;IfModule log_config_module&#38;gt;&#60;br /&#62;
    #replace %b with %O for more accurate logging&#60;br /&#62;
    &#38;lt;IfModule mod_logio.c&#38;gt;&#60;br /&#62;
      LogFormat &#34;%h %l %u %t \&#34;%r\&#34; %&#38;gt;s %O \&#34;%{Referer}i\&#34; \&#34;%{User-Agent}i\&#34;&#34; combined&#60;br /&#62;
      LogFormat &#34;%h %l %u %t \&#34;%r\&#34; %&#38;gt;s %O&#34; common&#60;br /&#62;
      LogFormat &#34;%O&#34; bytes&#60;/p&#62;
&#60;p&#62;      LogFormat &#34;%h %l %u %t \&#34;%r\&#34; %&#38;gt;s %b \&#34;%{Referer}i\&#34; \&#34;%{User-Agent}i\&#34; %I %O&#34; combinedio&#60;br /&#62;
    &#38;lt;/IfModule&#38;gt;&#60;/p&#62;
&#60;p&#62;    CustomLog /var/log/httpd/access_log common&#60;br /&#62;
&#38;lt;/IfModule&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;IfModule alias_module&#38;gt;&#60;br /&#62;
    # Include some DirectAdmin alias&#60;br /&#62;
    Include conf/extra/httpd-alias.conf&#60;br /&#62;
&#38;lt;/IfModule&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;Directory &#34;/var/www/cgi-bin&#34;&#38;gt;&#60;br /&#62;
    AllowOverride None&#60;br /&#62;
    Options None&#60;br /&#62;
    Order allow,deny&#60;br /&#62;
    Allow from all&#60;br /&#62;
&#38;lt;/Directory&#38;gt;&#60;/p&#62;
&#60;p&#62;DefaultType text/plain&#60;/p&#62;
&#60;p&#62;&#38;lt;IfModule mime_module&#38;gt;&#60;br /&#62;
    TypesConfig conf/mime.types&#60;br /&#62;
    AddType application/x-gzip .tgz&#60;br /&#62;
    AddEncoding x-compress .Z&#60;br /&#62;
    AddEncoding x-gzip .gz .tgz&#60;br /&#62;
    AddType application/x-compress .Z&#60;br /&#62;
    AddType application/x-gzip .gz .tgz&#60;br /&#62;
    AddHandler cgi-script .cgi&#60;br /&#62;
    AddHandler type-map var&#60;br /&#62;
    AddType text/html .shtml&#60;br /&#62;
    AddOutputFilter INCLUDES .shtml&#60;br /&#62;
        AddType video/x-ms-asf .avi&#60;br /&#62;
        AddType video/mpeg .mpg&#60;br /&#62;
        AddType video/mpeg .mpeg&#60;br /&#62;
        AddType video/quicktime .mov&#60;br /&#62;
        AddType video/x-ms-wmv .wmv&#60;br /&#62;
&#38;lt;/IfModule&#38;gt;&#60;/p&#62;
&#60;p&#62;#EnableMMAP off&#60;br /&#62;
#EnableSendfile off&#60;/p&#62;
&#60;p&#62;#######################################################################################&#60;br /&#62;
# Do not change anything in included files, because they are rewritten by DirectAdmin #&#60;br /&#62;
#######################################################################################&#60;/p&#62;
&#60;p&#62;# This is needed for PHP&#60;br /&#62;
Include conf/extra/httpd-php-handlers.conf&#60;/p&#62;
&#60;p&#62;# Server-pool management (MPM specific)&#60;br /&#62;
Include conf/extra/httpd-mpm.conf&#60;/p&#62;
&#60;p&#62;# Multi-language error messages&#60;br /&#62;
Include conf/extra/httpd-multilang-errordoc.conf&#60;/p&#62;
&#60;p&#62;# Fancy directory listings&#60;br /&#62;
Include conf/extra/httpd-autoindex.conf&#60;/p&#62;
&#60;p&#62;# Language settings&#60;br /&#62;
Include conf/extra/httpd-languages.conf&#60;/p&#62;
&#60;p&#62;# User home directories&#60;br /&#62;
#Include conf/extra/httpd-userdir.conf&#60;/p&#62;
&#60;p&#62;# Real-time info on requests and configuration&#60;br /&#62;
Include conf/extra/httpd-info.conf&#60;/p&#62;
&#60;p&#62;# Virtual hosts&#60;br /&#62;
Include conf/extra/httpd-vhosts.conf&#60;/p&#62;
&#60;p&#62;# Local access to the Apache HTTP Server Manual&#60;br /&#62;
#Include conf/extra/httpd-manual.conf&#60;/p&#62;
&#60;p&#62;# Distributed authoring and versioning (WebDAV)&#60;br /&#62;
Include conf/extra/httpd-dav.conf&#60;/p&#62;
&#60;p&#62;# Various default settings&#60;br /&#62;
Include conf/extra/httpd-default.conf&#60;/p&#62;
&#60;p&#62;# Secure (SSL/TLS) connections&#60;br /&#62;
Include conf/extra/httpd-ssl.conf&#60;/p&#62;
&#60;p&#62;# Deflate module settings&#60;br /&#62;
Include conf/extra/httpd-deflate.conf&#60;/p&#62;
&#60;p&#62;# All the DirectAdmin vhosts&#60;br /&#62;
Include conf/extra/directadmin-vhosts.conf&#60;/p&#62;
&#60;p&#62;# All suPHP directives&#60;br /&#62;
Include conf/extra/httpd-suphp.conf&#60;/p&#62;
&#60;p&#62;# All the other includes needed by the custombuild script&#60;br /&#62;
Include conf/extra/httpd-includes.conf&#60;/p&#62;
&#60;p&#62;#######################################################################################&#60;br /&#62;
# End of included files that are rewritten by DirectAdmin                             #&#60;br /&#62;
#######################################################################################&#60;/p&#62;
&#60;p&#62;&#38;lt;IfModule ssl_module&#38;gt;&#60;br /&#62;
SSLRandomSeed startup builtin&#60;br /&#62;
SSLRandomSeed connect builtin&#60;br /&#62;
&#38;lt;/IfModule&#38;gt;&#60;/p&#62;
&#60;p&#62;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;and this is my &#60;strong&#62;wordpress .htaccess&#60;/strong&#62; file, it is in root folder for the domain  &#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
php_value upload_max_filesize &#34;50M&#34;&#60;br /&#62;
# BEGIN WordPress&#60;br /&#62;
&#38;lt;IfModule mod_rewrite.c&#38;gt;&#60;br /&#62;
RewriteEngine On&#60;br /&#62;
RewriteBase /&#60;br /&#62;
RewriteCond %{REQUEST_FILENAME} !-f&#60;br /&#62;
RewriteCond %{REQUEST_FILENAME} !-d&#60;br /&#62;
RewriteRule . /index.php [L]&#60;br /&#62;
&#38;lt;/IfModule&#38;gt;&#60;/p&#62;
&#60;p&#62;# END WordPress&#60;/p&#62;
&#60;p&#62;# BEGIN Url Rewrite section&#60;br /&#62;
# (Automatically generated.  Do not edit this section)&#60;br /&#62;
&#38;lt;IfModule mod_rewrite.c&#38;gt;&#60;br /&#62;
    RewriteEngine On&#60;/p&#62;
&#60;p&#62;    RewriteBase /&#60;/p&#62;
&#60;p&#62;    RewriteCond %{REQUEST_FILENAME} -f [OR]&#60;br /&#62;
    RewriteCond %{REQUEST_FILENAME} -d [OR]&#60;br /&#62;
    RewriteCond %{REQUEST_FILENAME} gallery\_remote2\.php&#60;br /&#62;
    RewriteCond %{REQUEST_URI} !/wp-gallery2\.php$&#60;br /&#62;
    RewriteRule .   -   [L]&#60;/p&#62;
&#60;p&#62;    RewriteCond %{QUERY_STRING} view=core.DownloadItem&#60;br /&#62;
    RewriteCond %{HTTP:Referer} !^[a-zA-Z0-9\+\.\-]+://www.domain.com/   [NC]&#60;br /&#62;
    RewriteCond %{HTTP:Referer} !^$&#60;br /&#62;
    RewriteRule .   /wp-gallery2.php   [F,L]&#60;br /&#62;
    RewriteCond %{QUERY_STRING} g2_view=core.DownloadItem&#60;br /&#62;
    RewriteCond %{QUERY_STRING} g2_itemId=([0-9]+)&#60;br /&#62;
    RewriteCond %{HTTP:Referer} !^[a-zA-Z0-9\+\.\-]+://www.domain.com/   [NC]&#60;br /&#62;
    RewriteCond %{HTTP:Referer} !^$&#60;br /&#62;
    RewriteRule .   /galery/main.php?g2_view=rewrite.DownloadItem&#38;#38;g2_itemId=%1   [L]&#60;br /&#62;
    RewriteCond %{THE_REQUEST} /sitemap(\?.&#124;\ .)&#60;br /&#62;
    RewriteCond %{REQUEST_URI} !/wp-gallery2\.php$&#60;br /&#62;
    RewriteRule .   /wp-gallery2.php?g2_view=sitemap.Sitemap   [QSA,L]&#60;br /&#62;
    RewriteCond %{THE_REQUEST} /tags(\?.&#124;\ .)&#60;br /&#62;
    RewriteCond %{REQUEST_URI} !/wp-gallery2\.php$&#60;br /&#62;
    RewriteRule .   /wp-gallery2.php?g2_view=tags.TagCloud   [QSA,L]&#60;br /&#62;
    RewriteCond %{THE_REQUEST} /admin/(\?.&#124;\ .)&#60;br /&#62;
    RewriteCond %{REQUEST_URI} !/wp-gallery2\.php$&#60;br /&#62;
    RewriteRule .   /wp-gallery2.php?g2_view=core.SiteAdmin   [QSA,L]&#60;br /&#62;
    RewriteCond %{THE_REQUEST} /comments/add/([0-9]+)\.html(\?.&#124;\ .)&#60;br /&#62;
    RewriteCond %{REQUEST_URI} !/wp-gallery2\.php$&#60;br /&#62;
    RewriteRule .   /wp-gallery2.php?g2_view=comment.AddComment&#38;#38;g2_itemId=%1   [QSA,L]&#60;br /&#62;
    RewriteCond %{THE_REQUEST} /comments/([0-9]+)\.html(\?.&#124;\ .)&#60;br /&#62;
    RewriteCond %{REQUEST_URI} !/wp-gallery2\.php$&#60;br /&#62;
    RewriteRule .   /wp-gallery2.php?g2_view=comment.ShowAllComments&#38;#38;g2_itemId=%1   [QSA,L]&#60;br /&#62;
    RewriteCond %{THE_REQUEST} /([^?]+)/slideshow\.html(\?.&#124;\ .)&#60;br /&#62;
    RewriteCond %{REQUEST_URI} !/wp-gallery2\.php$&#60;br /&#62;
    RewriteRule .   /wp-gallery2.php?g2_view=slideshow.Slideshow&#38;#38;g2_path=%1   [QSA,L]&#60;br /&#62;
    RewriteCond %{THE_REQUEST} /photo/([^?]+)(\?.&#124;\ .)&#60;br /&#62;
    RewriteCond %{REQUEST_URI} !/wp-gallery2\.php$&#60;br /&#62;
    RewriteRule .   /wp-gallery2.php?g2_path=%1   [QSA,L]&#60;br /&#62;
    RewriteCond %{THE_REQUEST} /([^?/]+)(\?.&#124;\ .)&#60;br /&#62;
    RewriteCond %{REQUEST_URI} !/wp-gallery2\.php$&#60;br /&#62;
    RewriteRule .   /wp-gallery2.php?g2_view=tags.VirtualAlbum&#38;#38;g2_tagName=%1   [QSA,L]&#60;br /&#62;
    RewriteCond %{THE_REQUEST} /([^?]+)(\?.&#124;\ .)&#60;br /&#62;
    RewriteCond %{REQUEST_URI} !/wp-gallery2\.php$&#60;br /&#62;
    RewriteRule .   /wp-gallery2.php?g2_controller=permalinks.Redirect&#38;#38;g2_filename=%1   [QSA,L]&#60;br /&#62;
&#38;lt;/IfModule&#38;gt;&#60;/p&#62;
&#60;p&#62;# END Url Rewrite section&#60;/p&#62;
&#60;p&#62;# &#60;/p&#62;
&#60;p&#62;RewriteEngine on&#60;br /&#62;
RewriteCond %{HTTP_HOST} ^domain\.com$ [NC]&#60;br /&#62;
RewriteRule .* &#60;a href=&#34;http://www.domain.com/&#34; rel=&#34;nofollow&#34;&#62;http://www.domain.com/&#60;/a&#62; [L,R=301]&#60;br /&#62;
RewriteCond %{THE_REQUEST} \?(ref=.*)?\ HTTP [NC]&#60;br /&#62;
RewriteRule .? &#60;a href=&#34;http://www.domain.com%&#34; rel=&#34;nofollow&#34;&#62;http://www.domain.com%&#60;/a&#62;{REQUEST_URI}? [R=301,L]&#60;br /&#62;
RewriteCond %{THE_REQUEST} \?(referer=.*)?\ HTTP [NC]&#60;br /&#62;
RewriteRule .? &#60;a href=&#34;http://www.domain.com%&#34; rel=&#34;nofollow&#34;&#62;http://www.domain.com%&#60;/a&#62;{REQUEST_URI}? [R=301,L]&#60;br /&#62;
Redirect /x/ &#60;a href=&#34;http://www.domain.com/y/&#34; rel=&#34;nofollow&#34;&#62;http://www.domain.com/y/&#60;/a&#62;&#60;br /&#62;
Redirect /a/ &#60;a href=&#34;http://www.domain.com/b/&#34; rel=&#34;nofollow&#34;&#62;http://www.domain.com/b/&#60;/a&#62;&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;and this is &#60;strong&#62;bbpress .htaccess&#60;/strong&#62; located on /forum folder, and my bbpress is also located on /forum. And I dont call wordpress from bbpress and I dont call bbpress from wordpress. I use integration method expressed in faq section of bbpress documents. And my setup was working before I moved to the new vps.&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
&#38;lt;ifmodule mod_rewrite.c&#38;gt;&#60;br /&#62;
RewriteEngine On&#60;br /&#62;
RewriteBase /forum/&#60;br /&#62;
RewriteRule ^forum/([0-9]+)/page/([0-9]+)$ /forum/forum.php?id=$1&#38;#38;page=$2 [L,QSA]&#60;br /&#62;
RewriteRule ^forum/([0-9]+)$ /forum/forum.php?id=$1 [L,QSA]&#60;br /&#62;
RewriteRule ^topic/([0-9]+)/page/([0-9]+)$ /forum/topic.php?id=$1&#38;#38;page=$2 [L,QSA]&#60;br /&#62;
RewriteRule ^topic/([0-9]+)$ /forum/topic.php?id=$1 [L,QSA]&#60;br /&#62;
RewriteRule ^tags/(.+)/page/([0-9]+)$ /forum/tags.php?tag=$1&#38;#38;page=$2 [L,QSA]&#60;br /&#62;
RewriteRule ^tags/(.+)/?$ /forum/tags.php?tag=$1 [L,QSA]&#60;br /&#62;
RewriteRule ^tags/?$ /forum/tags.php [L,QSA]&#60;br /&#62;
RewriteRule ^profile/([0-9]+)/page/([0-9]+)$ /forum/profile.php?id=$1&#38;#38;page=$2 [L,QSA]&#60;br /&#62;
RewriteRule ^profile/([0-9]+)/([a-z]+)$ /forum/profile.php?id=$1&#38;#38;tab=$2 [L,QSA]&#60;br /&#62;
RewriteRule ^profile/([0-9]+)/([a-z]+)/page/([0-9]+)$ /forum/profile.php?id=$1&#38;#38;tab=$2&#38;#38;page=$3 [L,QSA]&#60;br /&#62;
RewriteRule ^profile/([0-9]+)$ /forum/profile.php?id=$1 [L,QSA]&#60;br /&#62;
RewriteRule ^view/([a-z-]+)/page/([0-9]+)$ /forum/view.php?view=$1&#38;#38;page=$2 [L,QSA]&#60;br /&#62;
RewriteRule ^view/([a-z-]+)$ /forum/view.php?view=$1 [L,QSA]&#60;br /&#62;
RewriteRule ^rss/$ /forum/rss.php [L,QSA]&#60;br /&#62;
RewriteRule ^rss/forum/([0-9]+)$ /forum/rss.php?forum=$1 [L,QSA]&#60;br /&#62;
RewriteRule ^rss/topic/([0-9]+)$ /forum/rss.php?topic=$1 [L,QSA]&#60;br /&#62;
RewriteRule ^rss/tags/([a-z]+)$ /forum/rss.php?tag=$1 [L,QSA]&#60;br /&#62;
RewriteRule ^rss/profile/([0-9]+)$ /forum/rss.php?profile=$1 [L,QSA]&#60;br /&#62;
&#38;lt;/ifmodule&#38;gt;&#60;br /&#62;
&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Pretty Permalinks on Debian VPS Server"</title>
<link>http://bbpress.org/forums/topic/pretty-permalinks-on-debian-vps-server#post-15107</link>
<pubDate>Mon, 07 Apr 2008 12:51:31 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">15107@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Let's put it this way - bbPress is running with slugs and rewrite rules on literally thousands of servers, so the problem is likely your setup, not necessarily bbPress.&#60;/p&#62;
&#60;p&#62;mod_rewrite should be virtually 100% internal to apache and not really depend on the OS/filesystem underneath but there's always a chance for something to be interfering.&#60;/p&#62;
&#60;p&#62;If you are using the &#60;code&#62;bb-admin/rewrite-rules.php&#60;/code&#62; in your htaccess and you have slugs turned on and it doesn't work, then I would bet that you have another mod_rewrite rule somewhere that is conflicting, either in the same htaccess file or in a directory above it. Do NOT use multiviews. I cannot help you if you are using multiviews.&#60;/p&#62;
&#60;p&#62;I need much more information, like your htaccess file, and any htaccess file in directories above your forum. Is bbpress running in /forums/ or in the webroot (ie. / )&#60;/p&#62;
&#60;p&#62;Also are you running wordpress at the exact same time as bbpress? I don't mean standalone integration, I mean loading within each other. Because I am not sure how that would be handled and I never recommend it.
&#60;/p&#62;</description>
</item>
<item>
<title>serimu on "Pretty Permalinks on Debian VPS Server"</title>
<link>http://bbpress.org/forums/topic/pretty-permalinks-on-debian-vps-server#post-15105</link>
<pubDate>Mon, 07 Apr 2008 12:06:12 +0000</pubDate>
<dc:creator>serimu</dc:creator>
<guid isPermaLink="false">15105@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I had godaddy hosting when I was setting up this forum. And it did not worked for permalinks. I moved to another shared hosting, and it worked. Now my website gets more traffic and I moved to a vps. But although I can change every setting on my vps, I dont know what to do.  And technical stuff also did not know anything about the problem. &#60;/p&#62;
&#60;p&#62;I used mod_rewrite rules in my previous hosting, and I use it for now, but it does not work. Forum is opening, but links are not working.  &#60;/p&#62;
&#60;p&#62;On godaddy, the mod_rewrite was also working for wordpress, and it also works for my vps. I think bbpress has some problem with those rewrite rules. Do I have to move back to shared hosting, which I dont want to do so, after I saw how fast my website is on a vps.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Pretty Permalinks on Debian VPS Server"</title>
<link>http://bbpress.org/forums/topic/pretty-permalinks-on-debian-vps-server#post-15009</link>
<pubDate>Fri, 04 Apr 2008 03:40:10 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">15009@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Don't use multiviews, it's slower and unpredictable.&#60;/p&#62;
&#60;p&#62;Always try to use real mod_rewrite rules when possible instead.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
