Jump to:

23581 Posts in 19403 Topics by 2893 members

General Questions

SilverStripe Forums » General Questions » Problem viewing draft sites with mod_userdir

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 858 Views
  • smares
    Avatar
    Community Member
    25 Posts

    Problem viewing draft sites with mod_userdir Link to this post

    Hey guys, I am having some trouble viewing draft sites when SilverStripe is located in a user's home drive. Calling each page and appending "?stage=Stage" to the URL works, but not by clicking on "Draft Site" within the CMS. The apparent reason for this is that the URL does not contain "~user", but "%7Euser". My .htaccess is the default one with the addition of the following line in the mod_rewrite block:

    RewriteBase /~user/silverstripe2

    Whenever I click on "Draft Site", I get redirected to http://.../~user/silverstripe/Security/login?BackURL=%2F%257Euser%2Fsilverstripe%2Fabout-us%2F%3Fstage%3DStage which simply displays "You're logged in as xyz".

    Any ideas?

  • Borgopio
    Avatar
    Community Member
    14 Posts

    Re: Problem viewing draft sites with mod_userdir Link to this post

    Hi!

    I'm encountering the same issue! Did you solve your problem? Are you sure may be a mod_userdir problem?
    I'm suddenly logged out also if I try to click Live page from the CMS.

    It's a big pain and I cannot find any debugging suggest or similar issue...

  • smares
    Avatar
    Community Member
    25 Posts

    Re: Problem viewing draft sites with mod_userdir Link to this post

    Nope, and I no longer use SilverStripe.

  • RuthAdele
    Avatar
    Community Member
    19 Posts

    Re: Problem viewing draft sites with mod_userdir Link to this post

    I am also having a similar issue. If any mods have any idea what is going on here, I've love to hear your thoughts.
    We use Silverstripe for most of our clients, this has never happened before - and it is very concerning..

    858 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.