Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cgi-scripts = 403 Forbidden

Status
Not open for further replies.

cbarn

Programmer
Nov 7, 2001
3
US
I have Apache 1.3.22 on an NT 4.0 Server SP6. I previously had IIS4 running my website and all the scripts worked fine with it. Now, using Apache I'm having troubles. Here is my Apache config and my problems.

<VirtualHost *>
ServerName ServerAlias server.net
# AddHandler isapi-isa .dll
AddHandler cgi-script .cgi .pl
DocumentRoot &quot;D:/server.net&quot;
CustomLog D:/server.net/logs/access.log common
ErrorLog D:/server.net/logs/error.log
</VirtualHost>

Whenever I try to access anything from the directory D:/server.net/cgi-bin I get a 404 File not found error. Even if I put an html doc in there and try So, I rename the cgi-bin to cgi-bins (I don't change anything in my Apache config) and the error changes to 403 Forbidden. I have all the appropriate NT user rights and IIS web services have been stopped.

This somewhat relates to a problem I'm having accessing a Visual FoxPro isapi.dll - foxisapi.dll which I posted a question on earlier today.

Can someone please help me get this resolved?

Thanks,
Mike
 
Hi everyone,

I'm not sure what I did differently, but I read a bunch more threads, made a couple of changes I thought I had tried already and now everything is working.

Sorry for the bogus post,
Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top