Hello,
I installed xGDB in a brand new Ubuntu LAMP server. I first met all the reqs and them proceed to install it. I answered all the questions, but I didn't understand the last one, so I leave it blank.
I also installed the demo data.
Here is the webserver an php version:
Apache/2.0.55 (Ubuntu) PHP/5.1.6 Server at 192.168.0.103
First problem: Virtual directory is not working. I type SERVER_IP/xGDBdemo and I get a 404.
Here is the relevant lines in the apache2.conf file:
==================================================================
#### XGDB-core configuration directives
Alias /XGDBhtml "/var/www/xgdb_1_0/XGDB/html_xGDB/"
Alias /XGDBjs "/var/www/xgdb_1_0/XGDB/javascripts/"
<Directory "/var/www/xgdb_1_0/XGDB/html_xGDB">
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
#### xGDBdemo configuration
Alias /xGDBdemo "/var/www/xgdb_1_0/xGDBdemo/html/"
Alias /xGDBdemo-chtml "/var/www/xgdb_1_0/XGDB/html_xGDB/"
ScriptAlias /xGDBdemo-cgi "/var/www/xgdb_1_0/XGDB/cgi-bin/"
<Directory "/var/www/xgdb_1_0/xGDBdemo/html">
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<LocationMatch "/xGDBdemo">
php_value include_path .::/var/www/xgdb_1_0/xGDBdemo/conf:/var/www/xgdb_1_0/XGDB/phplib
SetEnv PERL5LIB /var/www/xgdb_1_0/xGDBdemo/conf:/var/www/xgdb_1_0/XGDB/perllib:/var/www/xgdb_1_0/XGDB/perllib/DSO
</LocationMatch>
==================================================================
But I also have a file called default in /etc/apache2/sites-available
And I don't know it is OK:
==================================================================
NameVirtualHost *
<VirtualHost *>
ServerAdmin webmaster@localhost
DocumentRoot /var/www <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all \# Uncomment this directive is you want to see apache2's \# default start page \(in /apache2-default\) when you go to / \#RedirectMatch ^/$ /apache2-default/ </Directory> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory "/usr/lib/cgi-bin"> AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory> ErrorLog /var/log/apache2/error.log \# Possible values include: debug, info, notice, warn, error, crit, \# alert, emerg. LogLevel warn CustomLog /var/log/apache2/access.log combined ServerSignature On
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
When I go to the installed dir using the web browser (by following the links, I end up here: http://192.168.0.103/xgdb_1_0/xGDBdemo/html/\) I see this:
Warning: require(SITEDEF.php) [function.require]: failed to open stream: No such file or directory in /var/www/xgdb_1_0/xGDBdemo/html/index.php on line 2
Fatal error: require() [function.require]: Failed opening required 'SITEDEF.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/xgdb_1_0/xGDBdemo/html/index.php on line 2
I think there could be a path problem, specially because I leave blank the last question in the install.
Best regards,
SB.