I have installed apache 1.3 on a windows 2003 server platform. I have set up moodle as well but I cannot access moodle remotely.
I have checked the config file in apache, changed the relevant settings, changed the IP address of the server in the apache config file, changed the permissions.....but still apache gives me a forbidden response whenever I try to access localhost, ie: moodle.
Anyone had similar problems?
A solution to this problem would be most helpful.
haven't looked at moodle in a little while but another thing might be to change the httpd.conf so that it also initially looks for an index.php instead of index.html (assuming moodle has a php start to it).
also maybe look at the apache logs after trying to access it as there maybe a more detailed error message in there.
what are the permissions on the index file?
does a phpinfo.php work in the same directory?
also maybe look at the apache logs after trying to access it as there maybe a more detailed error message in there.
what are the permissions on the index file?
does a phpinfo.php work in the same directory?
This is more a question for the Installation problems forum, but...
Have you thought about installing something like EasyPHP - this saves a hell of a lot of grief with getting the setup right.
However as Matthew says - a 'vanilla' install of Apache won't work without some modification - the main thing is to search for DirectoryIndex in httpd.conf, it should at least look like:
DirectoryIndex index.php index.html
...you will certainly have to add the index.php one. Also make sure the folder from which web pages are served is readable by the web server. In Windows the file is probably Read/Write by everyone as default so this is probably not the problem.
Have you thought about installing something like EasyPHP - this saves a hell of a lot of grief with getting the setup right.
However as Matthew says - a 'vanilla' install of Apache won't work without some modification - the main thing is to search for DirectoryIndex in httpd.conf, it should at least look like:
DirectoryIndex index.php index.html
...you will certainly have to add the index.php one. Also make sure the folder from which web pages are served is readable by the web server. In Windows the file is probably Read/Write by everyone as default so this is probably not the problem.