How exatly would i add this to the .htacces file?
Do i need to add any thing before or after it?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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/
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
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
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/