Hello I am new on q2a. I am a student and I have a project for school. I want run q2a on webserver on virtualbox . I install ubuntu server on virtualbox as guest and install LAMP on it.i can ping from host to guest or guest to host. When I enter ip address guest machine in firefox broswer on hast machine everything is ok apache is ok.i make a database on mysql with blowe information:
database name “QandA”
user of database “ali”
password for QandA database “dddd”
I download q2a 1٫7 and go step by step on this guide:
1. Create a MySQL database.
2. Create a MySQL user with full permissions for that database.
3. Rename this file to qa-config.php.
4. Set the above four definitions and save.
5. Place all the Question2Answer files on your server.
6. Open the appropriate URL, and follow the instructions.
My content qa-config.php file:
======================================================================
THE 4 DEFINITIONS BELOW ARE REQUIRED AND MUST BE SET BEFORE USING!
======================================================================
For QA_MYSQL_HOSTNAME, try '127.0.0.1' or 'localhost' if MySQL is on the same server.
For persistent connections, set the QA_PERSISTENT_CONN_DB at the bottom of this file; do NOT
prepend the hostname with 'p:'.
*/
define('QA_MYSQL_HOSTNAME', '192.168.93.103');
define('QA_MYSQL_USERNAME', 'ali')th;
define('QA_MYSQL_PASSWORD', 'dddd');
define('QA_MYSQL_DATABASE', 'QandA');
I transfer content question2answer-1.7 directory to this path on my webserver on guest machine
/var/www/html
now I enter ip address guest machine in firefox host machine exaclly like this
http://192.168.93.103/question2answer
but dosen't happening . Q2a doesnt work.q2a give me error on firefox
Not Found
The requested URL /question2answer was not found on this server.
Apache/2.4.7 (Ubuntu) Server at 192.168.93.103 Port 80