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>
#


Check your error logs, but you may be missing (or need to change) the 
ServerRoot or DocumentRoot directive ?

Here’s some info
http://httpd.apache.org/docs/2.4/mod/core.html#serverroot

http://stackoverflow.com/questions/5947947/difference-between-serverroot-documentroot-and-directory

http://stackoverflow.com/questions/5891802/how-do-i-change-the-root-directory-of-an-apache-server

Chad






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]<mailto:[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

Reply via email to