Page 1 of 2

IIS to Apache

PostPosted: 26. March 2007 13:02
by jimholmes
Hello,

I have just installed the package for windows, as I couldn't take any more disappointment trying to get IIS to work with mysql - now I have it all installed but can't see any web pages from it :-(

As I has a previous installation of IIS, my doc root is inetpub/www
but although I changed that in the httpconf file, it still won't serve any pages??

Any ideas?

Thanks one and all

Jim

PostPosted: 26. March 2007 13:18
by Wiedmann
it still won't serve any pages

Why not?
- error message
- error.log

PostPosted: 26. March 2007 13:22
by jimholmes
Object not found!

The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

If you think this is a server error, please contact the webmaster.
Error 404
localhost
03/26/07 13:21:44
Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8d mod_autoindex_color PHP/5.2.1

PostPosted: 26. March 2007 13:31
by Wiedmann
Fine, that's the error message. What's about the error.log?

PostPosted: 26. March 2007 13:39
by jimholmes
Sorry - I no idea where that would be..

PostPosted: 26. March 2007 13:40
by jimholmes
found it!
[Mon Mar 26 13:21:44 2007] [error] [client 127.0.0.1] File does not exist: C:/Program Files/xampp/htdocs/hills

PostPosted: 26. March 2007 13:41
by jimholmes
so why is it still looking for the docs there??

PostPosted: 26. March 2007 13:43
by jimholmes
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "C:/inetpub/wwwroot"

PostPosted: 26. March 2007 13:50
by Wiedmann
Code: Select all
DocumentRoot "C:/inetpub/wwwroot"

File does not exist: C:/Program Files/xampp/htdocs/hills

You have changed the correct "httpd.conf" and restarted Apache?

PostPosted: 26. March 2007 14:00
by jimholmes
yep.... tried several times and re-booted too just in case...

PostPosted: 26. March 2007 14:05
by Wiedmann
For a test:
Can you open phpinfo() and look in the output for the DOCUMENT_ROOT value?

PostPosted: 26. March 2007 14:06
by jimholmes
interesting...restarted again...just got a different error message:

Access forbidden!

You don't have permission to access the requested object. It is either read-protected or not readable by the server.

If you think this is a server error, please contact the webmaster.
Error 403
localhost
03/26/07 14:05:17
Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8d mod_autoindex_color PHP/5.2.1

PostPosted: 26. March 2007 14:07
by Wiedmann
error.log?

PostPosted: 26. March 2007 14:08
by jimholmes
can't even open the admin page now:

Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.

If you think this is a server error, please contact the webmaster.

Error 403
localhost
03/26/07 14:08:31
Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8d mod_autoindex_color PHP/5.2.1

PostPosted: 26. March 2007 14:09
by jimholmes
[Mon Mar 26 14:05:17 2007] [error] [client 127.0.0.1] client denied by server configuration: C:/inetpub/wwwroot/hills/concrete_home.php