DokuWiki clicking on link displays FORBIDDEN page - acl

I have searched the Forums and elsewhere for an answer... I'll keep researching but hoping that someone has run into this before...
I am using the latest download version of the “Closed” DokuWiki. I am building a Knowledgebase of forms and processes. I created a Start page and Menu page for all users to view, anything beyond that requires a login.
As admin, I can see all images and have access to all links. Click the link, the forms displays perfectly. (So no issue with capital letters or spaces).
However, when I login as a User, I can access all of the pages and see all of the text, but when I click on a link, the same Form as admin, instead of the form displaying in a new page, a new page is displayed with the word “Forbidden”.
So, I'm fairly sure it's an ACL issue. For example, I have the page “Office Administration” available to all Users. Do I need to somehow create a namespace or new page for all of the links, then give permission again? I was hoping that by making the page accessible to all users, this would also allow them the click on all of the links on that page as well??
How do I make the links accessible to all users? Image links are displayed to admin only. Not even registered users can view the images... text is fine... images show as broken links.
Appreciate any help you can offer! I have only been using DokuWiki for a couple of weeks but I am very happy with the results for far!

It was definitely an ACL (Access Control List) issue... so many settings...
I changed the Root* access to Upload and set the Start and Menu pages to Read only. From here on out it's setting permissions per user. whoo-hoo!

Related

Liferay distinguish between public and internal pages and hide/show them as needed

Situation
I want to create a Community-like Website/Portal with Liferay's Open Source Portal Software.
My issue right now is, I don't know how to realize a separated or partly divided site. It should be possible to have some pages before the login, to inform the possible future user and then after registration/login some internal pages which obviously shouldn't be visible to not registered users. The internal part is not much the problem, because I can just set the user permissions for the sites, so the "guest" users can not see them. But if I create pages for public guests, they also appear internally when logged in. But these ones should not be seen in the menu, but if I set the settings "hide page from navigation bar" they are also gone for the public area obviously.
Also I thought about organizing my site, it is anyways better to have it a bit structured so the internal part is separated from the outside part.
Possible Solutions
First I tried with the public and private pages, but unfortunately I came to no success. Maybe it is possible but if, then I did something wrong with them.
Another approach I have in mind would be using user roles/permissions, but I have not figured out how it could be done in an efficient way and I am also quite unsure if it is a good way how to achieve that. The problem is that every user inherits the permissions from "guest" so I cannot hide pages from them. I mean it would be enough to not have it on the internal navigation.
My last and maybe closest approach which could work, would be the community/organization mechanism, but unfortunately I couldn't find much information on that how one could achieve what I want to have.
I would be really glad if someone could help me with that?
New Approaches
What I would want to have is a "flag"/checkbox or something like "Hide Menu Button"(Internally/Externally -> Logged in user etc...), which I can check, what would cause the link to disappear.
I was thinking about maybe there could be a CSS style solution? Are there attributes in the navbar links of the pages which I could address and hide the links via CSS/jQuery? Like a "private" or "public" attribute or something?
The best way of doing it is using -
Public and Private pages. Public pages are visible to guest users and private only to members. In order for this to work you will have to code your theme accordingly.
Public pages will be still accessible to logged in users but you can hide them from the menu.
Tina
Looks like you want to hide 'public pages of a site' from internal users. Achieving this through permissions would be very difficult, if not impossible. You may want to try coding this logic in your theme's navigation.vm.
OR
If you still want to achieve this using Liferay configuration, try following steps:
Find your site from Control panel > Sites
Click "Manage Pages"
Do the following for each page under "Public pages"
Click on 'Permissions'
Remove 'View' permission for 'Site Member' role
I haven't tried this myself, but it should work.
I played around a bit and found a better pleasing solution now (better than hardcode something or change themes or anything).
I created two sites (not pages), where one has the "open" membership type and one the "private" membership type.
In the "open" site I create pages now which are for the public and not logged in user, so they are visible before the login.
The "private" site represents the "intern life" of the page, so I create the pages which only should be visible to logged in/registered users.
Now I create a site link/default landing page in the "open" site to the "private" site.
There are then only the internal sites visible for the users.
Don't mix that solution up with "public"/"private" pages, because these are working a bit different.
I like that solution way better, because then I can split concerns between the outer and inner "world".
If someone has an even better way of doing that, I would be glad to hear that :)
Until then, I hope maybe I could also help others with that.

mailchimp signup form leads to 404

