-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, 4 Apr 2011 10:09:04 -0700 (PDT) Rich Shepard
<[email protected]> wrote:
>
> My development version of CMS Made Simple is in /var/www/htdocs/cmsms.
> When I try to access it firefox displays a 'page not found' error.
> /var/log/httpd/error_log has nothing more:
>
> 127.0.0.1 - - [04/Apr/2011:09:53:57 -0700] "GET /cmsms/index.php HTTP/1.1"
> 404 195
>
> The software suite includes httpd-2.2.17, php-5.2.17 (recompiled to
> support postgres rather than mysql), postgresql-9.0.3, and
> cms-made-simple-1.8.2.
>
> In /var/www/htdocs/ is an executable info.php that calls <?php phpinfo();
> ?>. But, running this results in an error:
> ./info.php: line 1: syntax error near unexpected token ('
> ./info.php: line 1: <?php phpinfo(); ?>'
>
> Where do I start looking for the source of this error? Seems strange to me
> that phpinfo() won't run.
>
You might start with your /etc/rc.d/init.d/httpd file and find out where
your httpd.conf file is located, i.e., look for a line like:
httpdconf=${HTTPDCONF:-"-f /etc/httpd/conf/httpd.conf"}
Then, look in your httpd.conf file for the DocumentRoot directive.
In your case that *should* read:
DocumentRoot "/var/www/htdocs"
If not, there's your problem. If that's correct, I'm out of ideas.
HTH,
Robert
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk2ajPgACgkQ+qYMIUkNJCw9WQCdE8Le6LC7Euxnfa41OveFfgSO
ZNIAn0Z54EyPzd+gUwA/rqU+AWCrCbsp
=FEzb
-----END PGP SIGNATURE-----
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug