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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Installation question


Go to End


3 Posts   1395 Views

Avatar
nbc

17 Posts

19 September 2007 at 8:28am

Hi - I'm just trying out your software - see if I can rebuild my home website with it. But I'm getting stuck during the installation - where is the right place to ask questions about that? Please redirect me if necessary.

I am running Fedora 7. I have php and mysql installed correctly. I'm not a php expert by any stretch of the imagination tho. SilverStripe starts installing and then tells me that:

mod_rewrite is not enabled
AllowOverride for the current directory

But as far as I can tell, mod_rewrite is enabled and is working. And I don't know how to set the appropriate AllowOverride parameter - does that go in the /etc/httpd/conf/httpd.conf file? What should that look like?
The conf file has the "LoadModule ...mod_rewrite.so" and it is not commented out. I rebooted the machine
before I started the install so it should be there correctly. I tested it with a .htaccess file in another directory and got no errors or warnings...

Any help would be appreciated

Thanks,

nbc

Avatar
trevor

53 Posts

19 September 2007 at 8:39am

look for AllowOverride in your httpd.conf file if your just trying locally then you can set to AllowOverride All.

if its not there then add it in the <Directory /> section mines has this:-

<Directory />
Options Indexes FollowSymLinks
AllowOverride All
</Directory>

What this does from my limited knowledge is to allow the .htaccess file to set settings for that directory.
you also need to make sure that the line

AccessFileName .htaccess

is in your .conf file to

for further info google enable mod rewrite

HTH

Trevor

Avatar
nbc

17 Posts

20 September 2007 at 8:44am

That worked - the install succeeded. Thanks for the help...

nbc