I have a mailchip signup form in the footer of my site. I've noticed recently that after trying to signup, the user is greeted with a 404:page not found error reading:
MailChimp It seems the page you were looking for has disappeared We’ve
recorded this vanishing act and our team of chimp magicians will find
the missing link.
The form worked perfectly on my old site, I'm not quite sure why it's suddenly stopped- I didn't change anything but the styling.
When you create your MailChimp subscribe form, you have the option to specify your own Thank You page that users are sent to after they subscribe:
http://kb.mailchimp.com/article/can-i-design-and-host-my-own-thank-you-pages-instead-of-using-mailchimps/
Are you sure that MailChimp isn't trying to redirect your users back to a Thank You page of your own... that no longer exists on your end?
Regardless, I'd recommend going through the steps on that page to create a new subscribe form from scratch, specify the options including the Thank You page that you want to use, and place the new embed code in the footer of your website. That should fix whatever is currently broken.
your question is broad,It may have multiple reasons:
1: Compare your old code and new code and see difference if any malicious code is written (includes other pages or script that leads to errors)
2: Check if the Signup page (abc.html etc) file is present on the server and not deleted/Renamed during deployment. Also check nested pages that are included as headers/ footers
3: Some times files are placed in the wrong directory. Make sure particular file is placed at the required location.
please specify what type of page is it and called from which source (JSP/simple html etc).

How to find the parent page of a webpage

I have a webpage that it cannot be accessed through my website.
Say, my website is www.google.com and the webpage that I cannot access using the website is like www.google.com/iamaskingthis/asdasd. This webpage appears on the google results when I type its content, however there is nothing which sends me to that page on my website.
I've already tried analyzing the page source to find its parent location but I can't seem to find it. I want to delete that page, but since I cannot find it, I can't destroy it either.
Thank you
You can use a robots.txt file to prevent search engine bots from visiting a page, and thus not showing search results for it.
For example, you can create a robots.txt file in the root of your website and add the following content to it:
User-agent: *
Disallow: /mysecretpage.html
More details at: http://www.robotstxt.org/robotstxt.html
There is no such concept as a 'parent page'. If you mean, by which link Google found the page, plese keep in mind, that it need not be under your control: If I put a link to www.google.com/iamaskingthis/asdasd on a page on my website and thegooglebat crawls it, it will know about it.
To make it short: There is no reliable way of hiding a page on a website. Use authentication, if you want to restrict access.
Google will crawl the page even if the button is gone, as it already has the page stored in it's records. The only way to disallow google crawling to it is either robots.txt or simply deleting it off the server (via FTP or your hostings control panel).

Facebook share link content

I have a share button on my website, I understand that the link is www.facebook.com/share.php?u=myurl. And everything works fine, but how do what it says when you click it, right now it shows my website and then "Coming Soon - Future home of something quite cool"... I did try adding &t=mytitle but nothing changed. Bellow is a screenshot. Thank you.
I'll start with informing you that the facebook "sharer" has been deprecated and is no longer supported as it states here:
The Share button has been deprecated in favor of the Like button, and
will no longer be supported. Please use the Like button whenever
possible to drive maximum traffic to your apps.
And here:
What happened to the old Share button?
We deprecated the Share Button when we launched the Like button,
because the Like button improves clickthrough rates by allowing users
to connect with one click, and by allowing them to see which of their
friends have already connected.
You should use the Like or Send buttons instead.
As for the content that is being presented in the feed, you can control that by adding open graph tags to the page you wish users to share, when facebook crawls your page it extracts those tags and creates the feed story.
In order to debug and see how facebook "sees" your page you can use the Facebook Debugger which will also clear the cache facebook already has for your page.

Mediawiki: configuring the entry page, adding a new page

Have a wiki installed in our organization, and want to start using it.
Failed to find the answers for the next 2 basic questions:
How do I configure the entry page to show a list of all existing pages
How do I create a new page (!). Only succeeded doing it by typing a url of an non existing page. Guess there are nicer methods for this
Thanks
Gidi
For how to show a list of all pages, look at DynamicPageList, which is part of MediaWiki. (There's a more advanced third-party version, but it's not needed for such a simple task.)
Creating a new page really is exactly as you said: Type a URL and save some edits. Most beginning editors will edit a link into a page, and then use that link to browse to the page, so that they don't accidentally forget the spelling and lose the page to the Ether. (Of course it would show up in the recently edited and other special pages.)
This is more of a webapps.stackexchange.com question though.