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, biapar, Willr, Ingo, simon_w

internal server error during installation - Invalid command 'DirectorySlash'


Reply


3 Posts   1903 Views

Avatar
michaelhmm

Community Member, 23 Posts

31 July 2008 at 10:02pm

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

Avatar
michaelhmm

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
</IfModule>

perhaps this information will be of use to someone.

Its great to get this impressive CMS working

Avatar
joelg

Community Member, 129 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...

Joel