Hi,
I have a GoDaddy hosted linux server where MediaWiki was installed. Whenever we go to our website however, we receive a 404 error message:
The requested URL /wiki/index.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I'm confused as to what the problem could be. When I FTP into the server and go into the wiki folder, the index.php file is present. All the necessary components (php, MySQL, etc) are all installed. I have looked at the localsettings.php file and everything appears to be correct.
My interpretation is that for some reason, upon initializing the script cannot locate the index.php file. I have been parsing through various php files but nothing looks out of place to me (although I could be wrong as I am new to this).
Any help would be tremendously appreciated,
-Andrew
did you extract mediawiki to the correct location?
On Fri, Sep 28, 2012 at 9:58 AM, Andrew Jablonski andrew.daniel.jablonski@gmail.com wrote:
Hi,
I have a GoDaddy hosted linux server where MediaWiki was installed. Whenever we go to our website however, we receive a 404 error message:
The requested URL /wiki/index.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I'm confused as to what the problem could be. When I FTP into the server and go into the wiki folder, the index.php file is present. All the necessary components (php, MySQL, etc) are all installed. I have looked at the localsettings.php file and everything appears to be correct.
My interpretation is that for some reason, upon initializing the script cannot locate the index.php file. I have been parsing through various php files but nothing looks out of place to me (although I could be wrong as I am new to this).
Any help would be tremendously appreciated,
-Andrew _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
I actually wasn't in charge of the installation; I was simply told there was a problem and to fix it. AFAIK GoDaddy handles the installation, unless it was my boss (also a possibility). But if I use a FTP to log into the server, there are three folders in the root directory; cgi, stats, and wiki(where all the wiki files reside). Additionally there are some files, like a php.ini, and some generic html files (welcome.html,missing.html) etc.
On Fri, Sep 28, 2012 at 10:11 AM, John phoenixoverride@gmail.com wrote:
did you extract mediawiki to the correct location?
On Fri, Sep 28, 2012 at 9:58 AM, Andrew Jablonski andrew.daniel.jablonski@gmail.com wrote:
Hi,
I have a GoDaddy hosted linux server where MediaWiki was installed. Whenever we go to our website however, we receive a 404 error message:
The requested URL /wiki/index.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use
an
ErrorDocument to handle the request.
I'm confused as to what the problem could be. When I FTP into the server and go into the wiki folder, the index.php file is present. All the necessary components (php, MySQL, etc) are all installed. I have looked
at
the localsettings.php file and everything appears to be correct.
My interpretation is that for some reason, upon initializing the script cannot locate the index.php file. I have been parsing through various php files but nothing looks out of place to me (although I could be wrong as
I
am new to this).
Any help would be tremendously appreciated,
-Andrew _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
A few quick things you can check:
- Check your real and virtual paths. Most wikis seem to use the real path "/w/" and have a redirect of "/wiki/" to "/w/index.php?title=" for nice URLs. - Ensure that your path /wiki/ is readable/executable by Apache. Easiest way to check if you have ssh/root access is to sudo as the Apache user. - Similarly ensure that index.php and the rest of the Wiki path/files are readable by Apache. - Ensure your Apache/web server is correctly setup. Try access static files (images, CSS, etc...) from within the wiki path and make sure they are accessible. - If you've modified your Apache/web server configuration make sure to restart it.
On 28 September 2012 09:58, Andrew Jablonski andrew.daniel.jablonski@gmail.com wrote:
Hi,
I have a GoDaddy hosted linux server where MediaWiki was installed. Whenever we go to our website however, we receive a 404 error message:
The requested URL /wiki/index.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I'm confused as to what the problem could be. When I FTP into the server and go into the wiki folder, the index.php file is present. All the necessary components (php, MySQL, etc) are all installed. I have looked at the localsettings.php file and everything appears to be correct.
My interpretation is that for some reason, upon initializing the script cannot locate the index.php file. I have been parsing through various php files but nothing looks out of place to me (although I could be wrong as I am new to this).
Any help would be tremendously appreciated,
-Andrew _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Thanks for the help Dave! I wasn't exactly sure how to check real vs virtual paths. I did look at the variable $wgScriptPath and saw it was set to "\wiki"
I have had a small breakthrough based on your suggestion of trying to access static images and the like. Originally I entered the url:
ourwiki.project.org/wiki/skins/common/images/wiki.png
I still received the same 404 error. However when I enter in the url:
ourwiki.project.org/skins/common/images/wiki.png
The images load. In fact I can even access the index.php file via (although in a very barebones format):
ourwiki.project.org/index.php
as opposed to
ourwiki.project.org/wiki/index.php.
So it is definately some sort of pathing issue. Based on reading the manual of variable $wgScriptPath, if I change the default value from "/wiki" to the allowed value of "relative path", along with all other dependent variables, do you think it would solve the issue? (I'm trying it out anyway)
On Fri, Sep 28, 2012 at 10:32 AM, Dave Humphrey dave@uesp.net wrote:
A few quick things you can check:
- Check your real and virtual paths. Most wikis seem to use the real
path "/w/" and have a redirect of "/wiki/" to "/w/index.php?title=" for nice URLs.
- Ensure that your path /wiki/ is readable/executable by Apache.
Easiest way to check if you have ssh/root access is to sudo as the Apache user.
- Similarly ensure that index.php and the rest of the Wiki path/files
are readable by Apache.
- Ensure your Apache/web server is correctly setup. Try access static
files (images, CSS, etc...) from within the wiki path and make sure they are accessible.
- If you've modified your Apache/web server configuration make sure to
restart it.
On 28 September 2012 09:58, Andrew Jablonski andrew.daniel.jablonski@gmail.com wrote:
Hi,
I have a GoDaddy hosted linux server where MediaWiki was installed. Whenever we go to our website however, we receive a 404 error message:
The requested URL /wiki/index.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use
an
ErrorDocument to handle the request.
I'm confused as to what the problem could be. When I FTP into the server and go into the wiki folder, the index.php file is present. All the necessary components (php, MySQL, etc) are all installed. I have looked
at
the localsettings.php file and everything appears to be correct.
My interpretation is that for some reason, upon initializing the script cannot locate the index.php file. I have been parsing through various php files but nothing looks out of place to me (although I could be wrong as
I
am new to this).
Any help would be tremendously appreciated,
-Andrew _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
-- Dave Humphrey -- dave@uesp.net Founder/Server Admin of the Unofficial Elder Scrolls Pages -- www.uesp.net
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Problem fixed! I just set $wgScriptPath = "" and everything is loading perfectly. Thanks so much for all the help!
On Fri, Sep 28, 2012 at 10:32 AM, Dave Humphrey dave@uesp.net wrote:
A few quick things you can check:
- Check your real and virtual paths. Most wikis seem to use the real
path "/w/" and have a redirect of "/wiki/" to "/w/index.php?title=" for nice URLs.
- Ensure that your path /wiki/ is readable/executable by Apache.
Easiest way to check if you have ssh/root access is to sudo as the Apache user.
- Similarly ensure that index.php and the rest of the Wiki path/files
are readable by Apache.
- Ensure your Apache/web server is correctly setup. Try access static
files (images, CSS, etc...) from within the wiki path and make sure they are accessible.
- If you've modified your Apache/web server configuration make sure to
restart it.
On 28 September 2012 09:58, Andrew Jablonski andrew.daniel.jablonski@gmail.com wrote:
Hi,
I have a GoDaddy hosted linux server where MediaWiki was installed. Whenever we go to our website however, we receive a 404 error message:
The requested URL /wiki/index.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use
an
ErrorDocument to handle the request.
I'm confused as to what the problem could be. When I FTP into the server and go into the wiki folder, the index.php file is present. All the necessary components (php, MySQL, etc) are all installed. I have looked
at
the localsettings.php file and everything appears to be correct.
My interpretation is that for some reason, upon initializing the script cannot locate the index.php file. I have been parsing through various php files but nothing looks out of place to me (although I could be wrong as
I
am new to this).
Any help would be tremendously appreciated,
-Andrew _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
-- Dave Humphrey -- dave@uesp.net Founder/Server Admin of the Unofficial Elder Scrolls Pages -- www.uesp.net
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org