Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » .htaccess REQUEST_URI

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 2359 Views
  • vevmesteren
    Avatar
    7 Posts

    .htaccess REQUEST_URI Link to this post

    I think I have tracked this problem that I am having.
    I am currently with 1and1.com where I have a hosting package that permitted me to install silverstripe. But, now I keep on getting 404s when trying to access the silverstripe dir. The database was created, and the filestructure seems to be inplace. But it seems that the URL that silverstripe thinks it is one is not the correct. Is there a way for me to globally modify my base URL like one can in a Wordpress blog administration?

    Thank you

    V

  • vevmesteren
    Avatar
    7 Posts

    Re: .htaccess REQUEST_URI Link to this post

    Maybe it is not the REQUEST_URI, but it something like it. I found that the silverstripe thinks that the files are stored under /kunden/homepages/25/d210714655/htdocs/silverstripe/, which I guess probably is right when wanting to access the files on the server, but not via the URL as the virtual directory points directly to the htdocs. So I just need it to be set to silverstripe, short and sweet. How would I be able to do that?

    thanks

  • vevmesteren
    Avatar
    7 Posts

    Re: .htaccess REQUEST_URI Link to this post

    anyone? Please? I really want to start exploring silverstripe, but cannot for the moment...

    V

  • Andy
    Avatar
    230 Posts

    Re: .htaccess REQUEST_URI Link to this post

    Try changing the $baseDir on line 39 of Manifest builder, as in this thread: http://www.silverstripe.com/bugs/flat/2837?start=8.

  • Tim
    Avatar
    Core Development Team
    201 Posts

    Re: .htaccess REQUEST_URI Link to this post

    Should we set this variable in a more global configuration file for future releases?

    2359 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.