Re: [xwiki-users] robots.txt not found

2016-05-02 Thread Jack
^/((bin|resources|skins|rest|webdav|xmlrpc|wiki|webjars)/(.*)|robots\.txt)$
   
 it is working!

You are really a warm-hearted person. Thank you!
 
From: Clemens Klein-Robbenhaar [via XWiki]
Date: 2016-05-03 01:29
To: Jack
Subject: Re: robots.txt not found
> Deploy the XWiki Enterprise 8.0 WAR , install in Tomcat 8 
> According to this article 
> http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs  make 
> http://localhost:8080/xwiki/bin/view/Main/ as http://localhost:8080/Main/
> I remove tomcat ROOT folder,copy xwiki war and rename ROOT 
> now I have a question: 
> I put robots.txt in /ROOT,then I found that http://localhost:8080/robots.txt  
> file not found. 
> I found that web.xml has redirect,so I put 
>  
> default 
> /robots.txt 
>
> also not use. 
> 
> now , i need romove web.xml  redirect Related configuration file? 
> 

The problem is that the webapp thinks you want to display a Wiki space named 
"robots.txt" 

You likely need to adapt the URL rewrite, i.e. this part: 

 http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs#HUrlRewriteFilter

There is the list of static urls, near the comment: "Ensure that URLs that must 
not be served by the Struts Servlet are not modified" 

You should be successful if you add /robots.txt as a special case here, like: 

^/((bin|resources|skins|rest|webdav|xmlrpc|wiki|webjars)/(.*)|robots\.txt)$
 


at least I hope it works that way; I have to admit I did not check if it really 
works. 



> 
> 
> 
> -- 
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/robots-txt-not-found-tp7599302.html
> Sent from the XWiki- Users mailing list archive at Nabble.com. 
> ___ 
> users mailing list 
> [hidden email] 
> http://lists.xwiki.org/mailman/listinfo/users
> 

___ 
users mailing list 
[hidden email] 
http://lists.xwiki.org/mailman/listinfo/users




If you reply to this email, your message will be added to the discussion below:
http://xwiki.475771.n2.nabble.com/robots-txt-not-found-tp7599302p7599303.html 
To unsubscribe from robots.txt not found, click here.
NAML 




--
View this message in context: 
http://xwiki.475771.n2.nabble.com/robots-txt-not-found-tp7599302p7599307.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] robots.txt not found

2016-05-02 Thread lilihongbeast
11



lilihongbeast
 
From: Jack
Date: 2016-05-02 23:38
To: users
Subject: [xwiki-users] robots.txt not found
Deploy the XWiki Enterprise 8.0 WAR , install in Tomcat 8
According to this article
http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs  make 
http://localhost:8080/xwiki/bin/view/Main/ as http://localhost:8080/Main/
I remove tomcat ROOT folder,copy xwiki war and rename ROOT
now I have a question:
I put robots.txt in /ROOT,then I found that http://localhost:8080/robots.txt 
file not found.
I found that web.xml has redirect,so I put 

default
/robots.txt
  
also not use.
 
now , i need romove web.xml  redirect Related configuration file?
 
 
 
 
--
View this message in context: 
http://xwiki.475771.n2.nabble.com/robots-txt-not-found-tp7599302.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] robots.txt not found

2016-05-02 Thread Clemens Klein-Robbenhaar
> Deploy the XWiki Enterprise 8.0 WAR , install in Tomcat 8
> According to this article
> http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs  make 
> http://localhost:8080/xwiki/bin/view/Main/ as http://localhost:8080/Main/
> I remove tomcat ROOT folder,copy xwiki war and rename ROOT
> now I have a question:
> I put robots.txt in /ROOT,then I found that http://localhost:8080/robots.txt 
> file not found.
> I found that web.xml has redirect,so I put 
> 
> default
> /robots.txt
>   
> also not use.
> 
> now , i need romove web.xml  redirect Related configuration file?
> 

The problem is that the webapp thinks you want to display a Wiki space named 
"robots.txt"

You likely need to adapt the URL rewrite, i.e. this part:

 http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs#HUrlRewriteFilter

There is the list of static urls, near the comment: "Ensure that URLs that must 
not be served by the Struts Servlet are not modified"

You should be successful if you add /robots.txt as a special case here, like:

^/((bin|resources|skins|rest|webdav|xmlrpc|wiki|webjars)/(.*)|robots\.txt)$


at least I hope it works that way; I have to admit I did not check if it really 
works.



> 
> 
> 
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/robots-txt-not-found-tp7599302.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> 

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] robots.txt not found

2016-05-02 Thread Jack
Deploy the XWiki Enterprise 8.0 WAR , install in Tomcat 8
According to this article
http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs  make 
http://localhost:8080/xwiki/bin/view/Main/ as http://localhost:8080/Main/
I remove tomcat ROOT folder,copy xwiki war and rename ROOT
now I have a question:
I put robots.txt in /ROOT,then I found that http://localhost:8080/robots.txt 
file not found.
I found that web.xml has redirect,so I put 

default
/robots.txt
  
also not use.

now , i need romove web.xml  redirect Related configuration file?




--
View this message in context: 
http://xwiki.475771.n2.nabble.com/robots-txt-not-found-tp7599302.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Changing the app name in App Within Minutes

2016-05-02 Thread Rochlin Oleg
Hello there. 

I´ve got some questions about xwiki blog. Currently blog is being used by 
internal and also external user. some information should not be read by 
externals. Is it possible to decide right access for every  single post? 

Thanks,

Oli
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Changing the app name in App Within Minutes

2016-05-02 Thread Clemens Klein-Robbenhaar

I have not tested with XWiki 6.0, but is it not possible to edit the start page 
of the app e.g. in the wiki editor and set the title to whatever you want ?
(Admittedly the title input field is not shown in the AWM-Editor that comes up 
as default when clicking on edit)

Clemens


- Ursprüngliche Nachricht -
From: Dullfig
On:  Friday, 29.04.2016, 19:48
To: XWiki Users
Subject: [xwiki-users] Changing the app name in App Within Minutes


Hello:

I am using XWiki 6.0, and App Within Minutes. I have created several apps
that work fine. I can already customize the view and edit sheets and things
like that. But I don't like that AWM forces the home page to be called
{space} 'Home'. I'd like to change the behavior. There is an object of class
AppWithinMinutes.LiveTableClass which apparently is the hook for AWM to
display the home page. But I can't see in the LiveTableViewSheet where on
earth the space name is set! Where is the word 'Home' coming from? I tried
changing the Translations page (it contains the word 'Home') but that
doesn't fix it!!

Help!

Dan

ps.: I wanted to add a field to the LiveTableClass to hold the name of the
app. not sure if that would break anything.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Changing-the-app-name-in-App-Within-Minutes-tp7599288.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users