I am getting an 403 access forbidden when attempting to open a page under a vhost where the document root is sitting on a different drive than where apache is sitting. I installed using the apachefriends release. This is my httpd-vhosts.conf file:NameVirtualHost 127.0.0.1ServerName foo.localhostDocumentRoot 'C:/xampp/htdocs/foo/public'ServerName bar.localhostDocumentRoot 'F:/bar/public'When opening bar.localhost in my browser, Apache is giving me 403 Access Forbidden. I tried setting lots of different access rights, even full rights to everyone, but nothing I tried helped.Edit: Thanks! For future reference, add 'Options indexes' within to show directory indexes.
![](/uploads/1/2/6/5/126575023/916922129.jpg)
![Ssl Setup Apache Windows Forbidden Ssl Setup Apache Windows Forbidden](/uploads/1/2/6/5/126575023/580245293.jpg)
Hello,
Use the Certificate Requests to sign the SSL Certificates using Terminal.app. Using the built-in Apache on macOS Mojave, I first received the 'Forbidden' error. How to setup an SSL Certificate on Apache Dave Sanderlin February 27, 2015 How to setup an SSL Certificate on Apache 2015-03-03T04:10:26+00:00 Resource, Tips, Tutorials Online, it is crucial for your visitors to know that the connection is secure.
I believe this should be some thing very stupid, but I can't find it... so here I am.
I have just installed apache (# pacman -S apache)
Configured httpd.comf, and created 2 virtual hosts with extra/httpd-vhosts.conf
Configured httpd.comf, and created 2 virtual hosts with extra/httpd-vhosts.conf
When I believed every thing was ok, I have started Apache as root (# apachectl start)
Started ok, no errors (also tried start it as user with sudo, and /etc/init.d/httpd start)
Started ok, no errors (also tried start it as user with sudo, and /etc/init.d/httpd start)
So when I go to http://localhos (or the virtual host) I allways get Access forbidden Error 403
I have set 777 permissions to /srv/http and the virtual host (/home/username/local-web/site1.dev)
I have tried every thing , changed dir owners to 'http:http' ...
At the Apache error log I get:
'[Thu Oct 29 02:39:48 2009] [error] [client 127.0.0.1] (13)Permission denied: access to / denied'
There is a very simple plain index.html file at /srv/http and the virtual host, all file/dir permissions very permisive... so that can't be the problem.
I have set 777 permissions to /srv/http and the virtual host (/home/username/local-web/site1.dev)
I have tried every thing , changed dir owners to 'http:http' ...
At the Apache error log I get:
'[Thu Oct 29 02:39:48 2009] [error] [client 127.0.0.1] (13)Permission denied: access to / denied'
There is a very simple plain index.html file at /srv/http and the virtual host, all file/dir permissions very permisive... so that can't be the problem.
Am I missing some thing? Do I need to manually create the 'http' user and/or add it to some group?
Last edited by iopo (2009-10-29 22:06:59)
![](/uploads/1/2/6/5/126575023/916922129.jpg)