Menu

.htaccess include path setup

Anonymous
2004-09-13
2013-04-17
  • Anonymous

    Anonymous - 2004-09-13

    Hi,

    I installed your program and was able to get it functioning by copying the genieConfiguration.inc.php into my global include directory. I really don't want to have this setup this way but I was unable to make the htaccess file work.

    My guess is that I have the http.conf file setup incorrectly to process the htaccess file. What should this be set to?

    Current setup:
    AllowOverride none
    AccessFileName .htaccess

    If I have this right then something else is wrong.

    Thanks,
    Bill

     
    • Nilesh Dosooye

      Nilesh Dosooye - 2004-09-13

      in my apache.. i have it set up to AllowOverride all for it to process .htaccess... you can set up a <Directory> level configuration and se the AllowOverride all just for ur PCG directory if you dont want to make it global..

       
      • pcoovert

        pcoovert - 2004-11-18

        When I try to run the code generated with phpCodeGenei I get the following error:

        Warning: main(website.conf.php): failed to open stream: No such file or directory in /srv/www/htdocs/newsite/website/web/index.php on line 2

        I am running SuSe 9.1 Linux with Apache2. I have set up an .htaccess file in the  root directory as follows:

        php_value include_path "/srv/www/htdocs/newsite/website/include/"

        and it has had no effect on the problem at all.

        AllowOverride is set to all
        AccessFileName is set to .htaccess

        Can anyone help me

         
    • Anonymous

      Anonymous - 2004-09-13

      Nilesh,

      That did it. I may take some time to get the correct directive working so that I don't have everything turned on but this seems to have corrected my immediate issue.

      Thanks for the help,
      Bill

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.