Cannot create config.php to change the wwwroot variable

Cannot create config.php to change the wwwroot variable

by fouzia imran -
Number of replies: 2

I have installed MOODLE 1.6 successfully on my machine. however I need to change its web address from 127.0.0.1 (localhost) so that it could be accessed on intranet and internet

i have appended http.config with the following code to create config.php and change the wwwroot but all in vain

# For PHP 5 do something like this:
LoadModule php5_module "c:/Documents and Settings/fouzia/My Documents/moodle/php/php5apache2.dll"
AddType application/x-httpd-php .php

# configure the path to php.ini
PHPIniDir "Cc:/Documents and Settings/fouzia/My Documents/moodle/php

 I'm at my wits end and need to get this up and running asap - where else can I change the defaults?  Or, what else might be causing this? 

Can any one help?

Fouzia

 

Average of ratings: -
In reply to fouzia imran

Re: Cannot create config.php to change the wwwroot variable

by Brett Drinkwater -
Fouzia,

If Moodle 1.6 is running correctly, you don't need to make any modifications to php.

You need to delve into your moodle root folder and edit the file, config.php

Go and read through the following forum post which will help you get moodle running on your intranet.

http://moodle.org/mod/forum/discuss.php?d=45086

Cheers
Brett
In reply to Brett Drinkwater

Re: Cannot create config.php to change the wwwroot variable

by fouzia imran -

Thanks a lot! worked for me

Fouzia