Hello,
I have installed apache2.2 on my windows laptop.
The basics are working fine. I setup my own directory structure under "C:\apachedata" and modified httpd.conf to point under that directory.
Accessing HTML pages works fine. CGI scripts that just generate HTML work fine.
However when I try to get access to CSS and JS files the apache error log keeps showing me the dreaded 403 error message
I have added the following line into httpd.conf Alias /jslib "C:/apachedata/jslib"
Here is the "source code" generated by my CGI script which results in the 403 error emssage
<!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" lang="en-US" xml:lang="en-US"> <head> <title>Encrypted Data Management</title> <link rel="stylesheet" type="text/css" href="/jslib/styles.css" /> <link rel="stylesheet" type="text/css" href="/jslib/fieldset.css" /> <script src="/jslib/check_all_fields.js" type="text/_javascript_"></script> <script src="/jslib/hide_show_divider.js" type="text/_javascript_"></script> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> </head> <body> <h1>Encrypted Data Management</h1><H4>CGI script parameters</H4> <H4>No CGI script parameters are defined</H4><BR> <H3>Sun Sep 6 13:50:40 2015</H3> <OL style="line-height: 35px;"> <LI><A HREF="e2.cgi?function=listall">List Data</LI> <LI><A HREF="e2.cgi?function=query">Query Data</LI> <LI><A HREF="e2.cgi?function=add">Add New Record</LI> <LI><A HREF="e2.cgi?function=meta">List Metadata</LI> </LI> </OL> </body> </html> |