Manual talk:Short URL/wiki/Page title -- GoDaddy Shared Linux Subdomain

From MediaWiki.org

Jump to: navigation, search


Contents

[edit] LocalSettings.php alternative by 76.87.166.72

I tested this alternative from 76.87.166.72:

# SHORT URLS:
$wgScriptPath = "wiki";		# Path to the actual files
$wgArticlePath = "/$1";		# Virtual path
$wgUsePathInfo = "/";		# This method might be the solution for you

at Navas Wireless Wiki (see Example) and it did not work -- 404 error.

--John Navas 14:37, 1 December 2008 (UTC)

[edit] See Permissions "777"

What does "See Permissions "777" on the .htaccess file." mean? 70.184.216.166 20:39, 29 January 2009 (UTC)

Oops -- that's a typo! Should have been "set" not "see":
Set .htaccess file Permissions to 777
Reply:
That means to change the file permissions of .htaccess file to 777 (with GoDaddy File Manager or by FTP). Hope that helps. --John Navas 22:29, 29 January 2009 (UTC)
Two questions:
  1. how do you set .htaccess file permissions to 777?
  2. what do you mean with "install MediaWiki in the subdomain itself"
--62.194.177.207 22:20, 30 January 2009 (UTC)
Reply:
1. Setting File Permissions:
  • In GoDaddy Hosting Control Center -> File Manager
  • put a check on the .htaccess file
  • click the Permissions button
  • check both Web Visible and Executable
  • and then click OK
2. Installing in subdomain (not directory):
  • Create Subdomain in GoDaddy Hosting Control Center
  • Then when installing MediaWiki package in GoDaddy Hosting Control Center,
  • select that Subdomain instead of a directory
Hope that helps,
--John Navas 21:46, 31 January 2009 (UTC)

[edit] Did not work for me

Hi John, my name is Helmer Wieringa, Netherlands

I have tried your approach,but for what ever reason it does not work for me...

This is the situation:

I installed MediaWiki 1.15 on godaddy virtual hosting.

Installation details:
URL: idplatform.eu/wiki/
FTP path: /idplatform_eu/wiki

.htacess and localsettings.php are both in /idplatform_eu/wiki

.htaccess content:

RewriteEngine On
RewriteRule ^wiki/(.*)$ /index.php?title=$1 [PT,L,QSA]
RewriteRule ^wiki/*$ /index.php [L,QSA]
RewriteRule ^/*$ /index.php [L,QSA]

Local settings content:

# SHORT URLS:
$wgScriptPath = "";		# Path to the actual files
$ $wgArticlePath = "/wiki/$1";	# Virtual path

I get a 404 I did test with new browser instances.

What do I wrong? It would be great if you could help me.

Helmer

Reply:
To have the best chance of success, follow my instructions to the letter!
What is the subdirectory you are installing to? It cannot be "wiki"! Also, the 3rd line of your Local settings is incorrect. Go back over my instructions carefully.
--John Navas 15:49, 27 July 2009 (UTC)
Reply:
Thanks John, I installed MW in another directory - not wiki- , it works now. I assume that this entry can be deleted, but leave it to you.
Reply:
Great! If you previously created a subdomain and/or directory named "wiki", that can now be deleted.