<HTML>
<HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<font size="2">> <span style="font-size: 11pt; font-family: "Calibri",sans-serif;">Chuck
wrote:<o:p /></span>
<br />>
<br /><span style="font-size: 11pt; font-family: "Calibri",sans-serif;">> We have a
customer who is trying to use "permalinks" - which requires WordPress
to create a .htaccess file. But we've had problems with it either not able
to create the file, or once created - it takes down the
site.<o:p /></span>
<br />> <span style="font-size: 11pt; font-family: "Calibri",sans-serif;"><o:p>
</o:p></span>
<br />> <span style="font-size: 11pt; font-family: "Calibri",sans-serif;">I have never had any
problem. Suphp with all files owned by the site admin should work just fine
along with FPM/FastCGI or PHP (DSO) + mod_ruid2. Any of these three PHP methods
should work. You also want to go into the site PHP settings and make sure to
allocate enough ram. Normally 64M is fine but one some WordPress sites you might
need more. Try 128M if you are having trouble.<o:p /></span>
<br />> <span style="font-size: 11pt; font-family: "Calibri",sans-serif;"><o:p>
</o:p></span>
<br />> <span style="font-size: 11pt; font-family: "Calibri",sans-serif;">Then if you remove
(and save) the .htaccess file that is currently there and then go to Permalinks
and try and set them again.<o:p /></span>
<br />> <span style="font-size: 11pt; font-family: "Calibri",sans-serif;"><o:p>
</o:p></span>
<br />> <span style="font-size: 11pt; font-family: "Calibri",sans-serif;">That should
work.<o:p /></span>
<br />> <span style="font-size: 11pt; font-family: "Calibri",sans-serif;"><o:p>
</o:p></span>
<br />
<br />Michael Aronoff,
<br />
<br />Thanks for the suggestion on fixing WordPress. I've tried it on the problem customer site and now on a new company site, but we still can't get WordPress to work. I bumped the memory allocation to 128Meg - but that didn't help.
<br />
<br />The .htaccess file created for the site only contains stuff to rewrite the URL calling the mod_rewrite.c module (see down below). But each time that WordPress creates that .htaccess file - it takes down the site. And the Apache error log shows:
<br />/home/.sites/90/site11/web/.htaccess: RewriteEngine not allowed here
<br />
<br />Any idea why Apache will not allow the rewrite engine? Or what I can do to fix that? The new site is for the company itself, and the owner is upset and talking about dumping BlueOnyx completely. I don't think he will - but have to get this problem resolved.
<br />
<br />And thanks for your help buddy.
<br />
<br />
<br />Chuck
<br />
<br />
<br />
<br />
<br /><IfModule mod_rewrite.c>
<br />RewriteEngine On
<br />RewriteBase /
<br />RewriteRule ^index\.php$ - [L]
<br />RewriteCond %{REQUEST_FILENAME} !-f
<br />RewriteCond %{REQUEST_FILENAME} !-d
<br />RewriteRule . /index.php [L]
<br /></IfModule>
<br />
<br /># END [UTF-8?]WordPress​
<br />
<br /></font>
</BODY>
</HTML>