I'm running OpenSuse 11.3 X64. I have installed apache2, PHP5 and MySQL in order to do some web-design offline - that is internal network use only. phpMyAdmin is also installed. The default directory for the "server" is /srv/www/htdocs.
To access a specific site in progress, I create a subfolder there then just navigate via http://10.13.23.201/NAMEOFFOLDER from my internal network.
At least that is how it should work but it doesn't. I created a new folder called wlc so it's directory is /srv/www/htdocs/wlc. However, when I navigate to the address http://10.13.23.201/wlc I get a Remote Server Or File Not Found error from my browser. There are files in the directory that should load, for example: index.php as Apache has been set to recognize *.php files.
I know my approach should work as I can access /srv/www/htdocs/phpMyAdmin by going to http://10.13.23.201/phpMyAdmin and it loads just fine. Also the error is different if I go to a folder that doesn't exist, for example, http://10.13.23.201/THISFOLERDOESNTEXISIT will return an Object Not Found error.
/etc/apache2/sites-enabledand verify that there is adefaultsite that maps to/srv/www/htdocs. It may be that phpMyAdmin may have a mapping just for itself. – hafichuk Nov 24 '11 at 4:43