9 November 2010 at 4:37pm
I am trying out silverstripe, and downloaded the file and extracted to my local server. I do not want it in the server root, as I have other projects there, but rather in its own subdirectory. When I do that, I cannot even see the silverstripe directory in the browser, and if I try to go to the silverstripe subdirectory I get a 500 error.
If I rename the .htaccess file to something else, the directory shows up and I can get to the framework installation page. So it is obviously a setting in the .htaccess file that is the problem. What do I need to change in the .htaccess file to allow silverstripe to work in this setup? I'm running apache under linux.
10 November 2010 at 1:30am
The SilverStripe default installation relies on URL Rewriting. It seems like your server doesn't like url-rewriting (mod_rewrite) directives in the .htaccess file. Maybe you should check first if your server is configured in a way that url-rewriting via .htaccess is allowed?
10 November 2010 at 7:30am
(Last edited: 10 November 2010 8:06am),
Thanks. mod_rewrite was loaded, but I had to add the following:
to my httpd.conf file
Although now I can't upload any files, and silverstripe doesn't recognize the png files I manually put in the Uploads directory. Found a thread on the upload issue that involves a patch (over my head what they are talking about), looks like I'll be trying another CMS. Silverstripe looked promising. ..sigh..
10 November 2010 at 9:11pm
Sorry to hear that SilverStripe didn't meet your expectations. I have never encountered that PNG issue and I installed SilverStripe on multiple machines already...
Btw.: You can manually add files to the "Upload" folder. After adding the files, you'll have to go to the Files & Images tab in the CMS and press the "Look for new files" Button.