Softaculous


Topic : Ampps windows 8: Access Denied:


Posted By: choidk on March 17, 2014, 1:15 am
Access Denied: You dont have permissions to edit hosts file. Entry wont be added to host file.
I try to add new domain, but cant add to host file.
I open host file with Notepad (Run As admin), add 1 line for my domain. it word good.
How to fix auto add to host file in ammps.

Posted By: tidus on March 19, 2014, 8:59 am | Post: 1
Hi,

Disable UAC.


-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack

Posted By: choidk on March 19, 2014, 9:07 am | Post: 2
I disabled UAC, but it not work

Posted By: tidus on March 19, 2014, 9:51 am | Post: 3
Hi,

Try ignoring the warning and check it anyway. Check if it adds the entry or not in the hosts file.


-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack

Posted By: adeonir on February 19, 2015, 12:17 pm | Post: 4
Hi.

Same here.
UAC is disabled and the httpd-vhosts.conf file look like this:

Code
<VirtualHost 127.0.0.1:80>
<Directory "access denied: you dont have permissions to edit hosts file.">
Options FollowSymLinks Indexes
AllowOverride All
Order deny,allow
allow from All
</Directory>
ServerName dev-projects
ServerAlias dev-projects
ScriptAlias /cgi-bin/ "access denied: you dont have permissions to edit hosts file./cgi-bin/"
DocumentRoot "access denied: you dont have permissions to edit hosts file."
ErrorLog "C:/Ampps/apache/logs/dev-projects.err"
CustomLog "C:/Ampps/apache/logs/dev-projects.log" combined
</VirtualHost>


The apache server does not start until I fix this file.

Posted By: StuartRoberts40 on April 20, 2018, 2:13 pm | Post: 5
I am getting this problem in Windows 10.
Uac is disabled and I have set full control to my user account for the host file. I have also tried running AMPPS as admin but no luck.

Any ideas?

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.