Menu

.htacces

Hilfe/Help
Anonymous
2002-02-23
2002-02-24
  • Anonymous

    Anonymous - 2002-02-23

    On the main page it tells you to do this if you cannot edit the .htacces file if we cannot edit the include path

    php_value include_path ".:phpopenchat-2.x/includes"

    How exatly would i add this to the .htacces file?
    Do i need to add any thing before or after it?

     
    • Anonymous

      Anonymous - 2002-02-24

      I did it in the following way:

      the structure of my directories:

      /doesn't matter
      |
      |- phpopenchat
      |- includes
      |- html
        |- admin
        |- chatmail
        |- forum
        |- images

      In the beginning, in these folders did not exist any file with name ".htaccess" . So I added 4 files with this name, all containing the relative path from their directories to the directory "includes".
      The only line, that my .htaccess file in the directory phpopenchat/html contains, looks like this:

      php_value include_path ".:../includes"

      The line of the other 3 files in the directories
      admin, chatmail and forum sound

      php_value include_path ".:../../includes"

      The order of some lines in the .htaccess file doesn't matter. The important thing is, that the line does not contain any other signs.

      Thx for your question, you gave me a hint for my own problem, as I forgot the .htaccess in the subdirectories forum and chatmail.

      Hope this instructions will help you.
      Good luck.

      joerg

       
    • Anonymous

      Anonymous - 2002-02-24

      oh, I see that the strucure of my direcories is shown in a misleading way. So again:
      /doesn't matter/
      *|- phpopenchat/
      **|- includes/
      **|- html/
      ***|- admin/
      ***|- chatmail/
      ***|- forum/
      ***|- images/

       

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.