Hello,
I installed phpmyfaq in folder /home/www/phpmyfaq and did the follow settings in /etc/httpd/conf/httpd.conf:
DocumentRoot "/home/www/phpmyfaq"
<Directory "/home/www/phpmyfaq">
So far all is working fine !!
Now I want to establish a 2nd project in /home/www/ip_db and I want to configure /home/www/index.html to
point to the 2 projects as follow:
<td align="center"><a href="phpmyfaq"><img src="images/faq.jpeg" width="200" height="200" alt="FAQ"></a></td>
<td align="center"><a href="ip_db/login.php"><img src="images/network.jpeg" width="200" height="200" alt="IP Management"></a></td>
Therefore I changed /etc/httpd/conf/httpd.conf as follow:
DocumentRoot "/home/www"
<Directory "/home/www">
Unfortunately this does not work for phpmyfaq because all images are missing and there is not format, so only text information.
I guess I have to define $SERVER['DOCUMENT_ROOT'] somewhere in phpmyfaq.
Any ideas?
How to define DocumentRoot for different project
Moderator: Thorsten
Re: How to define DocumentRoot for different project
Hi,
we don't use the document root for phpMyFAQ, I think there's something else what's misconfigured.
bye
Thorsten
we don't use the document root for phpMyFAQ, I think there's something else what's misconfigured.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist