Search

Encountering errors on installation attempts (tried installing via git and .zip file -- same errors both times).

After apparent successful execution of the install script, server responds with a 403 forbidden error (url: [mydomain.com]/symphony/).

Error log says the following:

[Mon Aug 22 19:40:51 2011] [error] [client 10.0.0.200] Directory index forbidden by Options directive: /var/www/html/sycms/symphony/, referer: http://sycms.rubystudio.com/install.php

More details: Files appear to be in place under install directory. I'm using Apache -- all files/dirs owned by apache.

root dir, symphony, and workspace dirs set to 775.

mysql tables appear to've been successfully created.

My guess is something's causing .htaccess and/or mod_rewrite to break. Can anyone provide any insight?

Thanks, CS

Remove the -Indexes from the .htaccess and see how that goes. I'm not sure why that's locked down, it's a security enhancement to prevent people browsing your directories.

Brendo, Thanks for the suggestion, but problem still persists. Frustrating -- can't put my finger on the actual cause of the problem

Could it be an error in the .htaccess due to a sub-domain being used?

/var/www/html/sycms/symphony/

http://sycms.rubystudio.com/install.php

Thanks for the suggestion, Kalvind, but that's apparently not the problem. I reconfigured httpd to test with a non-subdomain -- same problem.

Would appreciate any suggestions before throwing in the towel.

Can you run any PHP website on this server with a .htaccess?

Googling seems to think something about the vhosts setup.

What server are you running?

Brendo, I'm using Apache 2, and the domain in question is being served as a virtual host.

I'm able to run PHP scripts -- in fact, the install.php script appears to execute successfully -- and expected files/db initialization appear to do what they're supposed to do. The problem occurs just after install, when the script forwards the browser to /symphony -- results in a 403 error. I suspect something's going on with mod_rewrite, but I'm stuck here. Can you point me to the information you found on virtual host issues?

Thanks!

Thanks, Brendo. I think the server may be responding properly in the circumstances -- it's delivering the 403 error because I'm attempting to access a directory (/symphony) that doesn't have an index file (and directory browsing is disabled).

Which leads me to an obvious question I should've asked in the first post: should there be an index file (eg. index.php) in /symphony? If so, then I have an installation problem. Currently, there are four directories under symphony (assets, content, lib, and template) -- no index.php.

Solved it. Turns out I'm a bit of a dunce -- had to modify the Apache configuration: in httpd.conf, in the <Directory "/var/www/html"> section, changed "AllowOverride None" to "AllowOverride All" -- this allows .htaccess settings to override Apache config.

Should've resolved the issue sooner, but I'm unschooled in the vagaries of htaccess -- I've been conditioned to prefer adjustments to Apache config over htaccess -- in fact, I intend to move Symphony's .htaccess config into httpd.conf at some point.

Anyway, thanks for all the suggestions. On to the XSLT tutorials.

Best, CS

I'm glad you got it sorted :)

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details