- Code: Select all
<VirtualHost *:80>
ServerName peshawar.dev
ServerAlias www.peshawar.dev
DocumentRoot "/Users/myname/Code/project.co"
<Directory "/Users/myname/Code/project.co/">
AllowOverride all
Require all granted
</Directory>
</VirtualHost>
In the httpd.conf, I rename deamon user and replaced it with my actual username as follows
User myname*
Group myname*
This does not work. I get "Object not found". If I created a symbolic folder within htdocs which points to the folder, then I get access denied error. I am not sure what the issue is. Help would be appreciated.