My php or HTML pages wont preview on localhost server?
Posted: Wed Feb 13, 2013 8:00 am
I downloaded XAMPP- apache and tomcat. I installed them and both and MySQL is working fine. The apache service is installed and working fine with a check for "installed service", but the tomcat service has a x where should be a check for service working. When I try to load it as a service I get error the service was not (Un)installed. So think its in stalled but not sure.
Anyhow, when I try to open .php files in dreamweaver I get the following error, but for some reason the path in browser is http://localhost/TMP2m07ki5plg.php and not to the file v611 where the files are? [Full path should be C:/Applications/v611]
Not Found
The requested URL /TMP28usgi5v8o.php was not found on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 Server at localhost Port 80
If I type http://localhost or http://127.0.0.1 in Firefox I get the XAMPP window fine.
If I type http://localhost or http:// 127.0.0.1 in Chrome I get the Tomcat homepage
Please help
Anyhow, when I try to open .php files in dreamweaver I get the following error, but for some reason the path in browser is http://localhost/TMP2m07ki5plg.php and not to the file v611 where the files are? [Full path should be C:/Applications/v611]
Not Found
The requested URL /TMP28usgi5v8o.php was not found on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 Server at localhost Port 80
If I type http://localhost or http://127.0.0.1 in Firefox I get the XAMPP window fine.
If I type http://localhost or http:// 127.0.0.1 in Chrome I get the Tomcat homepage
Please help