Edit: I've confirmed that my webserver's DocumentRoot is pointing to var/www where all of my CRM files are.
Just to get this out of the way: I have been thrown under the bus, they know I don't know Ubuntu at work but they need this issue fixed for a new client. So please, no lecturing.
Fast forward...
I have a client running Ubuntu 16.04 LTS. They're running presumably LAMP, and a CRM called SuiteCRM; however, I can't access it. Even from the machine it's on.
When I try to go it: http://localhost/suitecrm
I get the following error:
Not Found
The requested URL /suitecrm was not found on this server.
Apache/2.4.18 (Ubuntu) Server at localhost Port 80
At first I thought maybe the LAMP services weren't started; however, I can go to localhost/phpmyadmin.
The files are in var/www... it has worked up until Friday.
Are there any suggestions you guys have for me to try? I'm lost, and I've been at this for hours.
Edit #2:
My 000-default.conf file:
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</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>
ProjectRootset to/var/www/in/etc/apache2/sites-available/000-default.conf? See here: https://askubuntu.com/questions/448944/where-to-place-my-local-website-starting-with-the-2-4-7-version-of-apache2 – Seth Nov 14 '16 at 00:11/var/log/apache2/error.logor some similar location? This might help explain where it is looking for the file. – thomasrutter Nov 14 '16 at 00:39[Sun Nov 13 18:40:12.601836 2016] [:error] [pid 29711] [client 127.0.0.1:48508] phpmyadmin: Failed to load /etc/phpmyadmin/config-db.php Check group www-data has read access and open_basedir restrictions., referer: http://localhost/phpmyadmin/– Thomas Hutton Nov 14 '16 at 00:41/var/www/SuiteCRM, it's not available underhttp://localhost/suitecrm, but should be underhttp://localhost/SuiteCRM. – Henning Kockerbeck Nov 14 '16 at 01:04/var/www/and not/var/www/html/? Since Apache 2.4.x, the default is/var/www/html, in contrast to/var/wwwfor earlier versions./var/www/htmlis also the default in Ubuntu 16.04. If SuiteCRM is installed in/var/www/suitecrm, but Apache "translates"http://localhost/suitecrmto/var/www/html/suitecrm, it would explain the error messages. It wouldn't explain why it worked before, though. Are other files in/var/www/found, maybe a/var/www/test.htmlashttp://localhost/test.html? – Henning Kockerbeck Nov 14 '16 at 01:22