I have installed LAMP following instructions from this site, I also installed apache2-example-page, the “It works” works great but when I changed /srv/www/htdocs/index.html to something else firefox said “could not establish connection”.
I have added apache2 to the firewall exceptions and I added it to /etc/sysconfig/SuSeFirewall2.conf but it still doesn’t work.
I tried konqueror so that I see if it is the browser, knoqueror didn’t work either so there must be another problem, what is it ?
ps: not only changing index.html doesn’t work, also I created test.php and put it in /srv/www/htdocs and I got the same error, I tried putting test.php in /srv/www/htdocs/mytest and still got the same error.
ok so I made a workaround and the problem was solved, phpMyAdmin.conf contained these lines
<Directory /srv/www/htdocs/phpMyAdmin/libraries>
Order allow,deny
Deny from all
</Directory>
on starting apache it was giving syntax errors on them so I commented them and it worked, but I doubt this is a good solution, why didn’t it recognize Order and Deny ? I tried changing Order to “order” and still gave the same syntax errors, it said maybe there are some modules needed.
Which version of phpMyAdmin did you install from where?
If it’s the package included in openSUSE, you should probably file a bug report.
This should just work on a default installation.
Is there a more robust solution ?
What do you mean with “more robust”?
Apparently you could enable the module “mod_access_compat” (with “a2enmod auth_compat”), then the “old” directives should be recognized again.
But this could also cause other problems I think.
Well, no idea whether you consider enabling the mod_access_compat (with “a2enmod access_compat”") a workaround…
I tried it over the weekend in a VM (I don’t use Tumbleweed myself) and it worked.
But it probably would be better to rather fix the phpMyAdmin package (i.e. make it compatible with the current Apache version, by using the new directives).