Results 1 to 10 of 10

Thread: permission to access /share.php

  1. #1
    User
    Join Date
    09-15-09.
    Location
    Netherlands
    Posts
    37

    Default permission to access /share.php

    I just launched a website:http://www.mens-en-paard.nl(2.11.2) but as it looks now like I'm not be able to share it :cry:
    I'm using the share options Contao provides me. Print2pdf works fine, but as soon facebook and twitter are hit I get:
    Forbidden
    You don't have permission to access /share.php on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    I looked around a bit, but didn't found anything that helped. Found something about rights and upload the file again on German C-forum. That didn't do the trick. The url giving in the share.php file for facebook/twitter is ok. I'm having another website(2.10.4) at the same host. Buttons work fine here.
    Anybody like to share some ideas on this?

    Regards Atti

  2. #2
    User
    Join Date
    09-15-09.
    Location
    Netherlands
    Posts
    37

    Default Re: permission to access /share.php

    I noticed that if I remove a specific part of the created url it works fine.
    The original url which seems to fail :
    http://mens-en-paard.nl/share.php?p=facebook&u=http%3A%2F%2Fmens-en-paard.nl%2Fvoor-wie.html&t=Voor%3AKinderen%7CJongeren%7CIndividuel e%20coaching%7CTeams
    If I strip the red colored part it works.On my local wamp it also works fine :?
    Guesses anybody?

    Atti

  3. #3
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default Re: permission to access /share.php

    A wild guess; htaccess?

  4. #4
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default Re: permission to access /share.php

    ps, try the faulty link with htaccess renamed. If that solves disable all sections and reenable untill problem occurs.

  5. #5
    User
    Join Date
    09-15-09.
    Location
    Netherlands
    Posts
    37

    Default Re: permission to access /share.php

    Dank for thinking along Ruud I removed the htaccess but it didn't make any difference. Did the contao-check. That looks okay...

  6. #6
    User
    Join Date
    09-15-09.
    Location
    Netherlands
    Posts
    37

    Default Re: permission to access /share.php

    Did a different approach. My webhost provides a Contao-install thrue Installtron. I used this also for another site, and the share works here. I removed the old site, and restored the db-files and some specific files. :x Nada again

    I did the contao-check and was shocked by all the pinkies. Lots of triple sixxes and sevens! A remark offtopic; This isn't normal???

    So I guess something else is causing this sharing error? I'll try another installation at the same host, different shared webserver I guess. If this goes well I gues it's something with the host??

    Meanwhile suggestions r always welcome

  7. #7
    User
    Join Date
    09-15-09.
    Location
    Netherlands
    Posts
    37

    Default Re: permission to access /share.php

    This operation was succesfull :D
    I've sent a ticket to the servicedesk of the provider.

  8. #8
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default Re: permission to access /share.php

    I've seen an installation where mod_security prevents certain content and urls. Is there anything you can tell about the security? It seems to be with the address..

    The pinks probably warns about the 777, that is normal. But the auto install should create different permissions, though 777 will work. Not thinking you should have to worry much about that...

  9. #9
    User
    Join Date
    09-15-09.
    Location
    Netherlands
    Posts
    37

    Default Re: permission to access /share.php

    And that was indeed the cause of the problem! The provider changed the mod_security rules and the problem was solved. :D
    Thnx Ruud for the tip concerning the security, (actually the provider found the solution in your just placed reply 8-) )
    RegardZz
    Atti

  10. #10
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default Re: permission to access /share.php

    No problem. This is one of the rare problems I guess...

    En zo even naar de site zelf kijken, ik heb aardig wat ervaring met paarden. Gestopt met rijden omdat de paarden op de meeste plaatsen als gebruiksvoorwerpen worden gezien, of zo worden behandeld. En ik heb op meer dan 10 verschillende plekken gereden... Deze site richt zich wel op een ander aspect.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •