Do you have a section that defines rights for the cgi-bin directory? Here's what it should look like:
<Directory "c:\Apache22\cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
Also, I recommend that in future development you start using script mapped URLs, which are cleaner:
http://127.0.0.1/huntsearch_Mackintosh/SearchForm.fwx
FoxWeb Support Team support@foxweb.com email |
Sent by John Faithfull on 10/31/2006 01:59:30 AM:
Hello,
Sorry to trouble you with this probably simple matter, but I'm having to change webserver from Xitami on Windows 2000 to Apache 2.2.3 on Windows 2000. I'm having trouble getting foxweb to work under Apache cgi.
1. Foxweb programs are in c:\program files\foxweb\programs, in folders called huntsearch and huntsearch_Mackintosh
2. Apache is in c:\Apache22
3. Foxweb.exe is in c:\Apache22\cgi-bin
4. httpd.conf contains these lines:
#
# various stuff
#
ScriptAlias /cgi-bin/ "C:/Apache22/cgi-bin"
#
#more stuff
#
AddHandler foxweb-script .fwx
Action foxweb-script /cgi-bin/FoxWeb.exe
#
#etc
#
5. The web root is c:\huntsearch. This contains any empty folder called huntsearch in an attempt to get the script mapping you suggest in the online help working.
When I try to access a page by the url
http://127.0.0.1/cgi-bin/foxweb.exe/huntsearch_Mackintosh/SearchForm.fwx
I get the error:
403 forbidden
You don't have permission to access /cgi-bin/foxweb.exe/huntsearch_Mackintosh/SearchForm.fwx on this server.
Any guidance very welcome
Thanks in advance...
John Faithfull
Hunterian Museum and Art Gallery