Page 1 of 1

"Permission denied" is thrown when tried to login after making WAMP offline

Posted: Fri Apr 17, 2009 12:33 pm
by ndevi
I installed CMSMadesimple with WAMP server online leaving the "CMS document root" in install step intact (it had my IP address and not localhost).Things worked fine after installation.

After some time i changed my WAMP server to offline. When i tried to login into CMSMadeSimple using http://localhost/cmsmadesimple/admin/login.php it throwed error "You don't have permission to access /cmsmadesimple/admin/login.php on this server"

Please help me out in accessing cmsmadesimple even when WAMP server is put to offline.

Thanks.

Re: "Permission denied" is thrown when tried to login after making WAMP offline

Posted: Fri Apr 17, 2009 12:52 pm
by alby
ndevi wrote: Please help me out in accessing cmsmadesimple even when WAMP server is put to offline.
What you mean "offline"?
- disconnetted your PC from internet? Change your IP to localhost in config.php
- shutdown server? start  ::)


Alby

Re: "Permission denied" is thrown when tried to login after making WAMP offline

Posted: Fri Apr 17, 2009 1:51 pm
by ndevi
Hi Alby,

Thanks.It worked :)

By OFFLINE , i meant making WAMP server OFFLINE(not disconnecting from network) so that the page cant be accessed from other machines in the network.

Re: "Permission denied" is thrown when tried to login after making WAMP offline

Posted: Fri Apr 17, 2009 2:12 pm
by RonnyK
The WAN ip-address or even domain should work as well, you should setup the hosts file then as well to reflect that it can be accessed on different ways.

I have hosts file running like

127.0.0.1 localhost my.domain.com

I always install on wamp using the my.domain.com, and no matter if I have wamp online/offline, it is accessible. But because of the my.domain.com it can be access from the outside as well.

Ronny