I've successfully migrated my mediawiki installation to a faster server, and everything works; except - the existing images or files I upload return 404s when accessed (not 403). The files are present on the server, and there are global read permissions.
Anyone know what's happening?
Thanks, Srini
Srini Ramakrishnan wrote:
I've successfully migrated my mediawiki installation to a faster server, and everything works; except - the existing images or files I upload return 404s when accessed (not 403). The files are present on the server, and there are global read permissions.
Anyone know what's happening?
You should probably double-check the paths, and confirm that the URLs you're loading are the actual ones to where the files are kept.
-- brion vibber (brion @ pobox.com)
On 11/3/05, Brion Vibber brion@pobox.com wrote:
Srini Ramakrishnan wrote:
I've successfully migrated my mediawiki installation to a faster server, and everything works; except - the existing images or files I upload return 404s when accessed (not 403). The files are present on the server, and there are global read permissions.
Anyone know what's happening?
You should probably double-check the paths, and confirm that the URLs you're loading are the actual ones to where the files are kept.
The file paths are fine, I checked before posting.
I merely made a tarball of the working wiki installation and moved it to the new server. Then I loaded the mediawiki tables and permissions to the new MySQL server, and the wiki was working, complete with the site logo and "powered by mediawiki" button appearing.
Except, every uploaded file returns a 404, despite a) the path existing on the server, and b) Apache having complete read/write permissions on the directory.
In fact, file uploads work - the file gets stored on the server just fine; but the same file path returns a 404 when Apache tries to retrieve it from where it stored it a moment ago.
I'm running Apache 1.3.33 on Debian Testing. The old environment was exactly the same.
Thanks, Srini
Srini Ramakrishnan wrote:
The file paths are fine, I checked before posting.
I merely made a tarball of the working wiki installation and moved it to the new server. Then I loaded the mediawiki tables and permissions to the new MySQL server, and the wiki was working, complete with the site logo and "powered by mediawiki" button appearing.
Except, every uploaded file returns a 404, despite a) the path existing on the server, and b) Apache having complete read/write permissions on the directory.
In fact, file uploads work - the file gets stored on the server just fine; but the same file path returns a 404 when Apache tries to retrieve it from where it stored it a moment ago.
You might look for an Apache support forum, then. You should, however, be *really sure* that the URLs you're looking at actually correspond to the paths you're looking in. Check your error log, check for alias, rewrite, etc directives. Run strace on the server to see what it's loading off the disk.
-- brion vibber (brion @ pobox.com)
mediawiki-l@lists.wikimedia.org