Difference between revisions of "Extension talk:PublicCat.php"
From Organic Design wiki
(be exact with answers or I can't help) |
|||
Line 10: | Line 10: | ||
:::::::::I set it to the wiki directory name. -[[User:Brynte|Brynte]] 19:42, 17 December 2007 (NZDT) | :::::::::I set it to the wiki directory name. -[[User:Brynte|Brynte]] 19:42, 17 December 2007 (NZDT) | ||
::::::::::Youre not making it easy for me to help, what '''exactly''' is ''$wgPublicCatPrivatePattern'' set to? --[[User:Nad|Nad]] 21:00, 17 December 2007 (NZDT) | ::::::::::Youre not making it easy for me to help, what '''exactly''' is ''$wgPublicCatPrivatePattern'' set to? --[[User:Nad|Nad]] 21:00, 17 December 2007 (NZDT) | ||
+ | :::::::::::Ok, sorry, I'll try better. My domain is www.tulajv.se and the wiki is in a directory called 'aiwiki'. That is: www.tulajv.se/aiwiki. Without publiccat www.tulajv.se/aiwiki and tulajv.se/aiwiki works fine. Not aiwiki.tulajv.se though. With publiccat and the $wgPublicCatPrivatePattern set to aiwiki: $wgPublicCatPrivatePattern = '/^aiwiki\\./'; that is. www.tulajv.se/aiwiki works as it should. All the articles in <nowiki>[[Kategori:Hemsidan]]</nowiki> are shown and all other pages show 404. Trouble is that aiwiki.tulajv.se does not work as I explained above. Is this enough information? If you visit the site right now I don't have publiccat activated since we need the wiki.. Thanks for your help! -[[User:Brynte|Brynte]] 11:42, 18 December 2007 (NZDT) |
Revision as of 22:42, 17 December 2007
I have my wiki in www.domain.com/wiki. How do I make publiccat work here where the wiki is placed in a subcatalogue? -Brynte 04:04, 14 December 2007 (NZDT)
- What do you mean by subcatalogue? (subdirectory? subdomain?) --Nad 08:21, 14 December 2007 (NZDT)
- Oh, subdirectory, sorry. -Brynte 02:03, 15 December 2007 (NZDT)
- Ehm. I meant directory. (English is not native.) -Brynte 03:52, 15 December 2007 (NZDT)
- It shouldn't matter what directory path your installation is at - what exactly are you needing to do and what are the symptoms of the problem? --Nad 09:37, 15 December 2007 (NZDT)
- I'm trying to get publiccat to work. The public pages works fine at www.domain.com/wiki. I can also access a very simple start page at wiki.domain.com but all links go to '404 Not Found'-pages. -Brynte 12:28, 16 December 2007 (NZDT)
- You should not get any 404's from the "wiki" subdomain - are they occurring in "wiki" or "www" or both? --Nad 09:25, 17 December 2007 (NZDT)
- As I said www.domain.com/wiki works fine but not wiki.domain.com or wiki.domain.com/wiki or whatever. -Brynte 12:57, 17 December 2007 (NZDT)
- Did you set $wgPublicCatPrivatePattern to anything or leave it as default? --Nad 13:42, 17 December 2007 (NZDT)
- I set it to the wiki directory name. -Brynte 19:42, 17 December 2007 (NZDT)
- Youre not making it easy for me to help, what exactly is $wgPublicCatPrivatePattern set to? --Nad 21:00, 17 December 2007 (NZDT)
- Ok, sorry, I'll try better. My domain is www.tulajv.se and the wiki is in a directory called 'aiwiki'. That is: www.tulajv.se/aiwiki. Without publiccat www.tulajv.se/aiwiki and tulajv.se/aiwiki works fine. Not aiwiki.tulajv.se though. With publiccat and the $wgPublicCatPrivatePattern set to aiwiki: $wgPublicCatPrivatePattern = '/^aiwiki\\./'; that is. www.tulajv.se/aiwiki works as it should. All the articles in [[Kategori:Hemsidan]] are shown and all other pages show 404. Trouble is that aiwiki.tulajv.se does not work as I explained above. Is this enough information? If you visit the site right now I don't have publiccat activated since we need the wiki.. Thanks for your help! -Brynte 11:42, 18 December 2007 (NZDT)
- Youre not making it easy for me to help, what exactly is $wgPublicCatPrivatePattern set to? --Nad 21:00, 17 December 2007 (NZDT)
- I set it to the wiki directory name. -Brynte 19:42, 17 December 2007 (NZDT)
- Did you set $wgPublicCatPrivatePattern to anything or leave it as default? --Nad 13:42, 17 December 2007 (NZDT)
- As I said www.domain.com/wiki works fine but not wiki.domain.com or wiki.domain.com/wiki or whatever. -Brynte 12:57, 17 December 2007 (NZDT)
- You should not get any 404's from the "wiki" subdomain - are they occurring in "wiki" or "www" or both? --Nad 09:25, 17 December 2007 (NZDT)
- I'm trying to get publiccat to work. The public pages works fine at www.domain.com/wiki. I can also access a very simple start page at wiki.domain.com but all links go to '404 Not Found'-pages. -Brynte 12:28, 16 December 2007 (NZDT)
- It shouldn't matter what directory path your installation is at - what exactly are you needing to do and what are the symptoms of the problem? --Nad 09:37, 15 December 2007 (NZDT)
- Ehm. I meant directory. (English is not native.) -Brynte 03:52, 15 December 2007 (NZDT)
- Oh, subdirectory, sorry. -Brynte 02:03, 15 December 2007 (NZDT)