wordpress mu + new php.ini = problems

wordpress mu + new php.ini = problems

Posted by: proteusbcn
Posted on: 2007-09-25 06:33:00

Hello!!

I needed to change the php.ini, because I changed the max_upload, I followed all tutorials (http://wiki.dreamhost.com/Custom_PHP.ini).

I change the .htaccess and I put this:

AddHandler php-cgi .php
Action php-cgi /cgi-bin/php.cgi

But when I put this after or before the code:

RewriteEngine On
RewriteBase BASE/


#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]
RewriteRule . index.php [L]

Re: wordpress mu + new php.ini = problems

Posted by: crimsondryad
Posted on: 2007-10-03 10:25:00

Did you make sure you had mod_rewrite enabled in your php.ini?

================================
Angela Gann
CrimsonDryad Web Design Services
Web Design, Custom Software Development
http://www.crimsondryad.com

Tags: rewriterulephp cgihtaccessdreamhostuploaded fileswordpressmuwpzafiles indexphp filetime thanksi changedcgi binwikiblogs