I'd like to change $wgScriptPath from the default of "/wiki", but I'm having trouble. If I want to change it to, say, "/mfqzww", do I need to create a directory called "mfqzww" somewhere? (Didn't think so; there's no directory called "wiki".)
Generally, I don't understand where things are. When I point a browser to localhost/wiki, I get redirected to localhost/wiki/index.php/Main_Page. I see I have an index.php in /srv/mediawiki (same as the directory with LocalSettings.php). But where is Main_Page? There's no such file. Is Main_Page just something in a MySql database?
My goal is quite simple. I'm trying to set up a wiki for myself and a few friends (we're not all on the same network though), and I'd like to rely on obscurity to keep the material reasonably invisible to the rest of the world. Unwanted visitors might guess http://tedsserver.net/wiki, but probably not something like http://tedsserver.net/mfqzww. So that's all I want to do; change "wiki" to "mfqzww". And unfortunately, just changing $wgScriptPath doesn't seem to be enough.
Yes, the Main Page is in the database.
Assuming you're using Apache, simply enable mod_alias and then put this in your Apache Config:
ScriptAlias /mfqzww /srv/mediawiki/index.php
Then change $wgScriptPath.
Darren VanBuren ------------------------- Sent from my iPod
Try Fedora 10 today. Fire it up. http://fedoraproject.org/
On May 3, 2009, at 0:18, "Theodore D. Sternberg" strnbrg59@gmail.com wrote:
I'd like to change $wgScriptPath from the default of "/wiki", but I'm having trouble. If I want to change it to, say, "/mfqzww", do I need to create a directory called "mfqzww" somewhere? (Didn't think so; there's no directory called "wiki".)
Generally, I don't understand where things are. When I point a browser to localhost/wiki, I get redirected to localhost/wiki/index.php/ Main_Page. I see I have an index.php in /srv/mediawiki (same as the directory with LocalSettings.php). But where is Main_Page? There's no such file. Is Main_Page just something in a MySql database?
My goal is quite simple. I'm trying to set up a wiki for myself and a few friends (we're not all on the same network though), and I'd like to rely on obscurity to keep the material reasonably invisible to the rest of the world. Unwanted visitors might guess http://tedsserver.net/wiki , but probably not something like http://tedsserver.net/mfqzww. So that's all I want to do; change "wiki" to "mfqzww". And unfortunately, just changing $wgScriptPath doesn't seem to be enough.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Thank you! This has brought me a little close to my goal. Unfortunately the Main_Page I get to is not the pretty one I was seeing before (with a sunflower, and other mediawiki decorations and such). You can see what I get by going here: http://trhj.homeunix.net/mfqzww
On Sun, 3 May 2009, Darren VanBuren wrote:
Yes, the Main Page is in the database.
Assuming you're using Apache, simply enable mod_alias and then put this in your Apache Config:
ScriptAlias /mfqzww /srv/mediawiki/index.php
Then change $wgScriptPath.
Darren VanBuren
Sent from my iPod
Try Fedora 10 today. Fire it up. http://fedoraproject.org/
On May 3, 2009, at 0:18, "Theodore D. Sternberg" strnbrg59@gmail.com wrote:
I'd like to change $wgScriptPath from the default of "/wiki", but I'm having trouble. If I want to change it to, say, "/mfqzww", do I need to create a directory called "mfqzww" somewhere? (Didn't think so; there's no directory called "wiki".)
Generally, I don't understand where things are. When I point a browser to localhost/wiki, I get redirected to localhost/wiki/index.php/ Main_Page. I see I have an index.php in /srv/mediawiki (same as the directory with LocalSettings.php). But where is Main_Page? There's no such file. Is Main_Page just something in a MySql database?
My goal is quite simple. I'm trying to set up a wiki for myself and a few friends (we're not all on the same network though), and I'd like to rely on obscurity to keep the material reasonably invisible to the rest of the world. Unwanted visitors might guess http://tedsserver.net/wiki , but probably not something like http://tedsserver.net/mfqzww. So that's all I want to do; change "wiki" to "mfqzww". And unfortunately, just changing $wgScriptPath doesn't seem to be enough.
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
mediawiki-l@lists.wikimedia.org