Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

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

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

internal server error during installation - Invalid command 'DirectorySlash'

Go to End

3 Posts   2234 Views


Community Member, 23 Posts

31 July 2008 at 10:02pm

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” ?




Community Member, 23 Posts

4 August 2008 at 11:28pm

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

perhaps this information will be of use to someone.

Its great to get this impressive CMS working


Community Member, 134 Posts

17 September 2008 at 8:31pm

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