Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » internal server error during installation - Invalid command 'DirectorySlash'

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: 1835 Views
  • michaelhmm
    Avatar
    Community Member
    23 Posts

    internal server error during installation - Invalid command 'DirectorySlash' Link to this post

    Hi
    Trying to install Silverstripe on an Apache shared virtual hosting setup

    I get an internal server error with the following message in the log:


    /public_html/silverstripe/.htaccess: Invalid command 'DirectorySlash', perhaps mis-spelled or defined by a module not included in the server configuration

    Does this perhaps mean that the mod_dir which runs DirectorySlash is missing from the Apache setp? or could it be a problem with the ability to set rewriting rules in .htaccess files via “Allow Override” ?

    thanks

    Michael

  • michaelhmm
    Avatar
    Community Member
    23 Posts

    Re: internal server error during installation - Invalid command 'DirectorySlash' Link to this post

    hmm... not a lot of help coming through here. Have I posted in the wrong forum perhaps?

    I sorted this problem myself by simply removing the following lines from the .htaccess file installed by SilverStripe

    <IfModule mod_dir.c>
    DirectorySlash Off
    </IfModule>

    perhaps this information will be of use to someone.

    Its great to get this impressive CMS working

  • joelg
    Avatar
    Community Member
    129 Posts

    Re: internal server error during installation - Invalid command 'DirectorySlash' Link to this post

    Hi Michael

    It did help on one of my servers two. Of course it would be nice to know, what the thing does - by anyway, it works now...

    Joel

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