No DocumentRoot in your VirtualHost? <VirtualHost 12.1.1.12:80> DocumentRoot /etc/websrv1/PCHshare DirectoryIndex welcome.html </VirtualHost>
<Directory /etc/websrv1/PCHshare> # Access/Options Here </Directory> Regards, Kevin -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Dazzo, Matt Sent: Tuesday, November 29, 2016 8:56 AM To: [email protected] Subject: Apache Virtual Server Setup I am trying to setup a virtual server on zos 2.2 apache http server. My intent is to have anyone coming in on ip 12.1.1.12:80 to be directed to a welcome page html. But I keep getting the access error below. I have tried many, many different directive variations but no luck. Any examples or assistance is appreciated. Thanks Matt If this is not the correct forum for this please let me know. tks # START Virtual Server 1 statements. <VirtualHost 12.1.1.12:80> # <Directory "/etc/websrv1/PCHshare/"> DirectoryIndex welcome.html <RequireAll> Require all granted </RequireAll> </Directory> </VirtualHost> # Forbidden You don't have permission to access / on this server. IBM_HTTP_Server Server at 27.1.39.74 Port 80 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
