greene.md
Forum Replies Created
-
Forum: Networking WordPress
In reply to: New 3.0 install, images not working in subsitesThank you for the link Andrea, I learned a lot from that. My problem still stands however. I’m almost convinced it’s not an .htaccess problem at all, i just don’t know where else to look. Hopefully later today or early tomorrow I’ll have an outside IP I can direct you to and maybe that will spark someone’s imagination.
Forum: Networking WordPress
In reply to: New 3.0 install, images not working in subsitesI have uploaded a copy of my httpd.conf file here, if that helps anyone. I can upload other files there as well if you want to look at them. My network admin is trying to open up the firewall to allow web traffic in but that might take a few hours. Again, thank you everyone who is thinking about a solution to my problem.
Forum: Networking WordPress
In reply to: New 3.0 install, images not working in subsitesAndrea when I try to add that line of code to my vhost, Apache can not restart. Apache error log says Allow Override not allowed here, that could be due to something I changed in the http.conf file but I’m not sure what it might be. VHost looks like this.
ServerName reconstruct.rappahannock.edu NameVirtualHost reconstruct.rappahannock.edu <VirtualHost *> DocumentRoot C:/Server/www ServerName reconstruct.rappahannock.edu AllowOverride FileInfo Options </VirtualHost>
Forum: Networking WordPress
In reply to: New 3.0 install, images not working in subsitesWell… I assumed mod_rewrite was working because ‘pretty permalinks’ were working. At this point I’m willing to try anything aside from scraping my database again. What would I need in my vhost file to make it read the .htaccess? My vhost looks like this
ServerName reconstruct.rappahannock.edu NameVirtualHost reconstruct.rappahannock.edu <VirtualHost *> DocumentRoot C:/Server/www ServerName reconstruct.rappahannock.edu </VirtualHost>
The C:/Server/www folder is where my .htaccess lives
Forum: Networking WordPress
In reply to: New 3.0 install, images not working in subsitesThanks Ipstenu, I tested
RewriteRule ^rappenings/files/2010/06/Photo-3-copy.jpg https://reconstruct.rappahannock.edu/wp-content/blogs.dir/25/files/2010/06/Photo-3-copy.jpg
andRewriteRule ^files/2010/06/Photo-3-copy.jpg https://reconstruct.rappahannock.edu/wp-content/blogs.dir/25/files/2010/06/Photo-3-copy.jpg
Both gave me a 404, which is different than what the wordpress standard rewrite rule does (no error, the image just doesn’t show up). I’m beginning to think that Apache is not capable of rewriting these images at all. I am not a server admin but had to setup Apache, MySql, Php myself. Is there something I could have missed outside of this .htaccess setup?
Forum: Networking WordPress
In reply to: New 3.0 install, images not working in subsitesI’m trying to experiment with a specific Rewrite Rule just to see if I can get an image url to rewrite at all. Does anyone know how to write a rule to take
https://reconstruct.rappahannock.edu/wp-content/blogs.dir/25/files/2010/06/Photo-3-copy.jpg
and rewrite it tohttps://reconstruct.rappahannock.edu/rappenings/files/2010/06/Photo-3-copy.jpg
I tried using
ReWriteRule ^files/2010/06/Photo-3-copy.jpg wp-content/blogs.dir/25/files/2010/06/Photo-3-copy.jpg
but that didn’t work.Forum: Networking WordPress
In reply to: New 3.0 install, images not working in subsitesenjaytee, I am using Apache not IIS on Windows Server. Sorry, I should have mentioned that in my previous post. Thank you though.
Forum: Networking WordPress
In reply to: New 3.0 install, images not working in subsitesI’ve tried each of these Rewrite rules and none of them have worked.
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L] RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L] RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$2 [L]
I’ve also tried switching the file=$2 to file=$1 on each of the rules as well. My background is in design so a lot of this is new and some still doesn’t make sense. Any other tricks you can think of to play around with?
Forum: Networking WordPress
In reply to: New 3.0 install, images not working in subsitesjpg and jpeg are listed under upload file types
Forum: Networking WordPress
In reply to: New 3.0 install, images not working in subsitesIt’s a Windows server 2008 machine that I remote into so no. I had originally set everything to localhost but when we tried to switch to a normal domain name I had a bunch of crazy errors so I scrapped everything and did a fresh install using the reconstruct.rappahannock.edu domain name. Everything has worked fine except this images in sub-sites issue.
Forum: Networking WordPress
In reply to: New 3.0 install, images not working in subsitesHere is my .htaccess file
RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # uploaded files #RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L] RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule . index.php [L]
The first uploads rewrite rules is the original WP told me to use and the second is the one riddhishshah recommended. Since this was a fresh install I don’t believe I’ve ever used blogs.php in any of my .htaccess or http.conf rules.
Forum: Networking WordPress
In reply to: New 3.0 install, images not working in subsitesriddhishshah, thanks for the tip. Unfortunately I still can’t get uploaded images in sub-sites to show up. What do you mean by
did you check your htaccess as well as .htaccess
I’ve been checking my .htaccess file and it appears correct, I don’t have a htaccess file if that’s what you mean.
Forum: Networking WordPress
In reply to: New 3.0 install, images not working in subsitesI just tried uploading a PDF and inserting that into a post. Worked fine, server redirected the link and the browser downloaded the file. So why won’t images work?
Forum: Networking WordPress
In reply to: New 3.0 install, images not working in subsitesFixed the issue of the site not showing up. Theme error, images still not working though.
Forum: Networking WordPress
In reply to: New 3.0 install, images not working in subsitesNow the sub-site I’ve been trying this in /rappenings won’t appear at all. But the admin interface still works, what it going on here? Now I’m completely confused.