The file is there with the correct permissions but yet I'm getting this error
[Tue Jun 13 07:50:34 2017] [error] [client 142.164.103.69:50122] File does not exist: /htdocs/michelle2/htdocs, referer:
http://ipaddress/test.html
FormMail.cgi is located in /htdocs/cgi-bin/
THIS IS test.html PAGE
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>formtest</title>
<style type="text/css">
body {
background-color: #CF9;
}
</style>
</head>
<body>
<form action="/htdocs/cgi-bin/FormMail.cgi" method="post" name="form1" id="form1">
<table width="95%" border="0" align="center" cellpadding="5" cellspacing="0" bordercolor="#000000" class="layout_table">
<tr>
<td colspan="2" class="table_heading_complex">Your Information</td>
</tr>
<tr>
<td width="30%" class="content_body">Your name</td>
<td width="70%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><span class="content_secondary">First *</span><br />
<input name="Your_Name" type="text" id="Your_Name" size="27"/></td>
<td><span class="content_secondary">Last *</span><br />
<input name="Last_Name" type="text" id="Last_Name" size="45"/></td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor="f4f4f4" class="content_body">Your work e-mail address</td>
@
"test.html" 65L, 3429C
THIS IS THE CONF FILE
#
#############################################################################
Include /opt/IBM/WebSphere/HTTPServer/conf/httpd.conf
LoadModule include_module /opt/IBM/WebSphere/HTTPServer/modules/mod_include.so
#############################################################################
#
#Listen IP address and Port Number
#
Listen ipaddress:80
### Document Root########
DocumentRoot "/htdocs/michelle2"
#
<Directory />
Options Indexes FollowSymLinks +ExecCGI +Includes
XBitHack full
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Directory /htdocs/michelle2/>
Options Indexes FollowSymLinks +ExecCGI +Includes
XBitHack full
AllowOverride None
Order allow,deny
Allow from all
</Directory>
######### DirectoryIndex ############################################
#
DirectoryIndex index.html test.html
IndexOptions FancyIndexing VersionSort
#
############ Pid, Error and Access Logs ##################################
PidFile /webspherelogs/sls0622/web/michelle2/httpd.pid
ErrorLog "|/opt/IBM/WebSphere/HTTPServer/bin/rotatelogs /webspherelogs/sls0622/web/michelle2/error_%Y%m%d 86400 -360"
CustomLog "|/opt/IBM/WebSphere/HTTPServer/bin/rotatelogs /webspherelogs/sls0622/web/michelle2/access_%Y%m%d 86400 -360" common env=!dontlog
LogLevel warn
#
#
# The following directives define some format nicknames for use with a CustomLog directive (see below).
#
LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i"%D\%X" combined
LogFormat "%h %l %u %t "%r" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
#
#
################### CGI #############################################
#
ScriptAlias /cgi-bin "/htdocs/cgi-bin"
ScriptAlias /cgi "/htdocs/cgi-bin"
AddHandler cgi-script .cgi .pl
<Directory "/htdocs/cgi-bin/">
Options Indexes FollowSymLinks +ExecCGI +Includes
XBitHack full
AllowOverride None
Order allow,deny
Allow from all
</Directory>
############# To parse .shtml files for server-side includes (SSI):
## (You will also need to add "Includes" to the "Options" directive.)
#
#
AddType text/html .shtml .html .htm
AddOutputFilter INCLUDES .shtml .html .htm