Thread: Won't Work
View Single Post
  #6 (permalink)  
Old 10-05-2007, 03:10 AM
marco marco is offline
Junior Member
 
Join Date: Oct 2007
Posts: 5
Default

Thank you for keeping in touch.
Here are my dir map and entries from some conf files assumed to be related to this problem:
Code:
/
      etc/
            httpd/
                  conf/
                        httpd.conf
            php.ini
      usr/
            lib/
                  php/
                        Zend/ (ZF libraries)
                              Acl/
                              Acl.php
                              etc.
                              etc.
                              ...
                        modules/
                        pear/
      var/
            log/
                  httpd/
                        access_log (Apache access log)
                        error_log (Apache error log)
                  php (PHP error log)
            www/
                  application/
                        controllers/
                              IndexController.php
                        models/
                        views/
                  html/
                        .htaccess
                        index.php


Lines are extracted from my /etc/httpd/conf/httpd.conf file that are possibly related:

LoadModule rewrite_module modules/mod_rewrite.so
DocumentRoot "/var/www/html"
<Directory "/var/www/html">
    Options Includes ExecCGI FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>


Also from my /etc/php.ini file:

include_path = ".:/usr/lib/php"


In the /var/www/html/.htaccess file are only these lines:

RewriteEngine on
RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php


The following lines have been added to top of the /var/www/html/index.php file:

<?php
require_once 'Zend/Controller/Front.php';
Zend_Controller_Front::run('/var/www/application/controllers');
?>
Reply With Quote