I had the same issue with SME 7.x, but the platform I am testing on right now is 8b6.
My setup:First I issue following command:
db accounts setprop "iBay" AllowOverride all
db accounts setprop "iBay" FollowSymLinks enabled
signal-event ibay-modify "iBay"
yes, I change "iBay" to the name of my iBay
Than I create PHP temp directory, as instructed in bug:
http://bugs.contribs.org/show_bug.cgi?id=6650next I install Wordpress in a iBay (no issues)
After installation, I create .htaccess file as instructed by wordpress.
(I know that there is a way to do the same thing with templates. But this way is quicker and there is no security issue since I am the only person that has access to this server and .htaccess is not used for security control, it is used for SymLinks only)
here is what .htaccess contains:
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# uploaded files
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule . index.php [L]
The Issue:Everything seems to work OK, until I start to upload pictures/ files using wordpress.
It looks like the uploads work, I can see the files uploaded in correct folders, but the pictures don't show up in the blogs, I just get Broken picture icon. When I, right click, and "view the picture" I get a message that the picture does not exist on this server.
But I know that the upload works because when I go to: /ibays/wordpress/html/wp-content/blogs.dir/3/files/2011/06 I see the files in there.
Possible reasons:I had a discussion on wordpress forums about this, and I was told that:
"htaccess file is not being read by the server"
Possible Solution:I have found a discussion here that solved similar issue:
http://forums.contribs.org/index.php?topic=38139.0The issue is:
The fragment he changed, does not exist in my .htaccess file. His solution was four years ago, maybe wordpress changed things in that time.
Also, his solution was to point to a specific domain, but I am using wordpress Multisite, so I have several domains pointing to one wordpress installation (No Issues)
QuestionHow can I find out if the command given at the beginning, does actually work, or indeed 8b6 is not reading .htaccess .
Was anybody able to get this working?
Please help as I have exhausted my limited programming skills.
I would really appreciate any help to solve this, and I thank everyone in advance for any help.